Skip to content

Commit 394e4d1

Browse files
2 parents 36a3559 + c7c67d8 commit 394e4d1

File tree

2 files changed

+86
-1
lines changed

2 files changed

+86
-1
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{% extends 'reg-portal/layout.html' %}
2+
3+
{% block pageTitle %}
4+
Select your login method - CIS2 - Care Identity Authentication
5+
{% endblock %}
6+
7+
{% block content %}
8+
9+
<div class="nhsuk-grid-row">
10+
<div class="nhsuk-grid-column-two-thirds">
11+
12+
{{ backLink({
13+
text: "Go back",
14+
href: "login"
15+
}) }}
16+
17+
<form action="reject-confirm" method="post" autocomplete="off">
18+
19+
{% call fieldset({
20+
legend: {
21+
text: "Select your login method",
22+
classes: "nhsuk-fieldset__legend--l",
23+
isPageHeading: true
24+
}
25+
}) %}
26+
27+
{{ hint({
28+
text: "Your choice will be saved as your preferred login method for this browser."
29+
}) }}
30+
31+
{{ hint({
32+
text: "You may have to repeat this step if you clear your browser's cookies.",
33+
"classes": "nhsuk-u-margin-bottom-4"
34+
}) }}
35+
36+
{{ radios({
37+
"idPrefix": "login-option",
38+
"name": "login-option",
39+
"items": [
40+
{
41+
"value": "Smartcard",
42+
"text": "Smartcard",
43+
checked: checked("login-option", "Smartcard")
44+
},
45+
46+
{
47+
"value": "Windows Hello for Business",
48+
"text": "Windows Hello for Business",
49+
checked: checked("login-option", "Windows Hello for Business")
50+
},
51+
{
52+
"value": "Security key",
53+
"text": "Security key",
54+
checked: checked("login-option", "Security key")
55+
},
56+
{
57+
"value": "iPad app",
58+
"text": "iPad app",
59+
checked: checked("login-option", "iPad app")
60+
}
61+
]
62+
}) }}
63+
64+
{% endcall %}
65+
66+
{{ button({
67+
"text": "Continue"
68+
}) }}
69+
70+
</form>
71+
72+
</div>
73+
</div>
74+
75+
</div>
76+
</div>
77+
78+
79+
80+
{% endblock %}
81+
82+
{% block pageScripts %}
83+
84+
85+
{% endblock %}

app/views/reg-portal/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h2 class="nhsuk-heading-l">Before you start</h2>
3131

3232

3333

34-
<a class="nhsuk-button nhsuk-button--blue app-button--cis2 nhsuk-u-margin-bottom-4" data-module="nhsuk-button" href="/sign-in/cis2" draggable="false" role="button">
34+
<a class="nhsuk-button nhsuk-button--blue app-button--cis2 nhsuk-u-margin-bottom-4" data-module="nhsuk-button" href="login-options" draggable="false" role="button">
3535
<svg class="nhsuk-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 32" height="27" aria-hidden="true" focusable="false">
3636
<path fill="currentColor" d="M80 0v32H0V0h80ZM69 2.2c-5.8 0-11.6 2-11.6 8.8 0 7.4 10.2 5.8 10.2 10 0 2.6-3.4 3-5.6 3-2.2 0-5-.6-6.4-1.4L54 28c2.2.8 5.4 1.4 8 1.4 6.2 0 12.8-1.8 12.8-9 0-7.8-10.2-6.6-10.2-10.2 0-2.2 2.2-2.6 5-2.6 2.6 0 4.4.6 5.8 1.2L77 3.4c-1.8-.8-4.8-1.2-8-1.2ZM16.6 3H7.8L2.2 29h6.6l3.6-18h.2L18 29h8.6l5.6-26h-6.6L22 21h-.2L16.6 3Zm25.2 0h-7.2l-5.2 26h6.8l2.4-11.2h8.2L44.6 29h7L57 3h-7l-2.2 9.8h-8l2-9.8Z"></path>
3737
</svg>

0 commit comments

Comments
 (0)