{% block h1 %}This page cannot be found{% endblock %}
14 |
15 |
Everything you have done up until now has been saved.
16 |
17 |
The link you clicked on the previous page is broken. This has been reported to the people who manage this service and will be fixed as soon as possible.
18 |
19 |
If you'd like to continue your transaction offline you can contact us on Telephone: 03000 555 995
{% block h1 %}This page cannot be found{% endblock %}
13 |
Everything you have done up until now has been saved.
14 |
The link you clicked on the previous page is broken. This has been reported to the people who manage this service and
15 | will be fixed as soon as possible.
500 pages are used to tell users that we [HMRC] have a problem that was not their fault.
26 |
They cover a range of situations when something has gone wrong with the server.
27 |
500 errors should only be displayed to users for a short time. The standard approach within HMRC is to shutter a service, if there is going to be a disruption to users for an extended period of time.
28 |
500 errors should be logged by services and fixed as a matter of priority.
29 |
There are a number of standard pages that fall into the category of 500 pages. We do not need different error pages to cover all of these situations.
30 |
Why users see 500 pages
31 |
For the purposes of HMRC services there are 3 scenarios when we would need to show users a 500 page:
The standard footer should be used on all services.
24 |
25 |
The report a problem link 'Is there anything wrong with this page?' is intended to be used by users to tell HMRC if
26 | there is something technically wrong with the page. However the design of this component is misleading and attracts
27 | contact from users who have a problem using the service.
41 |
42 |
43 | {% endmacro %}
44 |
--------------------------------------------------------------------------------
/assets-frontend/images/P60-form.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/P60-form.jpg
--------------------------------------------------------------------------------
/assets-frontend/images/apple-touch-icon-114x114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/apple-touch-icon-114x114.png
--------------------------------------------------------------------------------
/assets-frontend/images/apple-touch-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/apple-touch-icon-144x144.png
--------------------------------------------------------------------------------
/assets-frontend/images/apple-touch-icon-57x57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/apple-touch-icon-57x57.png
--------------------------------------------------------------------------------
/assets-frontend/images/apple-touch-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/apple-touch-icon-72x72.png
--------------------------------------------------------------------------------
/assets-frontend/images/bank-account-last-4-digits.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/bank-account-last-4-digits.png
--------------------------------------------------------------------------------
/assets-frontend/images/bullet-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/bullet-icon.png
--------------------------------------------------------------------------------
/assets-frontend/images/bullet-icon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets-frontend/images/calendar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/calendar.png
--------------------------------------------------------------------------------
/assets-frontend/images/calendar.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets-frontend/images/clear_all_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/clear_all_button.png
--------------------------------------------------------------------------------
/assets-frontend/images/clear_all_button_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/clear_all_button_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/ct-payslip_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/ct-payslip_2.png
--------------------------------------------------------------------------------
/assets-frontend/images/direct-debit-logo-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/direct-debit-logo-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/direct-debit-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/direct-debit-logo.png
--------------------------------------------------------------------------------
/assets-frontend/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/favicon.ico
--------------------------------------------------------------------------------
/assets-frontend/images/gov.uk_logotype_crown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/gov.uk_logotype_crown.png
--------------------------------------------------------------------------------
/assets-frontend/images/gov.uk_logotype_crown_invert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/gov.uk_logotype_crown_invert.png
--------------------------------------------------------------------------------
/assets-frontend/images/gov.uk_logotype_crown_invert_trans.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/gov.uk_logotype_crown_invert_trans.png
--------------------------------------------------------------------------------
/assets-frontend/images/govuk-crest-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/govuk-crest-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/govuk-crest-ie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/govuk-crest-ie.png
--------------------------------------------------------------------------------
/assets-frontend/images/govuk-crest.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/govuk-crest.png
--------------------------------------------------------------------------------
/assets-frontend/images/govuk-verify-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/govuk-verify-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/govuk-verify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/govuk-verify.png
--------------------------------------------------------------------------------
/assets-frontend/images/icon-search-dark-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icon-search-dark-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icon-search-dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icon-search-dark.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/accordian-arrow-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/accordian-arrow-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/accordian-arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/accordian-arrow.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/arrow-sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/arrow-sprite.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/bis_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/bis_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/bis_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/bis_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/bis_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/bis_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/bis_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/bis_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/bis_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/bis_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/bis_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/bis_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/coastguard_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/coastguard_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/coastguard_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/coastguard_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/coastguard_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/coastguard_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/coastguard_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/coastguard_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/coastguard_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/coastguard_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/coastguard_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/coastguard_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/hmrc_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/hmrc_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/hmrc_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/hmrc_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/hmrc_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/hmrc_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/hmrc_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/hmrc_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/hmrc_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/hmrc_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/hmrc_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/hmrc_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ho_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ho_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ho_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ho_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ho_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ho_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ho_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ho_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ho_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ho_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ho_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ho_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/mod_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/mod_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/mod_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/mod_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/mod_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/mod_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/mod_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/mod_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/mod_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/mod_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/mod_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/mod_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/org_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/org_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/org_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/org_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/org_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/org_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/org_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/org_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/org_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/org_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/org_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/org_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/portcullis_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/portcullis_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/portcullis_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/portcullis_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/portcullis_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/portcullis_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/portcullis_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/portcullis_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/portcullis_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/portcullis_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/portcullis_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/portcullis_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/so_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/so_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/so_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/so_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/so_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/so_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/so_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/so_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/so_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/so_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/so_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/so_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukaea_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukaea_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukaea_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukaea_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukaea_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukaea_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukaea_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukaea_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukaea_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukaea_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukaea_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukaea_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukho_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukho_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukho_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukho_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukho_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukho_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukho_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukho_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukho_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukho_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/ukho_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/ukho_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/wales_crest_13px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/wales_crest_13px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/wales_crest_13px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/wales_crest_13px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/wales_crest_18px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/wales_crest_18px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/wales_crest_18px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/wales_crest_18px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/wales_crest_27px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/wales_crest_27px.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/crests/wales_crest_27px_x2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/crests/wales_crest_27px_x2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/external-links/external-link-24x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/external-links/external-link-24x24.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/external-links/external-link-black-12x12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/external-links/external-link-black-12x12.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/external-links/external-link-black-24x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/external-links/external-link-black-24x24.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/external-links/external-link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/external-links/external-link.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-calendar-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-calendar-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-calendar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-calendar.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-file-download-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-file-download-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-file-download.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-file-download.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-important-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-important-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-important.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-important.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-information-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-information-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-information.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-information.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-locator-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-locator-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-locator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-locator.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-pointer-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-pointer-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-pointer-black-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-pointer-black-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-pointer-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-pointer-black.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-pointer-indexed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-pointer-indexed.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-pointer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-pointer.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-search-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-search-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-search.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-1-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-1-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-1.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-10-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-10-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-10.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-11-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-11-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-11.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-12-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-12-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-12.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-13-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-13-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-13.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-14-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-14-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-14.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-2-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-2-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-2.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-3-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-3-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-3.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-4-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-4-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-4.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-5-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-5-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-5.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-6-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-6-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-6.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-7-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-7-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-7.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-8-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-8-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-8.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-9-2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-9-2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/icon-steps/icon-step-9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/icon-steps/icon-step-9.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/player-icon-forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/player-icon-forward.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/player-icon-pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/player-icon-pause.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/player-icon-play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/player-icon-play.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/player-icon-rewind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/player-icon-rewind.png
--------------------------------------------------------------------------------
/assets-frontend/images/icons/player-icon-volume.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/icons/player-icon-volume.png
--------------------------------------------------------------------------------
/assets-frontend/images/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/loading.gif
--------------------------------------------------------------------------------
/assets-frontend/images/marriage_allowance_rings.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/marriage_allowance_rings.jpg
--------------------------------------------------------------------------------
/assets-frontend/images/open-government-licence_2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/open-government-licence_2x.png
--------------------------------------------------------------------------------
/assets-frontend/images/opengraph-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/opengraph-image.png
--------------------------------------------------------------------------------
/assets-frontend/images/p60-form-rti-p60-payment-for-year.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/p60-form-rti-p60-payment-for-year.jpg
--------------------------------------------------------------------------------
/assets-frontend/images/p60-form-rti-p60-total-tax-ytd.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/p60-form-rti-p60-total-tax-ytd.jpg
--------------------------------------------------------------------------------
/assets-frontend/images/rti-payslip.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/rti-payslip.jpg
--------------------------------------------------------------------------------
/assets-frontend/images/sort_asc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/sort_asc.png
--------------------------------------------------------------------------------
/assets-frontend/images/sort_asc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/sort_asc_disabled.png
--------------------------------------------------------------------------------
/assets-frontend/images/sort_both.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/sort_both.png
--------------------------------------------------------------------------------
/assets-frontend/images/sort_desc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/sort_desc.png
--------------------------------------------------------------------------------
/assets-frontend/images/sort_desc_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/sort_desc_disabled.png
--------------------------------------------------------------------------------
/assets-frontend/images/statements-flag3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/statements-flag3.png
--------------------------------------------------------------------------------
/assets-frontend/images/valid-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/valid-icon.png
--------------------------------------------------------------------------------
/assets-frontend/images/valid-icon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets-frontend/images/worldpaylogo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/worldpaylogo.jpg
--------------------------------------------------------------------------------
/assets-frontend/images/worldpaylogo_sm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/assets-frontend/images/worldpaylogo_sm.png
--------------------------------------------------------------------------------
/create-release.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -e
3 |
4 | REPO_PATH='alphagov/govuk_prototype_kit'
5 |
6 | echo "Add config for alphagov/$REPO_PATH"
7 |
8 | git config --global user.name "Travis CI"
9 | git config --global user.email "travis@travis-ci.org"
10 | git remote add origin_ssh git@github.com:$REPO_PATH.git
11 |
12 | # This openssl command was generated automatically by `travis encrypt-file`, see `.travis/README.md` for more details
13 | openssl aes-256-cbc -K $encrypted_a0ab9bc5246b_key -iv $encrypted_a0ab9bc5246b_iv -in .travis/govuk_prototype_kit.enc -out ~/.ssh/id_rsa -d
14 | chmod 600 ~/.ssh/id_rsa
15 |
16 | echo "Check to see if the version file has been updated"
17 |
18 | # Get the version from the version file
19 | VERSION_TAG="v`cat VERSION.txt`"
20 |
21 | # Create a new tag - if the version file has been updated and a tag for that
22 | # version doesn't already exist
23 |
24 | # Check to make sure the tag doesn't already exist
25 | if ! git rev-parse $VERSION_TAG >/dev/null 2>&1; then
26 | echo "Creating new tag: $VERSION_TAG"
27 |
28 | # Create a new tag and push to Github
29 | git tag $VERSION_TAG
30 | git push origin_ssh $VERSION_TAG
31 |
32 | # This tag will trigger the builds for the deploy providers marked "# For tagged commits" in .travis.yml
33 |
34 | # Alias branch for the most recently released tag, for easier diffing
35 | # Force push local `master` branch to the `latest-release` branch on Github
36 | git push --force origin_ssh master:latest-release
37 | echo "Pushed latest-release branch to GitHub"
38 |
39 | else
40 | echo "Not creating a new tag, or updating the latest-release branch as the tag already exists..."
41 | fi
42 |
--------------------------------------------------------------------------------
/docs/README.md:
--------------------------------------------------------------------------------
1 | # Documentation
2 |
3 | [Documentation and examples](https://govuk-prototype-kit.herokuapp.com/docs)
4 |
5 | Documentation is also available when running the app locally at http:localhost:3000/docs
6 |
7 |
--------------------------------------------------------------------------------
/docs/assets/images/docs/installing-mavericks-popup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/docs/assets/images/docs/installing-mavericks-popup.png
--------------------------------------------------------------------------------
/docs/assets/images/docs/mac-home-folder-projects.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/docs/assets/images/docs/mac-home-folder-projects.png
--------------------------------------------------------------------------------
/docs/assets/images/docs/prototype-kit-homepage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hmrc/design-patterns/4d9538843c1ff79b232d3e2fd651265c96a82daa/docs/assets/images/docs/prototype-kit-homepage.png
--------------------------------------------------------------------------------
/docs/assets/javascripts/docs.js:
--------------------------------------------------------------------------------
1 | /* global $ */
2 | /* global GOVUK */
3 |
4 | // Warn about using the kit in production
5 | if (
6 | window.sessionStorage && window.sessionStorage.getItem('prototypeWarning') !== 'false' &&
7 | window.console && window.console.info
8 | ) {
9 | window.console.info('GOV.UK Prototype Kit - do not use for production')
10 | window.sessionStorage.setItem('prototypeWarning', true)
11 | }
12 |
13 | $(document).ready(function () {
14 | // Use GOV.UK shim-links-with-button-role.js to trigger a link styled to look like a button,
15 | // with role="button" when the space key is pressed.
16 | GOVUK.shimLinksWithButtonRole.init()
17 |
18 | // Show and hide toggled content
19 | // Where .multiple-choice uses the data-target attribute
20 | // to toggle hidden content
21 | var showHideContent = new GOVUK.ShowHideContent()
22 | showHideContent.init()
23 | })
24 |
--------------------------------------------------------------------------------
/docs/assets/sass/docs-ie8.scss:
--------------------------------------------------------------------------------
1 | $is-ie: true;
2 | $ie-version: 8;
3 |
4 | @import "docs";
5 |
--------------------------------------------------------------------------------
/docs/assets/sass/docs.scss:
--------------------------------------------------------------------------------
1 | @import "govuk-elements";
2 |
3 | .markdown {
4 | h1 {
5 | @extend .heading-xlarge;
6 | }
7 |
8 | h2 {
9 | @extend .heading-large;
10 | }
11 |
12 | h3 {
13 | @extend .heading-medium;
14 | }
15 |
16 | h4 {
17 | @extend .heading-small;
18 | }
19 |
20 | code {
21 | background: $grey-4;
22 | padding: 3px;
23 | font-size: 1em;
24 | }
25 |
26 | pre > code {
27 | @extend .code;
28 | display: block;
29 | @extend .panel;
30 | @extend .panel-border-wide;
31 | margin-bottom: 15px;
32 | }
33 |
34 | img {
35 | max-width: 100%;
36 | }
37 |
38 | ul {
39 | @extend .list;
40 | @extend .list-bullet;
41 | }
42 |
43 | blockquote {
44 | @extend .panel;
45 | @extend .panel-border-wide;
46 | }
47 |
48 | strong {
49 | font-weight: 700;
50 | }
51 | }
52 |
53 |
--------------------------------------------------------------------------------
/docs/documentation/creating-routes.md:
--------------------------------------------------------------------------------
1 | # Creating routes
2 |
3 | You may want to make prototypes that are more complex than simple HTML files. For example, you may want to respond to input from a form, and show different pages based on answers given by the user.
4 |
5 | To do this you will need to create 'routes' - rules for the server to respond to certain URLs.
6 |
7 | For example, with a route of `/sample` the URL is:
8 |
9 | http://localhost:3000/sample
10 |
11 | All routes for the application are kept in the `routes.js` file. They follow this format:
12 |
13 | verb(route, callback(request, response) {
14 | response.render(template, data);
15 | });
16 |
17 | Let's break this down into bits:
18 |
19 | * **verb** : the type of request ('get' or 'post')
20 | * **route** : the route section of the URL as explained above
21 | * **callback** : a function that contains the code executed when that route is requested
22 | * **request** : the 1st parameter sent to the callback, an object representing the HTTP request made
23 | * **response** : the 2nd parameter sent to the callback, an object representing the HTTP response that will be sent
24 | * **response.render** : method of the response object used to create a page to send back to the browser that made the request
25 | * **template** : the 1st parameter sent to response.render, the name of the template file used to render the page, minus its `.html` extension
26 | * **data** : [optional] the 2nd parameter sent to response.render, an object containing variables to send into the template
27 |
28 | So as an example, a request for the URL `http://localhost:3000/examples/template-data` has this route:
29 |
30 | router.get('/examples/template-data', function(req, res) {
31 | res.render('examples/template-data', { 'name' : 'Foo' });
32 | });
33 |
34 | We are saying that for a `get` request for the `/template-data` route we should run the code:
35 |
36 | res.render('examples/template-data', { 'name' : 'Foo' });
37 |
38 | This is the `render` method of the `res` parameter being run with two parameters:
39 |
40 | - the template called `template-data`
41 | - the data object `{ 'name' : 'Foo' }`
42 |
43 | Template files are found this way: `/views/` + `template` parameter + `.html`. The `sample` template therefore points to the `/views/examples/template-data.html` file.
44 |
45 | In the same way, the template `/examples/hello_world` would point to the `/examples/hello_world.html` file.
46 |
47 | [Read the Express documentation for routes](http://expressjs.com/4x/api.html#app.VERB)
--------------------------------------------------------------------------------
/docs/documentation/install/developer-install-instructions.md:
--------------------------------------------------------------------------------
1 | # Instructions for developers
2 |
3 | It's built on the [Express](http://expressjs.com/) framework, and uses these GOV.UK resources:
4 |
5 | - [GOV.UK template](https://github.com/alphagov/govuk_template)
6 | - [GOV.UK front end toolkit](https://github.com/alphagov/govuk_frontend_toolkit)
7 | - [GOV.UK elements](https://github.com/alphagov/govuk_elements)
8 |
9 | ## Requirements
10 |
11 | node.js - version 6.x.x
12 |
13 | ## Install dependencies
14 |
15 | ```
16 | npm install
17 | ```
18 |
19 | ## Run the kit
20 | ```
21 | npm start
22 | ```
23 |
24 | Go to [localhost:3000](http://localhost:3000) in your browser.
25 |
--------------------------------------------------------------------------------
/docs/documentation/install/install-the-kit.md:
--------------------------------------------------------------------------------
1 | # Install the kit
2 |
3 | ## Download the kit as a zip
4 |
5 | The simplest way to get the kit is to [download it as a zip](/prototype-admin/download-latest). You'll use a new copy of the kit for each new prototype you make. That way your prototypes don’t interfere with each other.
6 |
7 | ### Decide where you want to keep your prototypes
8 |
9 | We recommend keeping all your prototypes in one folder called `projects`.
10 |
11 | #### Mac users
12 |
13 | Create a folder called `projects` in your home folder. You can open your home folder by opening a new finder window, and selecting `go > home` from the top menu.
14 |
15 | 
16 |
17 | #### Windows users
18 |
19 | Create a folder called `projects` in your `Documents` or `My Documents` folder.
20 |
21 | ### Unzip the kit
22 |
23 | Unzip the kit you downloaded - you should end up with a folder called `govuk_prototype_kit-3.0.0`
24 |
25 | ### Rename the kit
26 |
27 | Rename the folder to something descriptive for your prototype. For this guide, we’ll use `juggling-licence-prototype`.
28 |
29 | ### Move the kit in to projects folder
30 |
31 | Move the kit in to your newly created `projects` folder.
32 |
33 | ## Terminal basics
34 |
35 | The terminal (terminal on mac and linux, git bash on windows) lets you type in commands and run programs on your computer. You can also use it to browse your file system - to open folders, etc.
36 |
37 | Learning a few basic terminal commands can make using the kit much easier.
38 |
39 | * [Tutorial on using terminal (mac)](http://mac.appstorm.net/how-to/utilities-how-to/how-to-use-terminal-the-basics/)
40 | * [Tutorial on using git bash (windows)](https://openhatch.org/missions/windows-setup/open-git-bash-prompt)
41 |
42 | ### Navigating to your prototype
43 |
44 | You need to be able to navigate to your prototype from the terminal. Most commands for the kit need to be run from the prototype folder.
45 |
46 | #### Mac users:
47 | ```
48 | cd ~/projects/juggling-licence-prototype
49 | ```
50 |
51 | #### Windows users:
52 |
53 | Navigating will depend on whether you have a `Documents` or a `My Documents` folder.
54 |
55 | Documents:
56 | ```
57 | cd ~/Documents/projects/juggling-licence-prototype
58 | ```
59 | My Documents:
60 | ```
61 | cd ~/My\ Documents/projects/juggling-licence-prototype
62 | ```
63 |
64 | #### Returning to this folder
65 |
66 | It’s important that you be able to navigate to your prototype in the terminal - most commands will need to be run from the prototype folder.
67 |
68 | To check you’re in the right folder, you can run `ls` (list items):
69 | ```
70 | ls
71 | ```
72 | You should see a list of files inside the prototype, starting with `CHANGELOG.md, CONTRIBUTING.md, gulpfile.js etc`
73 |
74 | > If you don’t see these files, check that you installed the kit into the right location and named it correctly.
75 |
76 | ## Install the kit
77 |
78 | ### Open a terminal window
79 |
80 | If you don’t already have one open, open a terminal window and navigate to your prototype folder.
81 |
82 | ### Install modules
83 |
84 | You need to download extra code used by the kit before it can run. You can get this by running:
85 | ```
86 | npm install
87 | ```
88 | The install may take up to a minute. Whilst installing it may `WARN` about some items - this is ok. As long as there are no `ERROR`s you can continue.
89 |
90 |
91 | Next (run the kit)
92 |
--------------------------------------------------------------------------------
/docs/documentation/install/introduction.md:
--------------------------------------------------------------------------------
1 | # Installation guide for new users
2 |
3 | This guide will walk you through installing and getting started with the kit. You don’t need any technical knowledge to follow along. If you get stuck, post a message on Slack, or if you have a developer on your team, they should be able to help.
4 |
5 | Installation takes up to 30 minutes depending on how much you need to install.
6 |
7 | If you’re comfortable using git and the terminal, you may prefer the [developer friendly instructions](developer-install-instructions).
8 |
9 | > This guide is a work in progress. Please help [contribute](https://github.com/alphagov/govuk_prototype_kit/blob/master/CONTRIBUTING.md) to make it even better.
10 |
11 | ## Introduction
12 |
13 | The prototype kit provides a simple way to make interactive prototypes that look and feel like pages on GOV.UK. These prototypes can be used to design and lay out pages, and to use in user research.
14 |
15 |
16 |
17 | You’ll use a copy of the kit for each different prototype you want to make - they’re self contained. Once installed, the kit uses about 100mb.
18 |
19 | Next (requirements)
20 |
--------------------------------------------------------------------------------
/docs/documentation/install/run-the-kit.md:
--------------------------------------------------------------------------------
1 | # Run the kit
2 |
3 | You’ll use the terminal to start and stop the kit.
4 |
5 | ## Open the prototype folder in terminal
6 |
7 | In terminal, navigate to your prototype folder.
8 |
9 | ## Running the kit
10 |
11 | In terminal:
12 | ```
13 | npm start
14 | ```
15 |
16 | After the kit has started, you should see a message telling you that the kit is running:
17 | ```
18 | Listening on port 3000 url: http://localhost:3000
19 | ```
20 |
21 | ## Check it works
22 |
23 | In your web browser, visit http://localhost:3000 (opens in a new tab)
24 |
25 | You should see the prototype welcome page.
26 |
27 | 
28 |
29 | ## Quitting the kit
30 |
31 | It’s fine to leave the kit running for days or while your computer is asleep.
32 |
33 | ### To quit the kit
34 |
35 | In terminal press the `ctrl` and `c` keys together.
36 |
37 | ## Installation complete
38 |
39 | The kit is now installed. Congratulations!
40 |
41 |
42 |
--------------------------------------------------------------------------------
/docs/documentation/making-pages.md:
--------------------------------------------------------------------------------
1 | # Making pages
2 |
3 | Save all HTML pages (called templates below) to the `app/views` folder otherwise they won't be recognised by the application.
4 |
5 | All template files should have the `.html` extension.
6 |
7 | Any template will be automatically served. For example if you add a template called `help.html` and then go to `localhost:3000/help` in your browser, you will see that page.
8 |
9 | Folders also work, so you can make the template `views/account/profile.html`, and then view the page by going to `localhost:3000/account/profile`.
10 |
11 | For more complex prototypes, you will need to use Nunjucks.
12 |
13 | ## Nunjucks
14 |
15 | All templates used in your app should be written in [Nunjucks](https://mozilla.github.io/nunjucks/templating.html) syntax.
16 |
17 | For example, the following route could be added to `routes.js`:
18 |
19 | router.get('/hello-world', function (req, res) {
20 | res.render('hello_world', {'message' : 'Hello world'});
21 | });
22 |
23 | Our `views/hello_world.html` file would be:
24 |
25 |
26 | Hello world page
27 |
28 |
{{ message }}.
29 |
30 |
31 |
32 | The resulting HTML page will be:
33 |
34 |
35 | Hello world page
36 |
37 |
Hello world.
38 |
39 |
40 |
41 | You can read more in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/templating.html).
42 |
--------------------------------------------------------------------------------
/docs/documentation/principles.md:
--------------------------------------------------------------------------------
1 | # Principles
2 |
3 | The prototype kit:
4 |
5 | - is designed for prototyping, not for production code
6 | - requires minimal skills to get started: HTML, CSS
7 | - should be fully documented in a way that is accessible to the target audience
8 | - makes use of existing GOV.UK tools and templates; the [GOV.UK template](https://github.com/alphagov/govuk_template), [GOV.UK front end toolkit](https://github.com/alphagov/govuk_frontend_toolkit) and [GOV.UK elements](https://github.com/alphagov/govuk_elements)
9 | - allows for server-side code
10 | - can be extended - for example using NPM to install a module, access datastores, etc
11 | - makes it easy to share prototypes with others online
12 |
--------------------------------------------------------------------------------
/docs/documentation/publishing-on-heroku.md:
--------------------------------------------------------------------------------
1 | # Publishing on the web (Heroku)
2 |
3 | We recommend using [Heroku](http://www.heroku.com) to get your prototype online. It’s simple and fast to deploy new versions as you work.
4 |
5 | Once your prototype is on Heroku, other people will be able to access and try your prototype from their own computers or mobile devices.
6 |
7 | > **DO NOT** enter real user data in to prototypes hosted on Heroku. If your prototype stores or collects user data, talk to a security professional about appropriate security steps you must take.
8 |
9 | A prototype deployed on Heroku is called an `app` - it will have a url like:
10 | `your-prototype.herokuapp.com`.
11 |
12 | You can have multiple apps running on Heroku - projects often have several so they can try different ideas out at once.
13 |
14 | ## 1) Set up Git
15 | You need to [set up Git](setting-up-git) on your prototype before you can use Heroku.
16 |
17 | ## 2) Sign up to Heroku
18 |
19 | If you’re new to Heroku, [sign up for a free account](https://signup.heroku.com/). When asked what language you use, select `node.js`.
20 |
21 | ## 3) Install the Heroku toolbelt
22 |
23 | Install the [Heroku toolbelt](https://toolbelt.heroku.com/).
24 |
25 | > On Windows, after downloading the toolbelt you'll need to run `heroku login` using the `cmd` app, as it does not work in Git Bash. Once you've logged in, you can return to using Git Bash.
26 |
27 | The toolbelt lets you use Heroku through the terminal. You will need to restart the terminal after installing the toolbelt.
28 |
29 | ## 4) Choose a name for your app
30 | Think of a name for your app. You need to choose a name that's unique. The name is used in the url for your prototype. For example the name:
31 |
32 | `govuk-payments-prototype`
33 |
34 | will create an app at:
35 |
36 | `govuk-payments-prototype.herokuapp.com`.
37 |
38 | ## 5) Create a Heroku app
39 |
40 | In the terminal, go to the folder of your prototype and run:
41 |
42 | ```
43 | heroku apps:create [name of your app] --region eu
44 | ```
45 | Replace `[name of your app]` with your app name from step 4.
46 |
47 | ## 6) Set a username and password
48 |
49 | Prototypes made with the kit require a username and password when published online. This stops members of the public coming across your prototype by accident.
50 |
51 | ### To set username and password:
52 |
53 | ```
54 | heroku config:set USERNAME=username_here
55 | heroku config:set PASSWORD=password_here
56 | ```
57 |
58 | ## 7) Deploy your work
59 |
60 | Make sure any changes you've made to your prototype have been committed to git.
61 |
62 | From your prototype folder:
63 | ```
64 | git push heroku master
65 | ```
66 | This will push your work to Heroku. Deploying may take a minute or so.
67 |
68 | ## 8) View your prototype on the web
69 |
70 | After your work is deployed, you will be able to view it on the web by visiting `[name].herokuapp.com`.
71 | You can run `heroku open` to open your prototype in a browser.
72 |
73 | > Heroku puts apps to sleep that haven’t been accessed in a while - so if you’ve not visited your prototype for a while it may take a few seconds to open.
74 |
--------------------------------------------------------------------------------
/docs/documentation/session.md:
--------------------------------------------------------------------------------
1 | # Storing data in session
2 |
3 | **Advanced topic**
4 |
5 | If you need to store data for each user, the best way to do it is using session data.
6 |
7 | This means that if more than one person is using your prototype, their data will not get mixed up.
8 |
9 | The easiest way to clear session data is to use 'Incognito mode' for each user, and close that window when you're done.
10 |
11 | ## How to use
12 |
13 | In a route function, refer to `req.session`.
14 |
15 | For example you might have `req.session.over18` or `req.session.firstName`.
16 |
17 | You can see a full example here:
18 |
19 | [https://github.com/expressjs/session#example](https://github.com/expressjs/session#example)
20 |
21 | You can read more about Express Session here:
22 |
23 | [https://github.com/expressjs/session](https://github.com/expressjs/session)
--------------------------------------------------------------------------------
/docs/documentation/tips-and-tricks.md:
--------------------------------------------------------------------------------
1 | # Tips and tricks
2 |
3 | A few useful things to help you get started.
4 |
5 | ## Update the Service name
6 |
7 | You can change the service name by editing the file '/app/config.js'.
8 |
9 | module.exports = {
10 |
11 | // Service name used in header. Eg: 'Renew your passport'
12 | serviceName: "Service name goes here",
13 |
14 | };
15 |
16 | ## Show navigation in the header
17 |
18 | Remove the comments surrounding the unordered list with an ID of proposition links.
19 |
20 |
29 |
30 | An example of this can be seen in the [question-page.html](../app/views/examples/question-page.html) template.
31 |
32 | ## Add a phase banner
33 |
34 | Include either the alpha or beta phase banner from the `app/views/includes/` folder.
35 |
36 | ### How to include an Alpha banner
37 |
38 | {% include "includes/phase_banner_alpha.html" %}
39 |
40 | ### How to include a Beta banner
41 |
42 | {% include "patterns/header/includes/phase_banner_beta.html" %}
43 |
44 |
45 |
--------------------------------------------------------------------------------
/docs/documentation/using-verify.md:
--------------------------------------------------------------------------------
1 | ## Using GOV.UK Verify
2 |
3 | [GOV.UK Verify](https://www.gov.uk/government/publications/introducing-govuk-verify/introducing-govuk-verify) is the new way for users to prove who they are whilst using an online service. You can [find out more about using it here](https://www.gov.uk/service-manual/identity-assurance).
4 |
5 | If you'd like to test the use of Verify in your prototype, there is a GOV.UK Verify stable prototype you can use.
6 |
7 | To use it, you'll need to contact govukverify_engagement@digital.cabinet-office.gov.uk and request access.
8 |
--------------------------------------------------------------------------------
/docs/documentation/writing-css.md:
--------------------------------------------------------------------------------
1 | # Writing CSS
2 |
3 | CSS used in the prototype kit is written in the SCSS syntax of [Sass](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax).
4 |
5 | ## Sass
6 |
7 | Sass is an extension of CSS that gives a load of extra features useful in producing CSS for the mass of different devices and browsers.
8 |
9 | SCSS was chosen because you can paste CSS into it without breaking it which is useful for prototyping. Using SCSS means you can also use the [govuk_frontend_toolkit](https://github.com/alphagov/govuk_frontend_toolkit) Sass libraries which include styles for colours, typography, cross-browser fixes and other things which are used across GOV.UK.
10 |
11 | ## Writing code
12 |
13 | You write your Sass in [app/assets/sass](../app/assets/sass) and the prototype kit will compile it into the CSS used in your page (found in /public/stylesheets). The app watches your files so this will happen automatically.
14 |
15 | There is already a CSS file included to use called [application.scss](../app/assets/sass/application.scss) which compiles into [application.css](../public/stylesheets/application.css). Note that Sass files are identified by the `.scss` extension.
16 |
17 | Every time a change happens in [application.scss](../app/assets/sass/application.scss) it will produce a new version of [application.css](../public/stylesheets/application.css). Make sure to write your css in [application.scss](../app/assets/sass/application.scss) as anything you put in [application.css](../public/stylesheets/application.css) will get overridden.
18 |
19 | Try starting the app and adding some styles to `application.scss`. If you open `application.css` you should now see the compiled version of those styles.
20 |
21 | ## Using the govuk_frontend_toolkit
22 |
23 | You can use the Sass libraries in the [govuk_frontend_toolkit](https://github.com/alphagov/govuk_frontend_toolkit) by importing the files from there directly into `application.scss`.
24 |
25 | If you look at [application.scss](../app/assets/sass/application.scss) you should see some are already being used.
26 |
27 | @import '_typography';
28 |
29 | ....
30 |
31 | h1 {
32 | @include bold-48;
33 |
34 | The line `@import '_typography';` makes all the code in [_typography.scss](https://github.com/alphagov/govuk_frontend_toolkit/blob/master/stylesheets/_typography.scss) available. The `h1` can therefore be styled in the 48pt bold form of the font by using `@include bold-48;` to call the `bold-48` mixin.
35 |
36 | ## Imports
37 |
38 | Imports are done from either the toolkit's [stylesheets](https://github.com/alphagov/govuk_frontend_toolkit/tree/master/stylesheets/) folder or the [app/assets/sass](../app/assets/sass) folder application.scss sits in. The latter means you can create your own partial files to import.
39 |
40 | Note that the convention is to start the name of any partial with an underscore, like those in the toolkit.
41 |
--------------------------------------------------------------------------------
/docs/documentation_routes.js:
--------------------------------------------------------------------------------
1 | var express = require('express')
2 | var fs = require('fs')
3 | var marked = require('marked')
4 | var path = require('path')
5 | var router = express.Router()
6 | var utils = require('../lib/utils.js')
7 |
8 | // Page routes
9 |
10 | // Docs index
11 | router.get('/', function (req, res) {
12 | res.render('index')
13 | })
14 |
15 | router.get('/install', function (req, res) {
16 | var url = utils.getLatestRelease()
17 | res.render('install', { 'releaseURL': url })
18 | })
19 |
20 | // Pages in install folder are markdown
21 | router.get('/install/:page', function (req, res) {
22 | // If the link already has .md on the end (for GitHub docs)
23 | // remove this when we render the page
24 | if (req.params.page.slice(-3).toLowerCase() === '.md') {
25 | req.params.page = req.params.page.slice(0, -3)
26 | }
27 | redirectMarkdown(req.params.page, res)
28 | var doc = fs.readFileSync(path.join(__dirname, '/documentation/install/', req.params.page + '.md'), 'utf8')
29 | var html = marked(doc)
30 | res.render('install_template', {'document': html})
31 | })
32 |
33 | // Examples - exampes post here
34 | router.post('/tutorials-and-examples', function (req, res) {
35 | res.redirect('tutorials-and-examples')
36 | })
37 |
38 | // Example routes
39 |
40 | // Passing data into a page
41 |
42 | router.get('/examples/template-data', function (req, res) {
43 | res.render('examples/template-data', { 'name': 'Foo' })
44 | })
45 |
46 | // Branching
47 |
48 | router.get('/examples/over-18', function (req, res) {
49 | // get the answer from the query string (eg. ?over18=false)
50 | var over18 = req.query.over18
51 |
52 | if (over18 === 'false') {
53 | // redirect to the relevant page
54 | res.redirect('/docs/examples/under-18')
55 | } else {
56 | // if over18 is any other value (or is missing) render the page requested
57 | res.render('examples/over-18')
58 | }
59 | })
60 |
61 | module.exports = router
62 |
63 | // Strip off markdown extensions if present and redirect
64 | var redirectMarkdown = function (requestedPage, res) {
65 | if (requestedPage.slice(-3).toLowerCase() === '.md') {
66 | res.redirect(requestedPage.slice(0, -3))
67 | }
68 | if (requestedPage.slice(-9).toLowerCase() === '.markdown') {
69 | res.redirect(requestedPage.slice(0, -9))
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/docs/linting.md:
--------------------------------------------------------------------------------
1 | # Linting
2 |
3 | The prototype kit uses [standardjs](http://standardjs.com/), an opinionated JavaScript linter. All JavaScript files follow its conventions, and it runs on CI to ensure that new pull requests are in line with them.
4 |
5 | ## Running standard manually
6 |
7 | To check the whole codebase, run:
8 |
9 | ```bash
10 | npm run lint
11 | ```
12 |
13 | ## Running standard in your editor
14 |
15 | Easier than running standard manually is to install it as a plugin in your editor. This way, it will run automatically while you work, catching errors as they happen on a per-file basis.
16 |
17 | ### Sublime Text
18 |
19 | Using [Package Control](https://packagecontrol.io/), install [SublimeLinter](http://www.sublimelinter.com/en/latest/) and [SublimeLinter-contrib-standard](https://packagecontrol.io/packages/SublimeLinter-contrib-standard).
20 |
21 | For automatic formatting on save, install [StandardFormat](https://packagecontrol.io/packages/StandardFormat).
22 |
23 | ### Atom
24 |
25 | Install [linter-js-standard](https://atom.io/packages/linter-js-standard).
26 |
27 | For automatic formatting, install [standard-formatter](https://atom.io/packages/standard-formatter). For snippets, install [standardjs-snippets](https://atom.io/packages/standardjs-snippets).
28 |
29 | ### Other editors
30 |
31 | There are [official guides for most of the popular editors](http://standardjs.com/index.html#text-editor-plugins).
32 |
33 | ## Do I need to respect this?
34 |
35 | If you want to submit a pull request to the prototype kit, your code will need to pass the linter.
36 |
37 | If you're just using the prototype kit in a separate project, then no, you aren't forced to use standard, or any other linter for that matter. Just write code as you would normally.
38 |
39 | ## Why lint?
40 |
41 | Automated linting ensures project-wide consistency and limits (ideally eliminates) bikeshedding discussions involving spacing, naming conventions, quotes, and others during the pull request review process. It frees the reviewer to focus on the actual substance rather than stylistic issues.
42 |
43 | More importantly, linting will catch some low hanging programmer errors, such as calling an undefined function or assigning a value and then never reading it. These allow the programmer to catch some bugs before having to test the code.
44 |
45 | ## Why standard?
46 |
47 | Linting rules can be a contentious subject, and a lot of them are down to personal preference. The core idea of standard is to be opinionated and limit the amount of initial bikeshedding discussions around which linting rules to pick, because in the end, it's not as important which rules you pick as it is to just be consistent about it. This is why we chose standard: because we want to be consistent about how we write code, but don't want to spend unnecessary time picking different rules (which all have valid points).
48 |
49 | The standard docs have a [complete list of rules and some reasoning behind them](http://standardjs.com/rules.html).
50 |
51 | Standard is also [widely used (warning: large file)](https://github.com/feross/standard-packages/blob/master/all.json) (which means community familiarity) and has a [good ecosystem of plugins](http://standardjs.com/awesome.html).
52 |
53 | If we decide to move away from it, standard is effectively just a preconfigured bundle of eslint, so it can easily be replaced by switching to a generic `.eslintrc` setup.
54 |
--------------------------------------------------------------------------------
/docs/views/about.html:
--------------------------------------------------------------------------------
1 | {% extends "layout.html" %}
2 |
3 | {% block page_title %}
4 | About - GOV.UK Prototype kit
5 | {% endblock %}
6 |
7 | {% block content %}
8 |
9 |
10 |
20 | The prototype kit provides a simple way to make interactive prototypes that look like pages on GOV.UK. These prototypes can be used to show ideas to people you work with, and to do user research
21 |
22 |
23 |
Community
24 |
25 |
We have two Slack channels for the Prototype kit. You'll need a government email address to join.
can be extended - for example using NPM to install a module, access datastores, etc
44 |
makes it easy to share prototypes with others online
45 |
46 |
47 |
48 |
49 |
Privacy
50 |
51 |
52 |
You must protect user privacy at all times, even when using prototypes. Prototypes made with the kit look like GOV.UK, but do not have the same security provisions. Always make sure you are handling user data appropriately.
53 |
54 |
55 |
56 |
The kit is not a production framework
57 |
58 |
Things made with the kit may look like GOV.UK, but do not have production code and likely aren't fully accessible. Don't use the kit as a base for a production service.
19 | A 27px section heading
20 | A 48px heading
21 |
22 |
23 |
24 | This is an intro paragraph at 24px. Maecenas faucibus mollis interdum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Curabitur blandit tempus porttitor. Vestibulum id ligula porta felis euismod semper.
25 |
26 |
27 |
A 36px heading
28 |
29 |
30 | This is a body copy paragraph at 19px. Donec id elit non mi porta gravida at eget metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui. Aenean lacinia bibendum nulla sed consectetur. Aenean lacinia bibendum nulla sed consectetur. Sed posuere consectetur est at lobortis.
31 |
32 |
33 |
A 24px heading
34 |
35 |
36 | Etiam porta sem malesuada magna mollis euismod. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis. Maecenas faucibus mollis interdum. Vestibulum id ligula porta felis euismod semper. Donec id elit non mi porta gravida at eget metus.
37 |
38 |
39 |
A 19px heading
40 |
41 |
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Donec sed odio dui. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo.
42 |
43 |
44 |
Here is a bulleted list.
45 |
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
46 |
Vestibulum id ligula porta felis euismod semper.
47 |
Integer posuere erat a ante venenatis dapibus posuere velit aliquet.
48 |
49 |
50 |
51 |
Here is a numbered list.
52 |
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
53 |
Vestibulum id ligula porta felis euismod semper.
54 |
Integer posuere erat a ante venenatis dapibus posuere velit aliquet.