hof 22.9.0-beta.v1 → 22.9.0-beta.v3

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.
Files changed (316) hide show
  1. package/config/hof-defaults.js +1 -0
  2. package/frontend/template-partials/views/cookies.html +6 -6
  3. package/frontend/template-partials/views/partials/cookie-banner.html +11 -6
  4. package/lib/settings.js +1 -0
  5. package/package.json +1 -1
  6. package/package/.eslintignore +0 -1
  7. package/package/CHANGELOG.md +0 -232
  8. package/package/LICENSE +0 -21
  9. package/package/README.md +0 -1887
  10. package/package/bin/hof-build +0 -10
  11. package/package/bin/hof-transpiler +0 -12
  12. package/package/build/helpers/importer.js +0 -29
  13. package/package/build/helpers/local.js +0 -35
  14. package/package/build/helpers/resolver/import.js +0 -32
  15. package/package/build/helpers/resolver/nearest-package-root.js +0 -33
  16. package/package/build/helpers/resolver/package.js +0 -29
  17. package/package/build/helpers/resolver.js +0 -16
  18. package/package/build/index.js +0 -49
  19. package/package/build/lib/env.js +0 -36
  20. package/package/build/lib/mkdir.js +0 -9
  21. package/package/build/lib/run.js +0 -17
  22. package/package/build/lib/spawn.js +0 -18
  23. package/package/build/tasks/browserify/compress.js +0 -15
  24. package/package/build/tasks/browserify/index.js +0 -48
  25. package/package/build/tasks/build/index.js +0 -6
  26. package/package/build/tasks/images/index.js +0 -27
  27. package/package/build/tasks/index.js +0 -8
  28. package/package/build/tasks/sass/index.js +0 -67
  29. package/package/build/tasks/translate/index.js +0 -20
  30. package/package/build/tasks/watch/index.js +0 -161
  31. package/package/components/address-lookup/default-model.js +0 -76
  32. package/package/components/address-lookup/defaults.js +0 -25
  33. package/package/components/address-lookup/index.js +0 -251
  34. package/package/components/address-lookup/templates/address-lookup.html +0 -14
  35. package/package/components/address-lookup/templates/address.html +0 -22
  36. package/package/components/address-lookup/templates/postcode.html +0 -9
  37. package/package/components/clear-session/Readme.md +0 -46
  38. package/package/components/clear-session/index.js +0 -26
  39. package/package/components/combine-and-loop-fields/Readme.md +0 -42
  40. package/package/components/combine-and-loop-fields/index.js +0 -156
  41. package/package/components/date/fields.js +0 -16
  42. package/package/components/date/index.js +0 -172
  43. package/package/components/date/templates/date.html +0 -20
  44. package/package/components/emailer/assets/images/govuk_logotype_email.png +0 -0
  45. package/package/components/emailer/assets/images/ho_crest_27px.png +0 -0
  46. package/package/components/emailer/assets/images/spacer.gif +0 -0
  47. package/package/components/emailer/email-service.js +0 -51
  48. package/package/components/emailer/emailer.js +0 -53
  49. package/package/components/emailer/index.js +0 -74
  50. package/package/components/emailer/transports/debug.js +0 -74
  51. package/package/components/emailer/transports/index.js +0 -8
  52. package/package/components/emailer/transports/ses.js +0 -36
  53. package/package/components/emailer/transports/smtp.js +0 -26
  54. package/package/components/emailer/transports/stub.js +0 -5
  55. package/package/components/emailer/views/layout.html +0 -63
  56. package/package/components/homeoffice-countries/index.js +0 -22
  57. package/package/components/index.js +0 -13
  58. package/package/components/notify/index.js +0 -62
  59. package/package/components/notify/notify.js +0 -51
  60. package/package/components/session-timeout-warning/index.js +0 -67
  61. package/package/components/summary/index.js +0 -237
  62. package/package/config/builder-defaults.js +0 -45
  63. package/package/config/component-defaults.js +0 -13
  64. package/package/config/hof-defaults.js +0 -65
  65. package/package/config/rate-limits.js +0 -20
  66. package/package/config/sanitisation-rules.js +0 -32
  67. package/package/controller/base-controller.js +0 -296
  68. package/package/controller/behaviour-hooks.js +0 -51
  69. package/package/controller/behaviour-session.js +0 -64
  70. package/package/controller/controller.js +0 -258
  71. package/package/controller/deprecate-error.js +0 -10
  72. package/package/controller/formatting/formatters.js +0 -70
  73. package/package/controller/formatting/index.js +0 -32
  74. package/package/controller/index.js +0 -17
  75. package/package/controller/validation/email.js +0 -30
  76. package/package/controller/validation/index.js +0 -101
  77. package/package/controller/validation/validators.js +0 -181
  78. package/package/controller/validation-error.js +0 -14
  79. package/package/frontend/govuk-template/build/config.js +0 -24
  80. package/package/frontend/govuk-template/build/govuk_template.html +0 -102
  81. package/package/frontend/govuk-template/build/index.js +0 -23
  82. package/package/frontend/govuk-template/govuk_template_generated.html +0 -102
  83. package/package/frontend/govuk-template/index.js +0 -29
  84. package/package/frontend/index.js +0 -9
  85. package/package/frontend/template-mixins/mixins/helpers.js +0 -103
  86. package/package/frontend/template-mixins/mixins/index.js +0 -37
  87. package/package/frontend/template-mixins/mixins/render.js +0 -12
  88. package/package/frontend/template-mixins/mixins/template-mixins.js +0 -520
  89. package/package/frontend/template-mixins/partials/forms/checkbox-group.html +0 -47
  90. package/package/frontend/template-mixins/partials/forms/checkbox.html +0 -16
  91. package/package/frontend/template-mixins/partials/forms/input-submit.html +0 -1
  92. package/package/frontend/template-mixins/partials/forms/input-text-date.html +0 -37
  93. package/package/frontend/template-mixins/partials/forms/input-text-group.html +0 -45
  94. package/package/frontend/template-mixins/partials/forms/option-group.html +0 -43
  95. package/package/frontend/template-mixins/partials/forms/select.html +0 -17
  96. package/package/frontend/template-mixins/partials/forms/textarea-group.html +0 -37
  97. package/package/frontend/template-mixins/partials/mixins/panel.html +0 -4
  98. package/package/frontend/template-partials/index.js +0 -9
  99. package/package/frontend/template-partials/translations/index.js +0 -26
  100. package/package/frontend/template-partials/translations/src/cy/base.json +0 -4
  101. package/package/frontend/template-partials/translations/src/cy/buttons.json +0 -6
  102. package/package/frontend/template-partials/translations/src/cy/cookies.json +0 -104
  103. package/package/frontend/template-partials/translations/src/cy/errorlist.json +0 -6
  104. package/package/frontend/template-partials/translations/src/cy/errors.json +0 -18
  105. package/package/frontend/template-partials/translations/src/cy/terms.json +0 -28
  106. package/package/frontend/template-partials/translations/src/en/accessibility.json +0 -43
  107. package/package/frontend/template-partials/translations/src/en/base.json +0 -5
  108. package/package/frontend/template-partials/translations/src/en/buttons.json +0 -10
  109. package/package/frontend/template-partials/translations/src/en/cookies.json +0 -116
  110. package/package/frontend/template-partials/translations/src/en/errorlist.json +0 -7
  111. package/package/frontend/template-partials/translations/src/en/errors.json +0 -35
  112. package/package/frontend/template-partials/translations/src/en/exit.json +0 -5
  113. package/package/frontend/template-partials/translations/src/en/fields.json +0 -5
  114. package/package/frontend/template-partials/translations/src/en/journey.json +0 -6
  115. package/package/frontend/template-partials/translations/src/en/save-and-exit.json +0 -4
  116. package/package/frontend/template-partials/translations/src/en/terms.json +0 -28
  117. package/package/frontend/template-partials/views/404.html +0 -9
  118. package/package/frontend/template-partials/views/accessibility.html +0 -55
  119. package/package/frontend/template-partials/views/confirm.html +0 -8
  120. package/package/frontend/template-partials/views/confirmation.html +0 -19
  121. package/package/frontend/template-partials/views/content/en/what-happens-next.md +0 -0
  122. package/package/frontend/template-partials/views/cookie-error.html +0 -1
  123. package/package/frontend/template-partials/views/cookies.html +0 -84
  124. package/package/frontend/template-partials/views/email/data-row.html +0 -4
  125. package/package/frontend/template-partials/views/email/formatted.html +0 -12
  126. package/package/frontend/template-partials/views/email/layout.html +0 -63
  127. package/package/frontend/template-partials/views/email/raw.html +0 -11
  128. package/package/frontend/template-partials/views/email/section-row.html +0 -3
  129. package/package/frontend/template-partials/views/error.html +0 -20
  130. package/package/frontend/template-partials/views/exit.html +0 -9
  131. package/package/frontend/template-partials/views/feedback-submitted.html +0 -11
  132. package/package/frontend/template-partials/views/layout.html +0 -55
  133. package/package/frontend/template-partials/views/partials/analytics-table.html +0 -25
  134. package/package/frontend/template-partials/views/partials/back.html +0 -5
  135. package/package/frontend/template-partials/views/partials/bullet-list.html +0 -7
  136. package/package/frontend/template-partials/views/partials/confirmation-alert.html +0 -6
  137. package/package/frontend/template-partials/views/partials/continue.html +0 -5
  138. package/package/frontend/template-partials/views/partials/cookie-banner.html +0 -29
  139. package/package/frontend/template-partials/views/partials/cookie-notification.html +0 -4
  140. package/package/frontend/template-partials/views/partials/cookie-settings-button.html +0 -1
  141. package/package/frontend/template-partials/views/partials/cookie-settings-radio.html +0 -8
  142. package/package/frontend/template-partials/views/partials/details-summary.html +0 -8
  143. package/package/frontend/template-partials/views/partials/external-link.html +0 -1
  144. package/package/frontend/template-partials/views/partials/form.html +0 -10
  145. package/package/frontend/template-partials/views/partials/gatag.html +0 -60
  146. package/package/frontend/template-partials/views/partials/head.html +0 -31
  147. package/package/frontend/template-partials/views/partials/heading.html +0 -11
  148. package/package/frontend/template-partials/views/partials/items-table.html +0 -32
  149. package/package/frontend/template-partials/views/partials/maincontent-left.html +0 -10
  150. package/package/frontend/template-partials/views/partials/navigation.html +0 -8
  151. package/package/frontend/template-partials/views/partials/page.html +0 -23
  152. package/package/frontend/template-partials/views/partials/panel-indent.html +0 -3
  153. package/package/frontend/template-partials/views/partials/session-cookies-table.html +0 -28
  154. package/package/frontend/template-partials/views/partials/session-timeout-warning.html +0 -38
  155. package/package/frontend/template-partials/views/partials/summary-table-row.html +0 -14
  156. package/package/frontend/template-partials/views/partials/summary-table.html +0 -8
  157. package/package/frontend/template-partials/views/partials/table.html +0 -18
  158. package/package/frontend/template-partials/views/partials/validation-list.html +0 -3
  159. package/package/frontend/template-partials/views/partials/validation-summary.html +0 -25
  160. package/package/frontend/template-partials/views/partials/warn.html +0 -7
  161. package/package/frontend/template-partials/views/rate-limit-error.html +0 -10
  162. package/package/frontend/template-partials/views/save-and-exit.html +0 -17
  163. package/package/frontend/template-partials/views/service-unavailable.html +0 -13
  164. package/package/frontend/template-partials/views/session-timeout.html +0 -7
  165. package/package/frontend/template-partials/views/step.html +0 -14
  166. package/package/frontend/template-partials/views/terms.html +0 -26
  167. package/package/frontend/themes/gov-uk/client-js/cookieSettings.js +0 -145
  168. package/package/frontend/themes/gov-uk/client-js/govuk-cookies.js +0 -121
  169. package/package/frontend/themes/gov-uk/client-js/index.js +0 -27
  170. package/package/frontend/themes/gov-uk/client-js/session-timeout-dialog.js +0 -348
  171. package/package/frontend/themes/gov-uk/client-js/skip-to-main.js +0 -19
  172. package/package/frontend/themes/gov-uk/index.js +0 -9
  173. package/package/frontend/themes/gov-uk/styles/_base.scss +0 -17
  174. package/package/frontend/themes/gov-uk/styles/_check_your_answers.scss +0 -155
  175. package/package/frontend/themes/gov-uk/styles/_cookie-banner.scss +0 -111
  176. package/package/frontend/themes/gov-uk/styles/_cookie-settings.scss +0 -33
  177. package/package/frontend/themes/gov-uk/styles/_govuk_frontend_toolkit.scss +0 -23
  178. package/package/frontend/themes/gov-uk/styles/_helpers.scss +0 -5
  179. package/package/frontend/themes/gov-uk/styles/_layout.scss +0 -125
  180. package/package/frontend/themes/gov-uk/styles/_panel-indent.scss +0 -27
  181. package/package/frontend/themes/gov-uk/styles/_pdf.scss +0 -42
  182. package/package/frontend/themes/gov-uk/styles/_session-timeout-dialog.scss +0 -121
  183. package/package/frontend/themes/gov-uk/styles/_typography.scss +0 -27
  184. package/package/frontend/themes/gov-uk/styles/_variables.scss +0 -11
  185. package/package/frontend/themes/gov-uk/styles/govuk.scss +0 -43
  186. package/package/frontend/themes/gov-uk/styles/mixins.scss +0 -16
  187. package/package/frontend/themes/gov-uk/styles/modules/_alerts.scss +0 -73
  188. package/package/frontend/themes/gov-uk/styles/modules/_buttons.scss +0 -5
  189. package/package/frontend/themes/gov-uk/styles/modules/_character-count.scss +0 -8
  190. package/package/frontend/themes/gov-uk/styles/modules/_confirm-page.scss +0 -20
  191. package/package/frontend/themes/gov-uk/styles/modules/_lists.scss +0 -5
  192. package/package/frontend/themes/gov-uk/styles/modules/_progressive-reveal.scss +0 -17
  193. package/package/frontend/themes/gov-uk/styles/modules/_validation.scss +0 -51
  194. package/package/frontend/themes/index.js +0 -5
  195. package/package/frontend/toolkit/assets/images/passports/new-window-link-blue.png +0 -0
  196. package/package/frontend/toolkit/assets/images/passports/new-window-link.png +0 -0
  197. package/package/frontend/toolkit/assets/images/spinner.gif +0 -0
  198. package/package/frontend/toolkit/assets/javascript/character-count.js +0 -99
  199. package/package/frontend/toolkit/assets/javascript/form-focus.js +0 -101
  200. package/package/frontend/toolkit/assets/javascript/helpers.js +0 -177
  201. package/package/frontend/toolkit/assets/javascript/progressive-reveal.js +0 -72
  202. package/package/frontend/toolkit/assets/javascript/validation.js +0 -71
  203. package/package/frontend/toolkit/assets/javascript/vendor/details.polyfill.js +0 -189
  204. package/package/frontend/toolkit/assets/javascript/vendor/indexof.polyfill.js +0 -39
  205. package/package/frontend/toolkit/assets/javascript/vendor/safari-cachebuster.js +0 -6
  206. package/package/frontend/toolkit/assets/stylesheets/_base.scss +0 -17
  207. package/package/frontend/toolkit/assets/stylesheets/_helpers.scss +0 -5
  208. package/package/frontend/toolkit/assets/stylesheets/_layout.scss +0 -118
  209. package/package/frontend/toolkit/assets/stylesheets/_typography.scss +0 -27
  210. package/package/frontend/toolkit/assets/stylesheets/_variables.scss +0 -11
  211. package/package/frontend/toolkit/assets/stylesheets/app.scss +0 -30
  212. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_buttons.scss +0 -47
  213. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_details.scss +0 -38
  214. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_elements-typography.scss +0 -175
  215. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_forms.scss +0 -167
  216. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_helpers.scss +0 -39
  217. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_layout.scss +0 -67
  218. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_lists.scss +0 -40
  219. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_panels.scss +0 -29
  220. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_reset.scss +0 -33
  221. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/_tables.scss +0 -33
  222. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-block-labels.scss +0 -63
  223. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-date.scss +0 -39
  224. package/package/frontend/toolkit/assets/stylesheets/govuk-elements/forms/_form-validation.scss +0 -63
  225. package/package/frontend/toolkit/assets/stylesheets/mixins.scss +0 -16
  226. package/package/frontend/toolkit/assets/stylesheets/modules/_alerts.scss +0 -73
  227. package/package/frontend/toolkit/assets/stylesheets/modules/_buttons.scss +0 -5
  228. package/package/frontend/toolkit/assets/stylesheets/modules/_confirm-page.scss +0 -20
  229. package/package/frontend/toolkit/assets/stylesheets/modules/_lists.scss +0 -5
  230. package/package/frontend/toolkit/assets/stylesheets/modules/_progressive-reveal.scss +0 -17
  231. package/package/frontend/toolkit/assets/stylesheets/modules/_validation.scss +0 -51
  232. package/package/frontend/toolkit/index.js +0 -10
  233. package/package/index.js +0 -351
  234. package/package/lib/deindex.js +0 -18
  235. package/package/lib/encryption.js +0 -23
  236. package/package/lib/ga-tag.js +0 -89
  237. package/package/lib/health.js +0 -26
  238. package/package/lib/helpers.js +0 -66
  239. package/package/lib/logger.js +0 -65
  240. package/package/lib/markdown.js +0 -46
  241. package/package/lib/router.js +0 -111
  242. package/package/lib/serve-static.js +0 -12
  243. package/package/lib/sessions.js +0 -82
  244. package/package/lib/settings.js +0 -74
  245. package/package/lib/which.js +0 -28
  246. package/package/middleware/cookies.js +0 -43
  247. package/package/middleware/deep-translate.js +0 -32
  248. package/package/middleware/errors.js +0 -119
  249. package/package/middleware/index.js +0 -10
  250. package/package/middleware/not-found.js +0 -38
  251. package/package/middleware/rate-limiter.js +0 -98
  252. package/package/middleware/service-unavailable.js +0 -64
  253. package/package/model/apis/axios-settings.js +0 -21
  254. package/package/model/apis/html-to-pdf-converter.js +0 -35
  255. package/package/model/apis/index.js +0 -5
  256. package/package/model/index.js +0 -348
  257. package/package/package.json +0 -147
  258. package/package/sandbox/README.md +0 -66
  259. package/package/sandbox/apps/sandbox/behaviours/clear-session.js +0 -8
  260. package/package/sandbox/apps/sandbox/behaviours/country-select.js +0 -10
  261. package/package/sandbox/apps/sandbox/behaviours/international-number.js +0 -22
  262. package/package/sandbox/apps/sandbox/fields.js +0 -128
  263. package/package/sandbox/apps/sandbox/index.js +0 -99
  264. package/package/sandbox/apps/sandbox/lib/staticAppealStages.js +0 -189
  265. package/package/sandbox/apps/sandbox/sections/summary-data-sections.js +0 -43
  266. package/package/sandbox/apps/sandbox/translations/src/en/errors.json +0 -5
  267. package/package/sandbox/apps/sandbox/translations/src/en/exit.json +0 -4
  268. package/package/sandbox/apps/sandbox/translations/src/en/fields.json +0 -101
  269. package/package/sandbox/apps/sandbox/translations/src/en/journey.json +0 -7
  270. package/package/sandbox/apps/sandbox/translations/src/en/pages.json +0 -72
  271. package/package/sandbox/apps/sandbox/translations/src/en/validation.json +0 -54
  272. package/package/sandbox/apps/sandbox/views/form-guidance-link.html +0 -8
  273. package/package/sandbox/apps/sandbox/views/save-and-exit.html +0 -19
  274. package/package/sandbox/assets/images/icons/icon-caret-left.png +0 -0
  275. package/package/sandbox/assets/images/icons/icon-complete.png +0 -0
  276. package/package/sandbox/assets/images/icons/icon-cross-remove-sign.png +0 -0
  277. package/package/sandbox/assets/js/index.js +0 -70
  278. package/package/sandbox/assets/scss/app.scss +0 -27
  279. package/package/sandbox/codecept.conf.js +0 -15
  280. package/package/sandbox/config.js +0 -17
  281. package/package/sandbox/package.json +0 -26
  282. package/package/sandbox/server.js +0 -23
  283. package/package/sandbox/yarn.lock +0 -262
  284. package/package/transpiler/index.js +0 -2
  285. package/package/transpiler/lib/aggregate.js +0 -32
  286. package/package/transpiler/lib/build.js +0 -15
  287. package/package/transpiler/lib/compile.js +0 -12
  288. package/package/transpiler/lib/expand-dirs.js +0 -14
  289. package/package/transpiler/lib/write-files.js +0 -24
  290. package/package/utilities/autofill/index.js +0 -189
  291. package/package/utilities/autofill/inputs.js +0 -60
  292. package/package/utilities/countries.js +0 -12
  293. package/package/utilities/helpers/index.js +0 -189
  294. package/package/utilities/index.js +0 -9
  295. package/package/utilities/reqres/index.js +0 -18
  296. package/package/utilities/test-data/data/domain.json +0 -7
  297. package/package/utilities/test-data/data/firstname.json +0 -16
  298. package/package/utilities/test-data/data/lastname.json +0 -10
  299. package/package/utilities/test-data/data/postcode.json +0 -12
  300. package/package/utilities/test-data/data/streetname.json +0 -8
  301. package/package/utilities/test-data/data/streetsuffix.json +0 -7
  302. package/package/utilities/test-data/data/town.json +0 -9
  303. package/package/utilities/test-data/index.js +0 -67
  304. package/package/wizard/behaviours/complete.js +0 -20
  305. package/package/wizard/behaviours/index.js +0 -5
  306. package/package/wizard/index.js +0 -124
  307. package/package/wizard/middleware/back-links.js +0 -68
  308. package/package/wizard/middleware/check-complete.js +0 -13
  309. package/package/wizard/middleware/check-progress.js +0 -139
  310. package/package/wizard/middleware/check-session.js +0 -17
  311. package/package/wizard/middleware/csrf.js +0 -47
  312. package/package/wizard/middleware/session-model.js +0 -11
  313. package/package/wizard/middleware/session.js +0 -9
  314. package/package/wizard/model.js +0 -29
  315. package/package/wizard/util/constants.js +0 -5
  316. package/package/wizard/util/helpers.js +0 -19
