Commit Graph

3753 Commits

Author SHA1 Message Date
Chris Hill-Scott
46a4e1c612 Add a macro for generating current service links
This is a convenient way of being able to link into pages of the the app
from guidance. It handles the case where the current service is not
known, either because the user hasn’t chosen one, or because they’re not
signed in.

This commit also cleans up some unused Jinja imports.
2020-02-19 08:22:45 +00:00
Chris Hill-Scott
3bbd5381c6 Revert "Revert "Restyle template statistics and received text messages"" 2020-02-18 16:16:51 +00:00
Chris Hill-Scott
6bdd776780 Revert "Restyle template statistics and received text messages" 2020-02-18 14:58:33 +00:00
Chris Hill-Scott
a86f0a6efc Merge pull request #3295 from alphagov/restyle-template-stats
Restyle template statistics and received text messages
2020-02-18 14:30:06 +00:00
Pete Herlihy
f9e2e49dad Updating the page title attribute on text message conversations
Changing to "Received text message"
2020-02-18 13:29:18 +00:00
Chris Hill-Scott
98fba0e451 Update app/templates/views/dashboard/_inbox.html
Co-Authored-By: Tom Byers <tombaromba@gmail.com>
2020-02-18 11:07:40 +00:00
karlchillmaid
f4e4de0d03 Fix settings links 2020-02-18 10:35:21 +00:00
Tom Byers
cd262559cc Refactor dashboard banner CSS and fix its text
Switches the CSS to use flexbox for layout and
uses a macro to let the text support single and
multiple messsages.
2020-02-17 16:44:41 +00:00
Chris Hill-Scott
78ac345148 Put day of week on
This helps people understand how delivery dates fit into the week,
because if sending a letter spans the weekend it will take a bit longer.

We can remove `|string` now because `utc_string_to_aware_gmt_datetime`
now accepts datetimes.
2020-02-17 13:01:37 +00:00
Pea M. Tyczynska
c24a60a6a7 Update content following content review
Co-Authored-By: karlchillmaid <karl.chillmaid@digital.cabinet-office.gov.uk>

Also update content for resend email and sms 2FA code page
2020-02-17 11:36:05 +00:00
Pea Tyczynska
caf77341b3 Send 2fa email and move user to waiting page when they need to re-validate email access 2020-02-17 11:34:24 +00:00
Chris Hill-Scott
84df70e520 Use a <caption> for the template statistics table
This is semantically more accurate because it’s describing the whole
table, not just the first column.

Adjusting the font-size to make it sit within the ‘In the last 7 days’
section. Adjusting the spacing because now that we have more borders we
don’t need quite so much whitespace to separate different bits of the
page.
2020-02-17 11:11:53 +00:00
Chris Hill-Scott
42373e3615 Always use smaller font size for totals
This means the font size matches the counts on the usage section, and on
the new received text messages banner.
2020-02-17 10:31:59 +00:00
Chris Hill-Scott
b65b417a08 Restyle inbound text messages
This commit adds a new kind of banner to the dashboard for summarising
things you might need to action.

This way we’ll be able to have multiple instances of this banner on the
same page without it looking too intense.

I never really liked the big blue banner for inbound text messages
because it became the most prominent thing on the page. It was an
interim solution that let us ship the feature until we had something
better.
2020-02-17 10:31:59 +00:00
Chris Hill-Scott
3eb550d297 Remove empty version of show more
We’re not using it now that tables on the dashboard have borders between
the rows.
2020-02-17 09:55:53 +00:00
Chris Hill-Scott
89b88ee4cb Restyle template statistics
This makes the template statistics section of the dashboard look less
like its own weird thing and more like:
- the templates page
- the upcoming changes to the styling of the received text messages
  banner on the dashboard
