Commit Graph

9322 Commits

Author SHA1 Message Date
Katie Smith
583a925e89 Add buttons for list entries
As part of updating the stylesheet, moved `.button-secondary` to the
global stylesheet, since this is not related to list entries but instead
affects all buttons with that class (this class wlil be removed once all
the buttons are using the new macro).
2020-02-17 08:05:05 +00:00
Katie Smith
4e42fa6f5d Update buttons for collapsible checkboxes
We use collapsible checkboxes when setting which folders team members
can see (on the manage folder page and on the edit team member page).
2020-02-17 08:05:05 +00:00
Katie Smith
ba8ac41953 Update Javascript tests
This only updates the JavaScript tests where we don't need to make changes to
the actual JavaScript too.
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
Katie Smith
a62658ce8c Add override to govuk-frontend button
The button style we were using had no bottom margin, but the
govuk-frontend button has a bottom margin of 10px. This override removes
the added margin to keep the look of our buttons consistent.
2020-02-17 08:05:05 +00:00
Katie Smith
66967e1d96 Import / require all code for the govuk frontend button 2020-02-17 08:05:05 +00:00
Tom Byers
97d6855ff7 Merge pull request #3301 from alphagov/fix-details-on-pricing-page
Use details component on pricing page
2020-02-14 14:52:42 +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
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
Katie Smith
f425fe75cf Update link in error messages for uploaded letters 2020-02-13 16:14:11 +00:00
karlchillmaid
10e0c39001 Add reference for letter_spec_guidance 2020-02-13 15:53:03 +00:00
karlchillmaid
8a0a9666d7 Update links 2020-02-13 15:50:22 +00:00
karlchillmaid
fadf29c9b0 Fix API validation error summary links 2020-02-13 15:08:40 +00:00
karlchillmaid
90462d7c71 Update link to Letter specification guidance 2020-02-13 14:58:53 +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
Chris Hill-Scott
28314a526a Merge pull request #3294 from alphagov/update-introduction
Update Delivery status page introduction
2020-02-12 13:48:57 +00:00
Chris Hill-Scott
4f32258a7b Merge pull request #3293 from alphagov/cache-returned-letter-summary
Cache returned letter summary in Redis
2020-02-12 13:48:51 +00:00
David McDonald
e78ea10b49 Merge pull request #3292 from alphagov/pyup-scheduled-update-2020-02-10
Scheduled weekly dependency update for week 06
2020-02-12 13:40:54 +00:00
pyup-bot
2597a70d5f Update flask-wtf from 0.14.2 to 0.14.3 2020-02-12 13:33:25 +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
Chris Hill-Scott
af8395956e Cache returned letter summary in Redis
We’re going to start using the returned letters summary to show some
info on the dashboard.

This means we will be accessing it more often than it changes. And we
know exactly when it changes because it’s us manually submitting the
references we get from DVLA.

This makes it a good candidate for being cached, and Redis is where we
cache stuff that we’d otherwise go to the API for.
2020-02-12 11:42:06 +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
Leo Hemsted
b0ee3f22d9 Merge pull request #3283 from alphagov/pyup-scheduled-update-2020-02-03
Scheduled weekly dependency update for week 05
2020-02-11 16:30:04 +00:00
Tom Byers
1d0c2070db Merge pull request #3291 from alphagov/fix-pill-heights
Make pill items match their heights
2020-02-11 14:28:14 +00:00
Chris Hill-Scott
6b703614b9 Merge pull request #3280 from alphagov/swap-nav-order-org-users
Swap order of usage and team members in navigation when organisation users are looking at a service
2020-02-11 11:21:14 +00:00
Chris Hill-Scott
8a4bf1d07e Make test more robust
Now tests:
- that the user doesn’t have the usage menu item when they’re not a
  member of the organisation (i.e. the counterfactual)
- that the user still gets a 403 when they try to view the usage page if
  they’re not a member of the organisation
2020-02-11 11:11:18 +00:00
Tom Byers
4433db346b Center pill content using more flexbox
Turns each pill item (already full height) into a
flex container with its content as a column. Uses
this to align the content (the pill label) to the
middle of the column.
2020-02-07 17:42:53 +00:00
Tom Byers
c8d9625518 Merge pull request #3164 from alphagov/update-static-error-pages
Update static error pages
2020-02-07 12:49:47 +00:00
Tom Byers
76240d5d55 Fix issues from pull request review
Fixes for the following:
- `<p>` tags need `govuk-body` class
  - https://github.com/alphagov/notifications-admin/pull/3164#discussion_r375921631
  - https://github.com/alphagov/notifications-admin/pull/3164#discussion_r375924387
- unused JS file
  - https://github.com/alphagov/notifications-admin/pull/3164#discussion_r375949386
- link to GDS has incorrect href
  - https://github.com/alphagov/notifications-admin/pull/3164#discussion_r375966464
  - https://github.com/alphagov/notifications-admin/pull/3164#discussion_r375966555
2020-02-07 11:21:11 +00:00