Skip to content

Commit 5e6f445

Browse files
authored
Lists 8 july 2025 (#397)
1 parent 87bbab9 commit 5e6f445

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed

app/views/lists/add-nhs-numbers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}) }}
2020
{% endif %}
2121

22-
<form action="/lists/add-numbers" method="post" novalidate>
22+
<form action="/lists/loading" method="post" novalidate>
2323

2424
<h1 class="nhsuk-heading-l">Add a list of NHS numbers</h1>
2525

app/views/lists/loading.html

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{% extends 'layout.html' %}
2+
3+
{% set pageName = "Add a list of NHS numbers" %}
4+
5+
{% set currentSection = "lists" %}
6+
7+
8+
{% block content %}
9+
<div class="nhsuk-grid-row">
10+
<div class="nhsuk-grid-column-two-thirds">
11+
12+
{% if (errors | length) > 0 %}
13+
{{ errorSummary({
14+
titleText: "There is a problem",
15+
errorList: errors
16+
}) }}
17+
{% endif %}
18+
19+
<form action="/lists/add-numbers" method="post" novalidate>
20+
21+
<h1 class="nhsuk-heading-m">Loading</h1>
22+
23+
24+
<div class="loader"></div>
25+
<style>
26+
.loader {
27+
border: 12px solid #DEE0E2;
28+
border-radius: 50%;
29+
border-top-color: #005eb8;
30+
width: 80px;
31+
height: 80px;
32+
-webkit-animation: spin 2s linear infinite;
33+
animation: spin 2s linear infinite;
34+
}
35+
@-webkit-keyframes spin {
36+
0% { -webkit-transform: rotate(0deg); }
37+
100% { -webkit-transform: rotate(360deg); }
38+
}
39+
@keyframes spin {
40+
0% { transform: rotate(0deg); }
41+
100% { transform: rotate(360deg); }
42+
}
43+
.center {
44+
margin: auto;
45+
46+
}
47+
</style>
48+
49+
<br>
50+
51+
52+
<p>Looking up NHS numbers <br> Found 16 out of 104</p>
53+
54+
55+
<meta http-equiv=refresh content="5; url=http:/lists/list">
56+
57+
58+
{% endblock %}
59+

0 commit comments

Comments
 (0)