2020-02-17 09:55:52 +00:00
Katie Smith
0d0b71af63 Update buttons on api key pages to govuk-frontend buttons 2020-02-17 08:05:05 +00:00
Katie Smith
485d25b120 Update start button on signed out homepage 2020-02-17 08:05:05 +00:00
Katie Smith
e53c5e17b3 Update file upload component to use govuk-frontend buttons 2020-02-17 08:05:05 +00:00
Katie Smith
a26e8c55ef Remove unused pages with buttons
We had two templates that contained a link styled as an old style
button but that weren't being used anywhere (one would actually give a
`500` if you tried to visit it). This removes them and the view function
for one of them (the other no longer had a view function).
2020-02-17 08:05:05 +00:00
Katie Smith
dca6d1690f Use govuk-button in page footer component 2020-02-17 08:05:05 +00:00
Katie Smith
ac41a22329 Use new button in banner macro
This means we can delete a class from the banner scss.
2020-02-17 08:05:05 +00:00
Katie Smith
9c9fffcbb1 Add buttons that require extra spacing
These get added using the macro as usual, but with the special spacing
classes added to ensure there's no change to their appearance.
2020-02-17 08:05:05 +00:00
Katie Smith
7ff8b73088 Update buttons that are inline with search box
There were 3 pages where we had a search button inline with a text box.
This replaces the search button with a button from govuk-frontend and
updates the way we style this button to use BEM, which is the style we
now want to use.
2020-02-17 08:05:05 +00:00
Katie Smith
f3bb93f460 Replace straightforward buttons and links styled like buttons
This replaces the buttons that aren't part of a macro and that we don't
need to write additional styles for with their govuk-frontend equivalent.

There were some links that were styled to look like buttons, so these
have also been replaced with the new govuk-frontend macro.

There was one button on the `choose-account.html` template that was in a
section of code that was never reached - this has been deleted.
2020-02-17 08:05:05 +00:00
Tom Byers
1b1591cf20 Use details component on pricing page
Native `<details>` elements will work in most
evergreen browsers but the details component from
GOVUK Frontend adds missing accessibility
information through ARIA.
2020-02-14 14:41:17 +00:00
Tom Byers
51594cdcf7 Merge pull request #3298 from alphagov/update-Using-Notify-pages
Update Using Notify pages, features and guidance
2020-02-14 14:10:03 +00:00
karlchillmaid
2184f4c704 Simplify numbered list of instructions
Simplify numbered list of instructions and change file links
2020-02-14 14:09:32 +00:00
karlchillmaid
390fcc2269 Simplify numbered lists of instructions 2020-02-14 14:04:46 +00:00
karlchillmaid
29c8050bc4 Simplify numbered lists of instructions 2020-02-14 14:02:08 +00:00
karlchillmaid
f3c5d966f7 Simplify numbered lists of instructions 2020-02-14 13:59:54 +00:00
karlchillmaid
936787ed35 Update app/templates/views/trial-mode.html
Co-Authored-By: Tom Byers <tombaromba@gmail.com>
2020-02-14 13:36:36 +00:00
Katie Smith
9c927f950c Merge pull request #3296 from alphagov/add-letter-specification-guidance
Add letter specification guidance
2020-02-13 16:21:45 +00:00
karlchillmaid
29c5412a8d Add filetypes to links 2020-02-13 13:06:54 +00:00
karlchillmaid
868142005d Fix time formatting 2020-02-13 11:48:34 +00:00
karlchillmaid
6d2d60e6f7 Update status descriptions, fix time formatting 2020-02-13 11:47:45 +00:00
karlchillmaid
2364019a5e Update Before you request to go live content 2020-02-13 11:43:53 +00:00
karlchillmaid
04dd047b19 Add anchors to headings 2020-02-13 11:40:23 +00:00
karlchillmaid
57171d356b Add anchor link and remove comma 2020-02-13 11:37:28 +00:00
karlchillmaid
ce553317c6 Remove file types
Remove file types from links while I check the GOV.UK style guide
2020-02-12 15:01:17 +00:00
karlchillmaid
e27b58524f Add anchor to link 2020-02-12 14:24:49 +00:00
karlchillmaid
15aa876f4c Add anchor 2020-02-12 14:23:53 +00:00
karlchillmaid
600cc49345 Add link to guidance 2020-02-12 14:22:25 +00:00
karlchillmaid
8fb9668775 Add letter specification guidance
Add letter specification information to the guidance
2020-02-12 14:13:50 +00:00
karlchillmaid
733af6ec2d Update introduction 2020-02-12 12:34:20 +00:00
karlchillmaid
38fd842d33 Merge pull request #3213 from alphagov/add-guidance-content
Add first iteration of guidance content, including updating navigation menus and footer.
2020-02-12 11:43:07 +00:00
karlchillmaid
98ccce5d90 Make click-throughs content clearer 2020-02-12 11:33:10 +00:00
karlchillmaid
d24d772cfa Reorder introduction content 2020-02-12 11:25:58 +00:00
karlchillmaid
0949fc6480 Update app/templates/views/guidance/edit-and-format-messages.html 2020-02-12 11:17:26 +00:00
karlchillmaid
4d7a41d55d Merge pull request #3289 from alphagov/change-callout-to-inset-text
Change callout to inset text
2020-02-12 11:17:07 +00:00