@@ -1,55 +0,0 @@
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}}
@@ -1,8 +0,0 @@
1
- {{<partials-page}}
2
- {{$page-content}}
3
- {{#rows}}
4
- {{> partials-summary-table}}
5
- {{/rows}}
6
- {{#input-submit}}confirm{{/input-submit}}
7
- {{/page-content}}
8
- {{/partials-page}}
@@ -1,19 +0,0 @@
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
-
@@ -1 +0,0 @@
1
- {{<error}}{{/error}}
@@ -1,84 +0,0 @@
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}}
@@ -1,4 +0,0 @@
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>
@@ -1,12 +0,0 @@
1
- {{<email-layout}}
2
- {{$email-content}}
3
- {{#data}}
4
- {{> email-section-row}}
5
- {{#fields}}
6
- {{#value}}
7
- {{> email-data-row}}
8
- {{/value}}
9
- {{/fields}}
10
- {{/data}}
11
- {{/email-content}}
12
- {{/email-layout}}
@@ -1,63 +0,0 @@
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;">&nbsp;</p>
45
- </td>
46
- <td width="25%">&nbsp;</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%">&nbsp;</td>
60
- </tr>
61
- </table>
62
- </body>
63
- </html>
@@ -1,11 +0,0 @@
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}}
@@ -1,3 +0,0 @@
1
- <tr style="border-top: 1px solid #009390;">
2
- <td width="100%" colspan="2"><p style="font-size: 16px; color: #000; margin: 10px 0;">{{#t}}pages.{{section}}.header{{/t}}</p></td>
3
- </tr>
@@ -1,20 +0,0 @@
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}}
@@ -1,9 +0,0 @@
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}}
@@ -1,11 +0,0 @@
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}}
@@ -1,55 +0,0 @@
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}} &ndash; {{serviceName}}{{/serviceName}} &ndash; 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}}
@@ -1,25 +0,0 @@
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>
@@ -1,5 +0,0 @@
1
- {{$back}}
2
- {{#backLink}}
3
- <a class="govuk-back-link" href="{{#url}}{{backLink}}{{/url}}">{{#t}}buttons.back{{/t}}</a>
4
- {{/backLink}}
5
- {{/back}}
@@ -1,7 +0,0 @@
1
- <ul class="govuk-list govuk-list--bullet">
2
- {{#items}}
3
- <li>
4
- {{.}}
5
- </li>
6
- {{/items}}
7
- </ul>
@@ -1,6 +0,0 @@
1
- <div class="govuk-panel govuk-panel--confirmation" role="alert">
2
- <h1 govuk-panel__title>{{#t}}journey.confirmation.message{{/t}}</h1>
3
- <div class="govuk-panel__body">
4
- {{#t}}journey.confirmation.details{{/t}}
5
- </div>
6
- </div>
@@ -1,5 +0,0 @@
1
- {{$continue}}
2
- {{#continueLink}}
3
- <a class="govuk-button" href="{{#url}}{{continueLink}}{{/url}}">{{#t}}buttons.continue{{/t}}</a>
4
- {{/continueLink}}
5
- {{/continue}}
@@ -1,29 +0,0 @@
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>
@@ -1,4 +0,0 @@
1
- <div id="cookie-notification" tabindex="-1">
2
- <h1 class="heading-medium">Your cookie settings were saved</h1>
3
- <p>Government services may set additional cookies and, if so, will have their own cookie policy and banner.</p>
4
- </div>
@@ -1 +0,0 @@
1
- <button class="button" type="submit" id="save-cookie-settings" aria-label="Save changes to cookie preferences">Save changes</button>
@@ -1,8 +0,0 @@
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>
@@ -1,8 +0,0 @@
1
- <details>
2
- <summary role="button">
3
- <span class="summary">{{summary}}</span>
4
- </summary>
5
- <div class="panel-indent">
6
- {{details}}
7
- </div>
8
- </details>
@@ -1 +0,0 @@
1
- <p class="govuk-body">{{before}}<a class="govuk-link" href="{{href}}" rel="external">{{link}}</a>{{after}}</p>
@@ -1,10 +0,0 @@
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>
@@ -1,60 +0,0 @@
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}}
@@ -1,31 +0,0 @@
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">
@@ -1,11 +0,0 @@
1
- {{$journeyHeader}}
2
- {{> partials-validation-summary}}
3
- {{/journeyHeader}}
4
-
5
- {{$validationSummary}}
6
- {{> partials-validation-summary}}
7
- {{/validationSummary}}
8
-
9
- {{$propositionHeader}}
10
- {{> partials-navigation}}
11
- {{/propositionHeader}}