Skip to content

Commit 7547a5b

Browse files
Adding CIS2 login button to CSS
1 parent 5436668 commit 7547a5b

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

app/assets/sass/components/_buttons.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@
1010
.nhsuk-button--blue:active {
1111
background-color: #002f5c;
1212
}
13+
14+
.app-button--cis2 {
15+
align-items: center;
16+
background-color: #005eb8;
17+
box-shadow: 0 4px 0 #003087;
18+
display: inline-flex
19+
;
20+
gap: 16px;
21+
}

app/views/reg-portal/login.html

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{% extends 'reg-portal/layout.html' %}
2+
3+
{% block pageTitle %}
4+
GP hub - NHS
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: "Return to Manage your profile",
14+
href: "/gp/gp-profile-manager-manage"
15+
}) }}-->
16+
17+
<h1 class="nhsuk-heading-xl">GP hub</h1>
18+
<p>For use with the GP registration service.</p>
19+
<p>You can use this service to:</p>
20+
<ul>
21+
<li>Accept or reject new registrations to your practice</li>
22+
<li>something else that might be added...</li>
23+
</ul>
24+
<h2 class="nhsuk-heading-l">Before you start</h2>
25+
<p>We'll ask you to log in with your Care Identity account.</p>
26+
<p>If you are not currently using a computer with a smartcard reader installed, you can:</p>
27+
<ul>
28+
<li>switch to a computer with a smartcard reader installed</li>
29+
<li>use another authentication method – contact your local registration authority to enable this for your account</li>
30+
</ul>
31+
32+
33+
34+
<a class="nhsuk-button app-button--cis2 nhsuk-u-margin-bottom-4" data-module="nhsuk-button" href="/sign-in/cis2" draggable="false" role="button">
35+
<svg class="nhsuk-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 32" height="27" aria-hidden="true" focusable="false">
36+
<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>
37+
</svg>
38+
<div><span>Log in with my </span>Care Identity</div>
39+
</a>
40+
41+
<h2 class="nhsuk-heading-l nhsuk-u-padding-top-6">Support</h2>
42+
<p>For service support, <strong>email <a href="">[email protected]</a></strong> or <strong>call 03003035035</strong>. Support is available 24 hours a day, 7 days a week.</p>
43+
44+
</div>
45+
</div>
46+
47+
48+
49+
{% endblock %}
50+
51+
{% block pageScripts %}
52+
53+
54+
{% endblock %}

0 commit comments

Comments
 (0)