hof 22.8.4-unhandled-error-fix-beta.1 → 22.9.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +30 -0
- package/config/hof-defaults.js +6 -1
- package/frontend/template-partials/views/layout.html +2 -8
- package/frontend/themes/gov-uk/styles/_cookie-banner.scss +0 -3
- package/hof-22.9.0.tgz +0 -0
- package/lib/settings.js +1 -0
- package/model/index.js +1 -1
- package/package/.eslintignore +1 -0
- package/package/CHANGELOG.md +232 -0
- package/package/LICENSE +21 -0
- package/package/README.md +1887 -0
- package/package/bin/hof-build +10 -0
- package/package/bin/hof-transpiler +12 -0
- package/package/build/helpers/importer.js +29 -0
- package/package/build/helpers/local.js +35 -0
- package/package/build/helpers/resolver/import.js +32 -0
- package/package/build/helpers/resolver/nearest-package-root.js +33 -0
- package/package/build/helpers/resolver/package.js +29 -0
- package/package/build/helpers/resolver.js +16 -0
- package/package/build/index.js +49 -0
- package/package/build/lib/env.js +36 -0
- package/package/build/lib/mkdir.js +9 -0
- package/package/build/lib/run.js +17 -0
- package/package/build/lib/spawn.js +18 -0
- package/package/build/tasks/browserify/compress.js +15 -0
- package/package/build/tasks/browserify/index.js +48 -0
- package/package/build/tasks/build/index.js +6 -0
- package/package/build/tasks/images/index.js +27 -0
- package/package/build/tasks/index.js +8 -0
- package/package/build/tasks/sass/index.js +67 -0
- package/package/build/tasks/translate/index.js +20 -0
- package/package/build/tasks/watch/index.js +161 -0
- package/package/components/address-lookup/default-model.js +76 -0
- package/package/components/address-lookup/defaults.js +25 -0
- package/package/components/address-lookup/index.js +251 -0
- package/package/components/address-lookup/templates/address-lookup.html +14 -0
- package/package/components/address-lookup/templates/address.html +22 -0
- package/package/components/address-lookup/templates/postcode.html +9 -0
- package/package/components/clear-session/Readme.md +46 -0
- package/package/components/clear-session/index.js +26 -0
- package/package/components/combine-and-loop-fields/Readme.md +42 -0
- package/package/components/combine-and-loop-fields/index.js +156 -0
- package/package/components/date/fields.js +16 -0
- package/package/components/date/index.js +172 -0
- package/package/components/date/templates/date.html +20 -0
- package/package/components/emailer/assets/images/govuk_logotype_email.png +0 -0
- package/package/components/emailer/assets/images/ho_crest_27px.png +0 -0
- package/package/components/emailer/assets/images/spacer.gif +0 -0
- package/package/components/emailer/email-service.js +51 -0
- package/package/components/emailer/emailer.js +53 -0
- package/package/components/emailer/index.js +74 -0
- package/package/components/emailer/transports/debug.js +74 -0
- package/package/components/emailer/transports/index.js +8 -0
- package/package/components/emailer/transports/ses.js +36 -0
- package/package/components/emailer/transports/smtp.js +26 -0
- package/package/components/emailer/transports/stub.js +5 -0
- package/package/components/emailer/views/layout.html +63 -0
- package/package/components/homeoffice-countries/index.js +22 -0
- package/package/components/index.js +13 -0
- package/package/components/notify/index.js +62 -0
- package/package/components/notify/notify.js +51 -0
- package/package/components/session-timeout-warning/index.js +67 -0
- package/package/components/summary/index.js +237 -0
- package/package/config/builder-defaults.js +45 -0
- package/package/config/component-defaults.js +13 -0
- package/package/config/hof-defaults.js +65 -0
- package/package/config/rate-limits.js +20 -0
- package/package/config/sanitisation-rules.js +32 -0
- package/package/controller/base-controller.js +296 -0
- package/package/controller/behaviour-hooks.js +51 -0
- package/package/controller/behaviour-session.js +64 -0
- package/package/controller/controller.js +258 -0
- package/package/controller/deprecate-error.js +10 -0
- package/package/controller/formatting/formatters.js +70 -0
- package/package/controller/formatting/index.js +32 -0
- package/package/controller/index.js +17 -0
- package/package/controller/validation/email.js +30 -0
- package/package/controller/validation/index.js +101 -0
- package/package/controller/validation/validators.js +181 -0
- package/package/controller/validation-error.js +14 -0
- package/package/frontend/govuk-template/build/config.js +24 -0
- package/package/frontend/govuk-template/build/govuk_template.html +102 -0
- package/package/frontend/govuk-template/build/index.js +23 -0
- package/package/frontend/govuk-template/govuk_template_generated.html +102 -0
- package/package/frontend/govuk-template/index.js +29 -0
- package/package/frontend/index.js +9 -0
- package/package/frontend/template-mixins/mixins/helpers.js +103 -0
- package/package/frontend/template-mixins/mixins/index.js +37 -0
- package/package/frontend/template-mixins/mixins/render.js +12 -0
- package/package/frontend/template-mixins/mixins/template-mixins.js +520 -0
- package/package/frontend/template-mixins/partials/forms/checkbox-group.html +47 -0
- package/package/frontend/template-mixins/partials/forms/checkbox.html +16 -0
- package/package/frontend/template-mixins/partials/forms/input-submit.html +1 -0
- package/package/frontend/template-mixins/partials/forms/input-text-date.html +37 -0
- package/package/frontend/template-mixins/partials/forms/input-text-group.html +45 -0
- package/package/frontend/template-mixins/partials/forms/option-group.html +43 -0
- package/package/frontend/template-mixins/partials/forms/select.html +17 -0
- package/package/frontend/template-mixins/partials/forms/textarea-group.html +37 -0
- package/package/frontend/template-mixins/partials/mixins/panel.html +4 -0
- package/package/frontend/template-partials/index.js +9 -0
- package/package/frontend/template-partials/translations/index.js +26 -0
- package/package/frontend/template-partials/translations/src/cy/base.json +4 -0
- package/package/frontend/template-partials/translations/src/cy/buttons.json +6 -0
- package/package/frontend/template-partials/translations/src/cy/cookies.json +104 -0
- package/package/frontend/template-partials/translations/src/cy/errorlist.json +6 -0
- package/package/frontend/template-partials/translations/src/cy/errors.json +18 -0
- package/package/frontend/template-partials/translations/src/cy/terms.json +28 -0
- package/package/frontend/template-partials/translations/src/en/accessibility.json +43 -0
- package/package/frontend/template-partials/translations/src/en/base.json +5 -0
- package/package/frontend/template-partials/translations/src/en/buttons.json +10 -0
- package/package/frontend/template-partials/translations/src/en/cookies.json +116 -0
- package/package/frontend/template-partials/translations/src/en/errorlist.json +7 -0
- package/package/frontend/template-partials/translations/src/en/errors.json +35 -0
- package/package/frontend/template-partials/translations/src/en/exit.json +5 -0
- package/package/frontend/template-partials/translations/src/en/fields.json +5 -0
- package/package/frontend/template-partials/translations/src/en/journey.json +6 -0
- package/package/frontend/template-partials/translations/src/en/save-and-exit.json +4 -0
- package/package/frontend/template-partials/translations/src/en/terms.json +28 -0
- package/package/frontend/template-partials/views/404.html +9 -0
- package/package/frontend/template-partials/views/accessibility.html +55 -0
- package/package/frontend/template-partials/views/confirm.html +8 -0
- package/package/frontend/template-partials/views/confirmation.html +19 -0
- package/package/frontend/template-partials/views/content/en/what-happens-next.md +0 -0
- package/package/frontend/template-partials/views/cookie-error.html +1 -0
- package/package/frontend/template-partials/views/cookies.html +84 -0
- package/package/frontend/template-partials/views/email/data-row.html +4 -0
- package/package/frontend/template-partials/views/email/formatted.html +12 -0
- package/package/frontend/template-partials/views/email/layout.html +63 -0
- package/package/frontend/template-partials/views/email/raw.html +11 -0
- package/package/frontend/template-partials/views/email/section-row.html +3 -0
- package/package/frontend/template-partials/views/error.html +20 -0
- package/package/frontend/template-partials/views/exit.html +9 -0
- package/package/frontend/template-partials/views/feedback-submitted.html +11 -0
- package/package/frontend/template-partials/views/layout.html +55 -0
- package/package/frontend/template-partials/views/partials/analytics-table.html +25 -0
- package/package/frontend/template-partials/views/partials/back.html +5 -0
- package/package/frontend/template-partials/views/partials/bullet-list.html +7 -0
- package/package/frontend/template-partials/views/partials/confirmation-alert.html +6 -0
- package/package/frontend/template-partials/views/partials/continue.html +5 -0
- package/package/frontend/template-partials/views/partials/cookie-banner.html +29 -0
- package/package/frontend/template-partials/views/partials/cookie-notification.html +4 -0
- package/package/frontend/template-partials/views/partials/cookie-settings-button.html +1 -0
- package/package/frontend/template-partials/views/partials/cookie-settings-radio.html +8 -0
- package/package/frontend/template-partials/views/partials/details-summary.html +8 -0
- package/package/frontend/template-partials/views/partials/external-link.html +1 -0
- package/package/frontend/template-partials/views/partials/form.html +10 -0
- package/package/frontend/template-partials/views/partials/gatag.html +60 -0
- package/package/frontend/template-partials/views/partials/head.html +31 -0
- package/package/frontend/template-partials/views/partials/heading.html +11 -0
- package/package/frontend/template-partials/views/partials/items-table.html +32 -0
- package/package/frontend/template-partials/views/partials/maincontent-left.html +10 -0
- package/package/frontend/template-partials/views/partials/navigation.html +8 -0
- package/package/frontend/template-partials/views/partials/page.html +23 -0
- package/package/frontend/template-partials/views/partials/panel-indent.html +3 -0
- package/package/frontend/template-partials/views/partials/session-cookies-table.html +28 -0
- package/package/frontend/template-partials/views/partials/session-timeout-warning.html +38 -0
- package/package/frontend/template-partials/views/partials/summary-table-row.html +14 -0
- package/package/frontend/template-partials/views/partials/summary-table.html +8 -0
- package/package/frontend/template-partials/views/partials/table.html +18 -0
- package/package/frontend/template-partials/views/partials/validation-list.html +3 -0
- package/package/frontend/template-partials/views/partials/validation-summary.html +25 -0
- package/package/frontend/template-partials/views/partials/warn.html +7 -0
- package/package/frontend/template-partials/views/rate-limit-error.html +10 -0
- package/package/frontend/template-partials/views/save-and-exit.html +17 -0
- package/package/frontend/template-partials/views/service-unavailable.html +13 -0
- package/package/frontend/template-partials/views/session-timeout.html +7 -0
- package/package/frontend/template-partials/views/step.html +14 -0
- package/package/frontend/template-partials/views/terms.html +26 -0
- package/package/frontend/themes/gov-uk/client-js/cookieSettings.js +145 -0
- package/package/frontend/themes/gov-uk/client-js/govuk-cookies.js +121 -0
- package/package/frontend/themes/gov-uk/client-js/index.js +27 -0
- package/package/frontend/themes/gov-uk/client-js/session-timeout-dialog.js +348 -0
- package/package/frontend/themes/gov-uk/client-js/skip-to-main.js +19 -0
- package/package/frontend/themes/gov-uk/index.js +9 -0
- package/package/frontend/themes/gov-uk/styles/_base.scss +17 -0
- package/package/frontend/themes/gov-uk/styles/_check_your_answers.scss +155 -0
- package/package/frontend/themes/gov-uk/styles/_cookie-banner.scss +111 -0
- package/package/frontend/themes/gov-uk/styles/_cookie-settings.scss +33 -0
- package/package/frontend/themes/gov-uk/styles/_govuk_frontend_toolkit.scss +23 -0
- package/package/frontend/themes/gov-uk/styles/_helpers.scss +5 -0
- package/package/frontend/themes/gov-uk/styles/_layout.scss +125 -0
- package/package/frontend/themes/gov-uk/styles/_panel-indent.scss +27 -0
- package/package/frontend/themes/gov-uk/styles/_pdf.scss +42 -0
- package/package/frontend/themes/gov-uk/styles/_session-timeout-dialog.scss +121 -0
- package/package/frontend/themes/gov-uk/styles/_typography.scss +27 -0
- package/package/frontend/themes/gov-uk/styles/_variables.scss +11 -0
- package/package/frontend/themes/gov-uk/styles/govuk.scss +43 -0
- package/package/frontend/themes/gov-uk/styles/mixins.scss +16 -0
- package/package/frontend/themes/gov-uk/styles/modules/_alerts.scss +73 -0
- package/package/frontend/themes/gov-uk/styles/modules/_buttons.scss +5 -0
- package/package/frontend/themes/gov-uk/styles/modules/_character-count.scss +8 -0
- package/package/frontend/themes/gov-uk/styles/modules/_confirm-page.scss +20 -0
- package/package/frontend/themes/gov-uk/styles/modules/_lists.scss +5 -0
- package/package/frontend/themes/gov-uk/styles/modules/_progressive-reveal.scss +17 -0
- package/package/frontend/themes/gov-uk/styles/modules/_validation.scss +51 -0
- package/package/frontend/themes/index.js +5 -0
- package/package/frontend/toolkit/assets/images/passports/new-window-link-blue.png +0 -0
- package/package/frontend/toolkit/assets/images/passports/new-window-link.png +0 -0
- package/package/frontend/toolkit/assets/images/spinner.gif +0 -0
- package/package/frontend/toolkit/assets/javascript/character-count.js +99 -0
- package/package/frontend/toolkit/assets/javascript/form-focus.js +101 -0
- package/package/frontend/toolkit/assets/javascript/helpers.js +177 -0
- package/package/frontend/toolkit/assets/javascript/progressive-reveal.js +72 -0
- package/package/frontend/toolkit/assets/javascript/validation.js +71 -0
- package/package/frontend/toolkit/assets/javascript/vendor/details.polyfill.js +189 -0
- package/package/frontend/toolkit/assets/javascript/vendor/indexof.polyfill.js +39 -0
- package/package/frontend/toolkit/assets/javascript/vendor/safari-cachebuster.js +6 -0
- package/package/frontend/toolkit/assets/stylesheets/_base.scss +17 -0
- package/package/frontend/toolkit/assets/stylesheets/_helpers.scss +5 -0
- package/package/frontend/toolkit/assets/stylesheets/_layout.scss +118 -0
- package/package/frontend/toolkit/assets/stylesheets/_typography.scss +27 -0
- package/package/frontend/toolkit/assets/stylesheets/_variables.scss +11 -0
- package/package/frontend/toolkit/assets/stylesheets/app.scss +30 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_buttons.scss +47 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_details.scss +38 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_elements-typography.scss +175 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_forms.scss +167 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_helpers.scss +39 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_layout.scss +67 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_lists.scss +40 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_panels.scss +29 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_reset.scss +33 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_tables.scss +33 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-block-labels.scss +63 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-date.scss +39 -0
- package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-validation.scss +63 -0
- package/package/frontend/toolkit/assets/stylesheets/mixins.scss +16 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_alerts.scss +73 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_buttons.scss +5 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_confirm-page.scss +20 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_lists.scss +5 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_progressive-reveal.scss +17 -0
- package/package/frontend/toolkit/assets/stylesheets/modules/_validation.scss +51 -0
- package/package/frontend/toolkit/index.js +10 -0
- package/package/index.js +351 -0
- package/package/lib/deindex.js +18 -0
- package/package/lib/encryption.js +23 -0
- package/package/lib/ga-tag.js +89 -0
- package/package/lib/health.js +26 -0
- package/package/lib/helpers.js +66 -0
- package/package/lib/logger.js +65 -0
- package/package/lib/markdown.js +46 -0
- package/package/lib/router.js +111 -0
- package/package/lib/serve-static.js +12 -0
- package/package/lib/sessions.js +82 -0
- package/package/lib/settings.js +74 -0
- package/package/lib/which.js +28 -0
- package/package/middleware/cookies.js +43 -0
- package/package/middleware/deep-translate.js +32 -0
- package/package/middleware/errors.js +119 -0
- package/package/middleware/index.js +10 -0
- package/package/middleware/not-found.js +38 -0
- package/package/middleware/rate-limiter.js +98 -0
- package/package/middleware/service-unavailable.js +64 -0
- package/package/model/apis/axios-settings.js +21 -0
- package/package/model/apis/html-to-pdf-converter.js +35 -0
- package/package/model/apis/index.js +5 -0
- package/package/model/index.js +348 -0
- package/package/package.json +147 -0
- package/package/sandbox/README.md +66 -0
- package/package/sandbox/apps/sandbox/behaviours/clear-session.js +8 -0
- package/package/sandbox/apps/sandbox/behaviours/country-select.js +10 -0
- package/package/sandbox/apps/sandbox/behaviours/international-number.js +22 -0
- package/package/sandbox/apps/sandbox/fields.js +128 -0
- package/package/sandbox/apps/sandbox/index.js +99 -0
- package/package/sandbox/apps/sandbox/lib/staticAppealStages.js +189 -0
- package/package/sandbox/apps/sandbox/sections/summary-data-sections.js +43 -0
- package/package/sandbox/apps/sandbox/translations/src/en/errors.json +5 -0
- package/package/sandbox/apps/sandbox/translations/src/en/exit.json +4 -0
- package/package/sandbox/apps/sandbox/translations/src/en/fields.json +101 -0
- package/package/sandbox/apps/sandbox/translations/src/en/journey.json +7 -0
- package/package/sandbox/apps/sandbox/translations/src/en/pages.json +72 -0
- package/package/sandbox/apps/sandbox/translations/src/en/validation.json +54 -0
- package/package/sandbox/apps/sandbox/views/form-guidance-link.html +8 -0
- package/package/sandbox/apps/sandbox/views/save-and-exit.html +19 -0
- package/package/sandbox/assets/images/icons/icon-caret-left.png +0 -0
- package/package/sandbox/assets/images/icons/icon-complete.png +0 -0
- package/package/sandbox/assets/images/icons/icon-cross-remove-sign.png +0 -0
- package/package/sandbox/assets/js/index.js +70 -0
- package/package/sandbox/assets/scss/app.scss +27 -0
- package/package/sandbox/codecept.conf.js +15 -0
- package/package/sandbox/config.js +17 -0
- package/package/sandbox/package.json +26 -0
- package/package/sandbox/server.js +23 -0
- package/package/sandbox/yarn.lock +262 -0
- package/package/transpiler/index.js +2 -0
- package/package/transpiler/lib/aggregate.js +32 -0
- package/package/transpiler/lib/build.js +15 -0
- package/package/transpiler/lib/compile.js +12 -0
- package/package/transpiler/lib/expand-dirs.js +14 -0
- package/package/transpiler/lib/write-files.js +24 -0
- package/package/utilities/autofill/index.js +189 -0
- package/package/utilities/autofill/inputs.js +60 -0
- package/package/utilities/countries.js +12 -0
- package/package/utilities/helpers/index.js +189 -0
- package/package/utilities/index.js +9 -0
- package/package/utilities/reqres/index.js +18 -0
- package/package/utilities/test-data/data/domain.json +7 -0
- package/package/utilities/test-data/data/firstname.json +16 -0
- package/package/utilities/test-data/data/lastname.json +10 -0
- package/package/utilities/test-data/data/postcode.json +12 -0
- package/package/utilities/test-data/data/streetname.json +8 -0
- package/package/utilities/test-data/data/streetsuffix.json +7 -0
- package/package/utilities/test-data/data/town.json +9 -0
- package/package/utilities/test-data/index.js +67 -0
- package/package/wizard/behaviours/complete.js +20 -0
- package/package/wizard/behaviours/index.js +5 -0
- package/package/wizard/index.js +124 -0
- package/package/wizard/middleware/back-links.js +68 -0
- package/package/wizard/middleware/check-complete.js +13 -0
- package/package/wizard/middleware/check-progress.js +139 -0
- package/package/wizard/middleware/check-session.js +17 -0
- package/package/wizard/middleware/csrf.js +47 -0
- package/package/wizard/middleware/session-model.js +11 -0
- package/package/wizard/middleware/session.js +9 -0
- package/package/wizard/model.js +29 -0
- package/package/wizard/util/constants.js +5 -0
- package/package/wizard/util/helpers.js +19 -0
- package/package.json +5 -6
- package/.editorconfig +0 -10
- package/.github/workflows/automate-publish.yml +0 -38
- package/.github/workflows/automate-tag.yml +0 -78
- package/.istanbul.yml +0 -20
- package/.nyc_output/be573ac3-d055-4910-a088-9d41b5345cec.json +0 -1
- package/.nyc_output/processinfo/be573ac3-d055-4910-a088-9d41b5345cec.json +0 -1
- package/.nyc_output/processinfo/index.json +0 -1
- package/codeReviewChecklist.md +0 -22
- package/pull_request_template.md +0 -16
@@ -0,0 +1,55 @@
|
|
1
|
+
{{<layout}}
|
2
|
+
|
3
|
+
{{$propositionHeader}}{{/propositionHeader}}
|
4
|
+
|
5
|
+
{{$header}}
|
6
|
+
{{header}}
|
7
|
+
{{/header}}
|
8
|
+
|
9
|
+
{{$content}}
|
10
|
+
<p class="govuk-body">{{#t}}accessibility.intro-p2{{/t}}</p>
|
11
|
+
<ul class="govuk-list">
|
12
|
+
<li>{{#t}}accessibility.intro-p2-li1{{/t}}</li>
|
13
|
+
<li>{{#t}}accessibility.intro-p2-li2{{/t}}</li>
|
14
|
+
<li>{{#t}}accessibility.intro-p2-li3{{/t}}</li>
|
15
|
+
<li>{{#t}}accessibility.intro-p2-li4{{/t}}</li>
|
16
|
+
<li>{{#t}}accessibility.intro-p2-li5{{/t}}</li>
|
17
|
+
</ul>
|
18
|
+
<p class="govuk-body">{{#t}}accessibility.intro-p3-pre-link{{/t}} <a href="https://mcmw.abilitynet.org.uk/">{{#t}}accessibility.intro-p3-link{{/t}}</a> {{#t}}accessibility.intro-p3-post-link{{/t}}</p>
|
19
|
+
<h2 class="govuk-heading-m">{{#t}}accessibility.how-accessible-header{{/t}}</h2>
|
20
|
+
<p class="govuk-body">{{#t}}accessibility.how-accessible-p1{{/t}}</p>
|
21
|
+
<ul class="govuk-list">
|
22
|
+
<li>{{#t}}accessibility.how-accessible-p1-li1{{/t}}</li>
|
23
|
+
<li>{{#t}}accessibility.how-accessible-p1-li2{{/t}}</li>
|
24
|
+
</ul>
|
25
|
+
<h2 class="govuk-heading-m">{{#t}}accessibility.reporting-header{{/t}}</h2>
|
26
|
+
<p class="govuk-body">{{#t}}accessibility.reporting-p1{{/t}}</p>
|
27
|
+
<ul class="govuk-list">
|
28
|
+
<li>{{#t}}accessibility.reporting-p1-li1-pre-link{{/t}} <a href="mailto:{{#t}}accessibility.contact-email-accessibility{{/t}}">{{#t}}accessibility.contact-email-accessibility{{/t}}</a></li>
|
29
|
+
</ul>
|
30
|
+
<p class="govuk-body">
|
31
|
+
<a href="http://www.w3.org/WAI/users/inaccessible">{{#t}}accessibility.reporting-p2-link{{/t}}</a>
|
32
|
+
</p>
|
33
|
+
<h2 class="govuk-heading-m">{{#t}}accessibility.enforcement-header{{/t}}</h2>
|
34
|
+
<p class="govuk-body">{{#t}}accessibility.enforcement-p1-pre-link{{/t}} <a href ="https://www.equalityadvisoryservice.com/">{{#t}}accessibility.enforcement-p1-link{{/t}}</a></p>
|
35
|
+
<p class="govuk-body">{{#t}}accessibility.enforcement-p2{{/t}}</p>
|
36
|
+
<h2 class="govuk-heading-m">{{#t}}accessibility.technical-info-header{{/t}}</h2>
|
37
|
+
<p class="govuk-body">{{#t}}accessibility.technical-info-p1{{/t}}</p>
|
38
|
+
<h2 class="govuk-heading-m">{{#t}}accessibility.compliance-header{{/t}}</h2>
|
39
|
+
<p class="govuk-body">{{#t}}accessibility.compliance-p1{{/t}}</p>
|
40
|
+
<h2 class="govuk-heading-m">{{#t}}accessibility.non-accessible-header{{/t}}</h2>
|
41
|
+
<p class="govuk-body">{{#t}}accessibility.non-accessible-p1{{/t}}</p>
|
42
|
+
<h3 class="govuk-heading-m">{{#t}}accessibility.non-compliance-header{{/t}}</h3>
|
43
|
+
<ul class="govuk-list">
|
44
|
+
<li>{{#t}}accessibility.non-compliance-li1{{/t}}</li>
|
45
|
+
</ul>
|
46
|
+
<h3 class="govuk-heading-m">{{#t}}accessibility.disproportionate-burden-header{{/t}}</h3>
|
47
|
+
<p class="govuk-body">{{#t}}accessibility.disproportionate-burden-p1{{/t}}</p>
|
48
|
+
<h3 class="govuk-heading-m">{{#t}}accessibility.outside-scope-header{{/t}}</h3>
|
49
|
+
<p class="govuk-body">{{#t}}accessibility.outside-scope-p1{{/t}}</p>
|
50
|
+
<h2 class="govuk-heading-m">{{#t}}accessibility.preparation-header{{/t}}</h2>
|
51
|
+
<p class="govuk-body">{{#t}}accessibility.preparation-p1{{/t}}</p>
|
52
|
+
<p class="govuk-body">{{#t}}accessibility.preparation-p2{{/t}}</p>
|
53
|
+
<p class="govuk-body">{{#t}}accessibility.preparation-p3{{/t}}</p>
|
54
|
+
{{/content}}
|
55
|
+
{{/layout}}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{{<layout}}
|
2
|
+
{{$journeyHeader}}
|
3
|
+
{{#t}}journey.header{{/t}}
|
4
|
+
{{/journeyHeader}}
|
5
|
+
|
6
|
+
{{$propositionHeader}}
|
7
|
+
{{> partials-navigation}}
|
8
|
+
{{/propositionHeader}}
|
9
|
+
|
10
|
+
{{$header}}
|
11
|
+
{{header}}
|
12
|
+
{{/header}}
|
13
|
+
|
14
|
+
{{$content}}
|
15
|
+
{{>partials-confirmation-alert}}
|
16
|
+
{{#markdown}}what-happens-next{{/markdown}}
|
17
|
+
{{/content}}
|
18
|
+
{{/layout}}
|
19
|
+
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{{<error}}{{/error}}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
{{<layout}}
|
2
|
+
|
3
|
+
{{$propositionHeader}}{{/propositionHeader}}
|
4
|
+
|
5
|
+
{{$validationSummary}}
|
6
|
+
{{#gaTagId}}
|
7
|
+
{{> partials-cookie-notification}}
|
8
|
+
{{/gaTagId}}
|
9
|
+
{{/validationSummary}}
|
10
|
+
|
11
|
+
{{$header}}
|
12
|
+
{{header}}
|
13
|
+
{{/header}}
|
14
|
+
|
15
|
+
{{$content}}
|
16
|
+
<p>{{intro}}</p>
|
17
|
+
{{^gaTagId}}
|
18
|
+
{{#intro-list}}
|
19
|
+
{{> partials-bullet-list}}
|
20
|
+
{{/intro-list}}
|
21
|
+
{{#indent-intro}}
|
22
|
+
{{> partials-panel-indent}}
|
23
|
+
{{/indent-intro}}
|
24
|
+
<h2>{{intro-cookie}}</h2>
|
25
|
+
<p>{{intro-cookie-message}}</p>
|
26
|
+
{{#intro-cookie-table}}
|
27
|
+
{{> partials-table}}
|
28
|
+
{{/intro-cookie-table}}
|
29
|
+
<h2>{{session-cookies}}</h2>
|
30
|
+
<p>{{session-cookies-content}}</p>
|
31
|
+
{{#session-cookies-table}}
|
32
|
+
{{> partials-session-cookies-table}}
|
33
|
+
{{/session-cookies-table}}
|
34
|
+
{{/gaTagId}}
|
35
|
+
|
36
|
+
{{#gaTagId}}
|
37
|
+
<div id="cookie-settings">
|
38
|
+
{{#intro-list-ga-tag}}
|
39
|
+
{{> partials-bullet-list}}
|
40
|
+
{{/intro-list-ga-tag}}
|
41
|
+
{{#indent-intro}}
|
42
|
+
{{> partials-panel-indent}}
|
43
|
+
{{/indent-intro}}
|
44
|
+
<h2>{{intro-cookie}}</h2>
|
45
|
+
<p>{{intro-cookie-message}}</p>
|
46
|
+
{{#intro-cookie-table}}
|
47
|
+
{{> partials-table}}
|
48
|
+
{{/intro-cookie-table}}
|
49
|
+
<h2>{{session-cookies}}</h2>
|
50
|
+
<p>{{session-cookies-content}}</p>
|
51
|
+
{{#session-cookies-table}}
|
52
|
+
{{> partials-session-cookies-table}}
|
53
|
+
{{/session-cookies-table}}
|
54
|
+
<div class="js-enabled">
|
55
|
+
<form>
|
56
|
+
<div class="govuk-form-group">
|
57
|
+
<fieldset>
|
58
|
+
<legend>
|
59
|
+
<h2>{{measuring-use}}</h2>
|
60
|
+
</legend>
|
61
|
+
{{#google-analytics}}
|
62
|
+
<p>{{.}}</p>
|
63
|
+
{{/google-analytics}}
|
64
|
+
{{#google-analytics-list}}
|
65
|
+
{{> partials-bullet-list}}
|
66
|
+
{{/google-analytics-list}}
|
67
|
+
<p>{{no-identify}}</p>
|
68
|
+
{{#analytics-table}}
|
69
|
+
{{> partials-analytics-table}}
|
70
|
+
{{/analytics-table}}
|
71
|
+
{{#indent-ga}}
|
72
|
+
{{> partials-panel-indent}}
|
73
|
+
{{/indent-ga}}
|
74
|
+
{{> partials-cookie-settings-radio}}
|
75
|
+
</fieldset>
|
76
|
+
</div>
|
77
|
+
{{> partials-cookie-settings-button}}
|
78
|
+
</form>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
{{/gaTagId}}
|
82
|
+
|
83
|
+
{{/content}}
|
84
|
+
{{/layout}}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<tr style="border-top: 1px solid #009390;">
|
2
|
+
<td width="25%"><p style="font-size: 16px; color: #6f777b; margin: 10px 0;">{{#t}}email.fields.{{field}}{{/t}}</p></td>
|
3
|
+
<td width="75%"><p style="font-size: 16px; color: #000; margin: 10px 0; white-space: pre-wrap;">{{value}}</p></td>
|
4
|
+
</tr>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
|
5
|
+
<meta content="utf-8" http-equiv="encoding" />
|
6
|
+
<!-- Use title if it's in the page YAML frontmatter -->
|
7
|
+
<title>{{#t}}email.information.subject{{/t}}</title>
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body style="font-family: Helvetica, Arial, sans-serif;font-size: 16px;margin: 0;color:#0b0c0c">
|
11
|
+
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
12
|
+
<tr>
|
13
|
+
<td width="100%" height="53px" bgcolor="#0b0c0c">
|
14
|
+
<table width="580" cellpadding="0" cellspacing="0" border="0" align="center">
|
15
|
+
<tr>
|
16
|
+
<td width="100%" bgcolor="#0b0c0c" valign="middle">
|
17
|
+
<img width="152" height="31" src="cid:govuk_logotype_email" alt="GOV.UK" border="0" />
|
18
|
+
</td>
|
19
|
+
</tr>
|
20
|
+
</table>
|
21
|
+
</td>
|
22
|
+
</tr>
|
23
|
+
</table>
|
24
|
+
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
|
25
|
+
<tr>
|
26
|
+
<td width="100%">
|
27
|
+
<table width="580" cellpadding="0" cellspacing="0" border="0" align="center">
|
28
|
+
<tr>
|
29
|
+
<td width="100%" class="header" style="padding-top: 10px;" colspan="2">
|
30
|
+
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF">
|
31
|
+
<tr>
|
32
|
+
<td width="6" style="border-left: 2px solid #009390;"><img src="cid:spacer_image" alt="" width="6px" height="26px" style="display: block;" /></td>
|
33
|
+
<td width="26" height="26"><img src="cid:ho_crest_27px" alt="Home Office Logo" style="width: 26px; height: 26px; display:block;" /></td>
|
34
|
+
<td width="7"><img src="cid:spacer_image" alt="" width="7px" height="26px" style="display: block;" /></td>
|
35
|
+
<td style="font-family: Helvetica, Arial, sans-serif;">
|
36
|
+
<h2 class="organisation-logo" style="font-size: 18px; line-height: 20px; font-weight: 300; margin: 0"><span>UK Home Office</span></h2>
|
37
|
+
</td>
|
38
|
+
</tr>
|
39
|
+
</table>
|
40
|
+
</td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td width="75%" style="font-family: Helvetica, Arial, sans-serif;">
|
44
|
+
<p style="font-weight: 700;font-size: 16px;line-height: 1 ;margin: 10px 0 10px 0;"> </p>
|
45
|
+
</td>
|
46
|
+
<td width="25%"> </td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td width="75%" style="font-family: Helvetica, Arial, sans-serif;">
|
50
|
+
<p style="font-size: 19px; font-weight: bold; color: #000; line-height: 1.32; margin: 0 0 10px 0;">{{#t}}email.information.subject{{/t}}</p>
|
51
|
+
<p style="font-size: 16px; font-weight: normal; color: #000; line-height: 1.32; margin: 0 0 10px 0;">{{#t}}email.content.{{recipient}}-intro{{/t}}</p>
|
52
|
+
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF" style="margin: 0 0 20px 0;">
|
53
|
+
{{$email-content}}{{/email-content}}
|
54
|
+
</table>
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
</table>
|
58
|
+
</td>
|
59
|
+
<td width="25%"> </td>
|
60
|
+
</tr>
|
61
|
+
</table>
|
62
|
+
</body>
|
63
|
+
</html>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{{#t}}email.information.subject{{/t}}
|
2
|
+
{{#t}}email.content.{{recipient}}-intro{{/t}}
|
3
|
+
{{#t}}email.information.enquiry{{/t}}
|
4
|
+
{{#data}}
|
5
|
+
{{#t}}pages.{{section}}.header{{/t}}
|
6
|
+
{{#fields}}
|
7
|
+
{{#value}}
|
8
|
+
{{#t}}email.fields.{{field}}{{/t}}: {{value}}
|
9
|
+
{{/value}}
|
10
|
+
{{/fields}}
|
11
|
+
{{/data}}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{{<layout}}
|
2
|
+
{{$journeyHeader}}
|
3
|
+
{{#t}}journey.header{{/t}}
|
4
|
+
{{/journeyHeader}}
|
5
|
+
{{$propositionHeader}}
|
6
|
+
{{> partials-navigation}}
|
7
|
+
{{/propositionHeader}}
|
8
|
+
{{$header}}
|
9
|
+
{{content.title}}
|
10
|
+
{{/header}}
|
11
|
+
{{$content}}
|
12
|
+
<p>{{{content.message}}}</p>
|
13
|
+
<a href="" class="button" role="button">{{#t}}buttons.try-again{{/t}}</a>
|
14
|
+
{{#showStack}}
|
15
|
+
<pre>
|
16
|
+
{{error.stack}}
|
17
|
+
</pre>
|
18
|
+
{{/showStack}}
|
19
|
+
{{/content}}
|
20
|
+
{{/layout}}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{{<layout}}
|
2
|
+
{{$header}}
|
3
|
+
{{header}}
|
4
|
+
{{/header}}
|
5
|
+
{{$content}}
|
6
|
+
<h2 class="govuk-heading-m">{{#exitFormContent}}{{#t}}pages.exit.message{{/t}}{{/exitFormContent}}{{^exitFormContent}}{{#t}}{{message}}{{/t}}{{/exitFormContent}}</h2>
|
7
|
+
<a href="/" class="govuk-button" role="button">{{#t}}buttons.start-again{{/t}}</a>
|
8
|
+
{{/content}}
|
9
|
+
{{/layout}}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{{<partials-page}}
|
2
|
+
{{$page-content}}
|
3
|
+
<h1 class="govuk-panel__title">
|
4
|
+
{{#t}}pages.feedback-submitted.confirmed{{/t}}
|
5
|
+
</h1>
|
6
|
+
|
7
|
+
<p class="govuk-body">{{#t}}pages.feedback-submitted.submitted{{/t}}</p>
|
8
|
+
|
9
|
+
{{#input-submit}}close{{/input-submit}}
|
10
|
+
{{/page-content}}
|
11
|
+
{{/partials-page}}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
{{<govuk-template}}
|
2
|
+
{{$head}}
|
3
|
+
{{> partials-head}}
|
4
|
+
{{/head}}
|
5
|
+
{{$pageTitle}}
|
6
|
+
{{#errorlist.length}}{{#t}}errorlist.prefix{{/t}}{{/errorlist.length}}{{#title}}{{title}}{{/title}}{{^title}}{{$header}}{{/header}}{{/title}}{{#serviceName}} – {{serviceName}}{{/serviceName}} – GOV.UK
|
7
|
+
{{/pageTitle}}
|
8
|
+
{{$bodyStart}}
|
9
|
+
<a href="#{{#skipToMain}}{{skipToMain}}{{/skipToMain}}{{^skipToMain}}main-content{{/skipToMain}}" class="govuk-skip-link" id="skip-to-main">Skip to main content</a>
|
10
|
+
{{/bodyStart}}
|
11
|
+
{{$headerClass}}govuk-header{{/headerClass}}
|
12
|
+
{{$insideHeader}}{{/insideHeader}}
|
13
|
+
{{$main}}
|
14
|
+
<div class="govuk-width-container ">
|
15
|
+
{{#feedbackUrl}}
|
16
|
+
<div class="govuk-phase-banner">
|
17
|
+
<p class="govuk-phase-banner__content">
|
18
|
+
<strong class="govuk-tag govuk-phase-banner__content__tag">{{#t}}journey.phase{{/t}}</strong>
|
19
|
+
<span class="govuk-phase-banner__text">This is a new service – your <a href="{{feedbackUrl}}{{^feedbackUrl}}https://eforms.homeoffice.gov.uk/outreach/feedback.ofml{{/feedbackUrl}}" class="govuk-link" id="feedback-link" target="_blank">feedback</a> will help us to improve it.</span>
|
20
|
+
</p>
|
21
|
+
</div>
|
22
|
+
{{/feedbackUrl}}
|
23
|
+
<span id="step">
|
24
|
+
{{> partials-back}} <span>{{$step}}{{/step}}</span>
|
25
|
+
</span>
|
26
|
+
<main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing" id="main-content" role="main">
|
27
|
+
<div class="govuk-grid-row" id="gov-grid-row-content">
|
28
|
+
{{> partials-maincontent-left}}
|
29
|
+
</div>
|
30
|
+
</main>
|
31
|
+
{{> partials-continue}}
|
32
|
+
<script type="text/javascript" src="{{assetPath}}/js/bundle.js"></script>
|
33
|
+
</div>
|
34
|
+
{{/main}}
|
35
|
+
{{$cookieMessage}}
|
36
|
+
{{#showCookiesBanner}}
|
37
|
+
{{> partials-cookie-banner}}
|
38
|
+
{{/showCookiesBanner}}
|
39
|
+
{{/cookieMessage}}
|
40
|
+
{{$footerSupportLinks}}
|
41
|
+
<ul class="govuk-footer__inline-list">
|
42
|
+
{{#footerSupportLinks}}
|
43
|
+
<li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="{{path}}">{{#t}}{{property}}{{/t}}</a></li>
|
44
|
+
{{/footerSupportLinks}}
|
45
|
+
{{^footerSupportLinks}}
|
46
|
+
<li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/cookies">{{#t}}base.cookies{{/t}}</a></li>
|
47
|
+
<li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/terms-and-conditions">{{#t}}base.terms{{/t}}</a></li>
|
48
|
+
<li class="govuk-footer__inline-list-item"><a class="govuk-footer__link" href="/accessibility">{{#t}}base.accessibility{{/t}}</a></li>
|
49
|
+
{{/footerSupportLinks}}
|
50
|
+
</ul>
|
51
|
+
{{/footerSupportLinks}}
|
52
|
+
{{$bodyEnd}}
|
53
|
+
{{> partials-gatag}}
|
54
|
+
{{/bodyEnd}}
|
55
|
+
{{/govuk-template}}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<table class="govuk-table">
|
2
|
+
<thead class="govuk-table__head">
|
3
|
+
<tr class="govuk-table__row">
|
4
|
+
{{#headers}}
|
5
|
+
<th scope="col" class="govuk-table__header app-custom-class">{{.}}</th>
|
6
|
+
{{/headers}}
|
7
|
+
</tr>
|
8
|
+
</thead>
|
9
|
+
<tbody class="govuk-table__body">
|
10
|
+
{{#rows}}
|
11
|
+
<tr class="govuk-table__row">
|
12
|
+
{{#.}}
|
13
|
+
<td class="govuk-table__cell">{{.}}</td>
|
14
|
+
{{/.}}
|
15
|
+
</tr>
|
16
|
+
{{/rows}}
|
17
|
+
<tr class="govuk-table__row">
|
18
|
+
{{#gaContainerId}}
|
19
|
+
<td>_ga_{{gaContainerId}}</td>
|
20
|
+
<td>{{containerIdPurpose}}</td>
|
21
|
+
<td>{{containerIdExpires}}</td>
|
22
|
+
{{/gaContainerId}}
|
23
|
+
</tr>
|
24
|
+
</tbody>
|
25
|
+
</table>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<div id="cookie-banner" class="govuk-cookie-banner gem-c-cookie-banner govuk-clearfix">
|
2
|
+
<div class="gem-c-cookie-banner__message govuk-cookie-banner__message govuk-width-container">
|
3
|
+
<div id="cookie-banner-info" class="govuk-grid-row">
|
4
|
+
<div class="govuk-grid-column-two-thirds">
|
5
|
+
<h2 class="govuk-cookie-banner__heading govuk-heading-m">Cookies on {{#appName}}{{appName}}{{/appName}}{{^appName}}this service{{/appName}}</h2>
|
6
|
+
<div class="govuk-cookie-banner__content">
|
7
|
+
<p class="govuk-body">We use some essential cookies to make this website work.</p>
|
8
|
+
<p class="govuk-body">We'd like to set additional cookies to understand how you use GOV.UK, remember your settings and improve government services.</p>
|
9
|
+
<p class="govuk-body">We also use cookies set by other sites to help us deliver content from their services.</p>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div id="cookie-banner-actions" class="govuk-button-group">
|
14
|
+
<button id="accept-cookies-button" class="gem-c-button govuk-button" type="submit" data-module="gem-track-click" data-accept-cookies="true" data-track-category="cookieBanner" data-track-action="Cookie banner accepted" data-cookie-types="all">Accept additional cookies</button>
|
15
|
+
|
16
|
+
<button id="reject-cookies-button" class="gem-c-button govuk-button" type="submit" data-module="gem-track-click" data-reject-cookies="true" data-track-category="cookieBanner" data-track-action="Cookie banner rejected">Reject additional cookies</button>
|
17
|
+
|
18
|
+
<a class="govuk-link" href="/cookies">View cookies</a>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
<div class="gem-c-cookie-banner__confirmation govuk-width-container" hidden="" id="cookie-banner-submitted" >
|
22
|
+
<p class="gem-c-cookie-banner__confirmation-message" role="alert">
|
23
|
+
Your cookie preferences have been saved. You can <a class="govuk-link" data-module="gem-track-click" data-track-category="cookieBanner" data-track-action="Cookie banner settings clicked from confirmation" href="/cookies">change your cookie settings</a> at any time.
|
24
|
+
</p>
|
25
|
+
<div class="govuk-button-group">
|
26
|
+
<button class="gem-c-cookie-banner__hide-button govuk-button" id="hide-cookie-banner">Hide this message</button>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<button class="button" type="submit" id="save-cookie-settings" aria-label="Save changes to cookie preferences">Save changes</button>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<div class="govuk-radios__item">
|
2
|
+
<input class="govuk-radios__input" id="radio-1" type="radio" name="radio-group" value="Use cookies that measure my website use">
|
3
|
+
<label class="govuk-label govuk-radios__label" for="radio-1">Use cookies that measure my website use</label>
|
4
|
+
</div>
|
5
|
+
<div class="govuk-radios__item">
|
6
|
+
<input class="govuk-radios__input" id="radio-2" type="radio" name="radio-group" value="Do not use cookies that measure my website use">
|
7
|
+
<label class="govuk-label govuk-radios__label" for="radio-2">Do not use cookies that measure my website use</label>
|
8
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<p class="govuk-body">{{before}}<a class="govuk-link" href="{{href}}" rel="external">{{link}}</a>{{after}}</p>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<form action="" method="POST" {{$encoding}}{{/encoding}} autocomplete="off" novalidate="true" spellcheck="false">
|
2
|
+
{{$intro}}
|
3
|
+
{{#intro}}<p>{{intro}}</p>{{/intro}}
|
4
|
+
{{/intro}}
|
5
|
+
|
6
|
+
{{$form}}{{/form}}
|
7
|
+
{{#csrf-token}}
|
8
|
+
<input type="hidden" name="x-csrf-token" value="{{csrf-token}}" />
|
9
|
+
{{/csrf-token}}
|
10
|
+
</form>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!-- For old Universal Google Analytics Property Tags -->
|
2
|
+
{{#gaTagId}}
|
3
|
+
<script{{#nonce}} nonce="{{nonce}}"{{/nonce}}>
|
4
|
+
var preferences = JSON.parse(GOVUK.cookie('cookie_preferences'));
|
5
|
+
|
6
|
+
if (preferences !== null && preferences.usage === true) {
|
7
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
8
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
9
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
10
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
11
|
+
|
12
|
+
ga('create', '{{gaTagId}}', 'auto');
|
13
|
+
|
14
|
+
{{#gaCrossDomainTrackingTagId}}
|
15
|
+
ga('create', '{{gaCrossDomainTrackingTagId}}', 'auto', 'govuk_shared', { 'allowLinker': true });
|
16
|
+
ga('govuk_shared.require', 'linker');
|
17
|
+
ga('govuk_shared.set', 'anonymizeIp', true);
|
18
|
+
ga('govuk_shared.set', 'allowAdFeatures', false);
|
19
|
+
ga('govuk_shared.linker:autoLink', ['www.gov.uk', 'www.nationalarchives.gov.uk', 'www.eforms.homeoffice.gov.uk']);
|
20
|
+
{{/gaCrossDomainTrackingTagId}}
|
21
|
+
|
22
|
+
var path = document.location.href;
|
23
|
+
var regex = /f_t=([\s\S]*?)?(&|$)/;
|
24
|
+
|
25
|
+
if (path.match(regex) && path.match(regex).length > 0) {
|
26
|
+
var matchedSubstring = path.match(regex)[1];
|
27
|
+
var redactedPath = path.replace(matchedSubstring, '[reference]');
|
28
|
+
ga('set', 'location', redactedPath);
|
29
|
+
}
|
30
|
+
|
31
|
+
ga('send', 'pageview');
|
32
|
+
|
33
|
+
{{#gaCrossDomainTrackingTagId}}
|
34
|
+
ga('govuk_shared.send', 'pageview')
|
35
|
+
{{/gaCrossDomainTrackingTagId}}
|
36
|
+
}
|
37
|
+
</script>
|
38
|
+
{{/gaTagId}}
|
39
|
+
|
40
|
+
<!-- For new Google Analytics 4 Property Tags -->
|
41
|
+
{{#ga4TagId}}
|
42
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
43
|
+
<script async {{#nonce}} nonce="{{nonce}}"{{/nonce}} src="https://www.googletagmanager.com/gtag/js?id={{ga4TagId}}"></script>
|
44
|
+
<script {{#nonce}} nonce="{{nonce}}"{{/nonce}}>
|
45
|
+
var preferences = JSON.parse(GOVUK.cookie('cookie_preferences'));
|
46
|
+
|
47
|
+
if (preferences !== null && preferences.usage === true) {
|
48
|
+
window.dataLayer = window.dataLayer || [];
|
49
|
+
function gtag(){dataLayer.push(arguments);}
|
50
|
+
gtag('js', new Date());
|
51
|
+
|
52
|
+
{{^gaAllowDebug}}
|
53
|
+
gtag('config', '{{ga4TagId}}');
|
54
|
+
{{/gaAllowDebug}}
|
55
|
+
{{#gaAllowDebug}}
|
56
|
+
gtag('config', '{{ga4TagId}}', { 'debug_mode': true } );
|
57
|
+
{{/gaAllowDebug}}
|
58
|
+
}
|
59
|
+
</script>
|
60
|
+
{{/ga4TagId}}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{{#gtmTagId}}
|
2
|
+
{{#cookiesAccepted}}
|
3
|
+
<!-- Google Tag Manager Data Layer -->
|
4
|
+
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>
|
5
|
+
var dataLayer = window.dataLayer || [];
|
6
|
+
dataLayer.push(
|
7
|
+
{{{gtmConfig}}}
|
8
|
+
);
|
9
|
+
</script>
|
10
|
+
<!-- End Google Tag Manager Data Layer -->
|
11
|
+
|
12
|
+
<!-- Google Tag Manager -->
|
13
|
+
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>
|
14
|
+
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
15
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
16
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
17
|
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
18
|
+
})(window,document,'script','dataLayer','{{gtmTagId}}');
|
19
|
+
</script>
|
20
|
+
<!-- End Google Tag Manager -->
|
21
|
+
{{/cookiesAccepted}}
|
22
|
+
{{/gtmTagId}}
|
23
|
+
|
24
|
+
{{#deIndex}}
|
25
|
+
<meta name="robots" content="noindex">
|
26
|
+
{{/deIndex}}
|
27
|
+
<meta name="format-detection" content="telephone=no">
|
28
|
+
<noscript>
|
29
|
+
<meta http-equiv="refresh" content="{{sessionTimeOut}};url='{{baseUrl}}/session-timeout'"/>
|
30
|
+
</noscript>
|
31
|
+
<link rel="stylesheet" href="{{assetPath}}/css/app.css">
|