Skip to content

Commit a7254f1

Browse files
Created new unstyled error page
1 parent bc841e5 commit a7254f1

File tree

3 files changed

+142
-0
lines changed

3 files changed

+142
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<!--
2+
This is the main layout where you can:
3+
- change the header and footer
4+
- add custom CSS and JavaScript
5+
-->
6+
7+
<!-- Extends the layout from /docs/views/template.html -->
8+
{% extends "template.html" %}
9+
10+
<!-- Add your custom CSS or Sass in /app/assets/sass/main.scss -->
11+
{% block headCSS %}
12+
<link href="/css/main.css" rel="stylesheet">
13+
{% endblock %}
14+
15+
<!-- Set the page title -->
16+
{% block pageTitle %}
17+
GP Registration
18+
{% endblock %}
19+
20+
<!-- Edit the header -->
21+
<!-- Header code examples can be found at https://service-manual.nhs.uk/design-system/components/header -->
22+
{% block header %}
23+
{{ header({
24+
"service": {
25+
"name": "Change your home address",
26+
"href": "/"
27+
},
28+
"showNav": "false",
29+
"showSearch": "false"
30+
})
31+
}}
32+
33+
34+
<!--{% if feedbackType %}
35+
{% if servicePhase === 'beta' %}
36+
{% include 'live/includes/feedback.html' %}
37+
{% else %}
38+
39+
{% endif %}
40+
{% endif %}-->
41+
42+
{% endblock %}
43+
44+
<!-- Edit the footer -->
45+
<!-- Footer code examples can be found at https://service-manual.nhs.uk/design-system/components/footer -->
46+
{% block footer %}
47+
{{ footer({
48+
"links": [
49+
{
50+
"URL": "/legal/terms",
51+
"label": "Terms of use"
52+
},
53+
{
54+
"URL": "/",
55+
"label": "Cookies"
56+
},
57+
{
58+
"URL": "/legal/accessibility-statement",
59+
"label": "Accessibility"
60+
}
61+
]
62+
})}}
63+
{% endblock %}
64+
65+
{% block bodyEnd %}
66+
67+
{% if data['devMode'] === 'true' %}
68+
{% include "includes/devmode.html" %}
69+
{% endif %}
70+
71+
72+
{% block scripts %}
73+
<!-- Custom JavaScript files can be added to this file -->
74+
{% include "includes/scripts.html" %}
75+
<!-- For adding page specific JavsScript -->
76+
{% block pageScripts %}{% endblock %}
77+
{% endblock %}
78+
{% endblock %}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{% set serviceHome = '/live/start' %}
2+
3+
{% extends 'address-update/layout-no-feedback.html' %}
4+
5+
{% set heading = "" %}
6+
7+
{% block pageTitle %}
8+
Sorry there is a problem - NHS
9+
{% endblock %}
10+
11+
{% block content %}
12+
13+
<div class="nhsuk-grid-row">
14+
<div class="nhsuk-grid-column-two-thirds nhsuk-u-margin-bottom-4">
15+
16+
<h1 class="nhsuk-heading-l">Sorry, there is a problem</h1>
17+
<p>This may be a temporary problem.</p>
18+
<p>Close this tab and try logging in again. If you cannot log in, try again later.</p>
19+
<h2 class="nhsuk-heading-m">Other ways to change your address</h2>
20+
<p>You can also change your home address by contacting your current GP surgery or <a href="https://www.nhs.uk/service-search/find-a-gp/">registering with your nearest GP surgery</a>.</p>
21+
22+
</div>
23+
</div>
24+
25+
{% include 'live/includes/devmode.html' %}
26+
27+
{% endblock %}
28+
29+
{% block footer %}
30+
{% include 'live/includes/footer-blank.html' %}
31+
{% endblock %}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<footer role="contentinfo">
2+
<div class="nhsuk-footer-container">
3+
<div class="nhsuk-width-container">
4+
5+
<p class="nhsuk-footer__copyright">© NHS England</p>
6+
</div>
7+
</div>
8+
9+
</footer>
10+
11+
12+
13+
<!--{{ footer({
14+
"links": [
15+
{
16+
"URL": "terms",
17+
"label": "Terms of use"
18+
},
19+
{
20+
"URL": "cookies",
21+
"label": "Cookies"
22+
},
23+
{
24+
"URL": "privacy",
25+
"label": "Privacy notice"
26+
},
27+
{
28+
"URL": "accessibility-statement",
29+
"label": "Accessibility"
30+
}
31+
],
32+
"copyright": "&copy; Crown copyright"
33+
}) }}-->

0 commit comments

Comments
 (0)