Skip to content

Commit e92eca2

Browse files
committed
updating index
1 parent 5c6fc42 commit e92eca2

4 files changed

+283
-86
lines changed
+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<!-- Use this page as the index for your project -->
2+
3+
<!-- ADDING CUSTOM CSS - Add your custom CSS or Sass in /app/assets/sass/main.scss -->
4+
5+
<!-- Extends the layout from /views/layout.html -->
6+
{% extends 'layout.html' %}
7+
<!--
8+
In /views/layout.html you can:
9+
- change the header and footer
10+
- add custom CSS and JavaScript
11+
-->
12+
13+
<!-- Set the page title -->
14+
{% block pageTitle %}
15+
Overseas Healthcare Service RINA
16+
{% endblock %}
17+
18+
<!-- For adding a breadcrumb -->
19+
<!-- Code examples can be found at https://service-manual.nhs.uk/design-system/components/breadcrumbs -->
20+
{% block beforeContent %}
21+
22+
{% endblock %}
23+
24+
<!-- For adding a back link -->
25+
<!-- Code examples can be found at https://service-manual.nhs.uk/design-system/components/back-link -->
26+
{% block outerContent %}
27+
{% endblock %}
28+
29+
<!-- For adding page content -->
30+
<!-- Page layout code can be found at https://service-manual.nhs.uk/design-system/styles/layout -->
31+
{% block content %}
32+
<div class="nhsBSA-sidebar-container">
33+
34+
<div class="nhsBSA-sidebar-wrapper">
35+
36+
<!-- content - start -->
37+
38+
39+
<div class="nhsBSA-sidebar-content">
40+
<div class="nhsuk-grid-column-two-thirds ul-padding-left-lrg">
41+
42+
<h1 class="app-page-heading">Are you sure you want to leave this form?</h1>
43+
<p>All your data will be lost if you leave without completing this form.</p>
44+
45+
<div class="nhsuk-form-group">
46+
47+
<fieldset class="nhsuk-fieldset">
48+
49+
<div class="nhsuk-radios">
50+
51+
<div class="nhsuk-radios__item">
52+
<input class="nhsuk-radios__input" id="example-1" name="example-1" type="radio" value="yes">
53+
<label class="nhsuk-label nhsuk-radios__label" for="example-1">
54+
Yes, leave without completing
55+
</label>
56+
</div>
57+
58+
<div class="nhsuk-radios__item">
59+
<input class="nhsuk-radios__input" id="example-2" name="example-1" type="radio" value="no">
60+
<label class="nhsuk-label nhsuk-radios__label" for="example-2" >
61+
No, go back to editing
62+
</label>
63+
</div>
64+
65+
<a href="sed-create-h001-are-you-sure">
66+
<button class="nhsuk-button nhsuk-u-margin-top-6" data-module="nhsuk-button" type="submit">
67+
Submit
68+
</button>
69+
</a>
70+
</div>
71+
</fieldset>
72+
</div>
73+
</div>
74+
</div>
75+
76+
<!-- content - end -->
77+
</div>
78+
</div>
79+
{% endblock %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<!-- Use this page as the index for your project -->
2+
3+
<!-- ADDING CUSTOM CSS - Add your custom CSS or Sass in /app/assets/sass/main.scss -->
4+
5+
<!-- Extends the layout from /views/layout.html -->
6+
{% extends 'layout.html' %}
7+
<!--
8+
In /views/layout.html you can:
9+
- change the header and footer
10+
- add custom CSS and JavaScript
11+
-->
12+
13+
<!-- Set the page title -->
14+
{% block pageTitle %}
15+
Overseas Healthcare Service RINA
16+
{% endblock %}
17+
18+
<!-- For adding a breadcrumb -->
19+
<!-- Code examples can be found at https://service-manual.nhs.uk/design-system/components/breadcrumbs -->
20+
{% block beforeContent %}
21+
<!--<nav class="nhsuk-breadcrumb clearfix" aria-label="Breadcrumb">
22+
23+
<div class="nhsuk-grid-column-one-half">
24+
<ol class="nhsuk-breadcrumb__list">
25+
<li class="nhsuk-breadcrumb__item"><a class="nhsuk-breadcrumb__link" href="ohs-record-manage-case">Home</a></li>
26+
<li class="nhsuk-breadcrumb__item"><a class="nhsuk-breadcrumb__link" href="ohs-record-manage-case">Case management ID 78793</a></li>
27+
</ol>
28+
</div>
29+
30+
31+
</nav>-->
32+
{% endblock %}
33+
34+
<!-- For adding a back link -->
35+
<!-- Code examples can be found at https://service-manual.nhs.uk/design-system/components/back-link -->
36+
{% block outerContent %}
37+
{% endblock %}
38+
39+
<!-- For adding page content -->
40+
<!-- Page layout code can be found at https://service-manual.nhs.uk/design-system/styles/layout -->
41+
{% block content %}
42+
43+
<!-- Content - Start -->
44+
<div class="nhsuk-width-container-fluid clearfix ul-padding-top-lrg">
45+
46+
<div class="nhsuk-grid-column-two-thirds">
47+
<div class="nhsuk-back-link">
48+
<a class="nhsuk-back-link__link" href="javascript:history.go(-1)">
49+
<svg class="nhsuk-icon nhsuk-icon__chevron-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" height="24" width="24">
50+
<path d="M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z"></path>
51+
</svg>
52+
Go back</a>
53+
</div>
54+
55+
<div class="nhsuk-grid-row nhsuk-u-margin-top-9">
56+
<div class="nhsuk-grid-column-full">
57+
<h1 class="nhsuk-heading-l">
58+
What is your entitlement decision?
59+
</h1>
60+
</div>
61+
</div>
62+
63+
<!-- Personal Details - Start -->
64+
65+
<div class="nhsuk-grid-row">
66+
<div class="nhsuk-grid-column-three-quarters">
67+
<div class="nhsuk-form-group nhsuk-u-margin-top-4">
68+
69+
<div class="nhsuk-form-group">
70+
<fieldset class="nhsuk-fieldset" id="">
71+
<legend class="nhsuk-fieldset__legend nhsuk-fieldset__legend--l">
72+
<p class="nhsuk-label nhsuk-date-input__label">
73+
Select to issue or reject entitlement.
74+
</p>
75+
</legend>
76+
77+
<div class="nhsuk-radios">
78+
79+
<div class="nhsuk-radios__item">
80+
<input class="nhsuk-radios__input" id="example-1" name="example" type="radio" value="yes">
81+
<label class="nhsuk-label nhsuk-radios__label" for="example-1">
82+
Issue entitlement
83+
</label>
84+
</div>
85+
86+
<div class="nhsuk-radios__item">
87+
<input class="nhsuk-radios__input" id="example-2" name="example" type="radio" value="no">
88+
<label class="nhsuk-label nhsuk-radios__label" for="example-2">
89+
Reject entitlement
90+
</label>
91+
</div>
92+
93+
</div>
94+
</fieldset>
95+
96+
</div>
97+
</div>
98+
<a href="unhappy-path-step6-case-management" style="font-size: 19px;">
99+
<button class="nhsuk-button nhsuk-button--primary nhsuk-u-margin-bottom-0 nhsuk-u-margin-top-4" data-module="nhsuk-button" type="submit" title="Update record">
100+
Update record
101+
</button>
102+
</a>
103+
<a href="unhappy-path-step4-case-management-pending-check" style="display: block;" class="nhsuk-u-margin-top-4 nhsuk-u-margin-bottom-4">Cancel</a>
104+
</div>
105+
</div>
106+
</div>
107+
</div>
108+
109+
110+
{% endblock %}

app/views/sed-are-you-sure.html

+57-39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<!-- Use this page as the index for your project -->
23

34
<!-- ADDING CUSTOM CSS - Add your custom CSS or Sass in /app/assets/sass/main.scss -->
@@ -18,7 +19,17 @@
1819
<!-- For adding a breadcrumb -->
1920
<!-- Code examples can be found at https://service-manual.nhs.uk/design-system/components/breadcrumbs -->
2021
{% block beforeContent %}
22+
<!--<nav class="nhsuk-breadcrumb clearfix" aria-label="Breadcrumb">
23+
24+
<div class="nhsuk-grid-column-one-half">
25+
<ol class="nhsuk-breadcrumb__list">
26+
<li class="nhsuk-breadcrumb__item"><a class="nhsuk-breadcrumb__link" href="ohs-record-manage-case">Home</a></li>
27+
<li class="nhsuk-breadcrumb__item"><a class="nhsuk-breadcrumb__link" href="ohs-record-manage-case">Case management ID 78793</a></li>
28+
</ol>
29+
</div>
30+
2131
32+
</nav>-->
2233
{% endblock %}
2334

2435
<!-- For adding a back link -->
@@ -29,49 +40,56 @@
2940
<!-- For adding page content -->
3041
<!-- Page layout code can be found at https://service-manual.nhs.uk/design-system/styles/layout -->
3142
{% block content %}
32-
<div class="nhsBSA-sidebar-container">
33-
<div class="nhsBSA-sidebar-wrapper">
34-
35-
<!-- content - start -->
36-
37-
<div class="nhsBSA-sidebar-content">
38-
<div class="nhsuk-grid-column-two-thirds ul-padding-left-lrg">
39-
40-
<h1 class="app-page-heading">Are you sure you want to leave this form?</h1>
41-
<p>All your data will be lost if you leave without completing this form.</p>
42-
43-
<div class="nhsuk-form-group">
44-
45-
<fieldset class="nhsuk-fieldset">
46-
47-
<div class="nhsuk-radios">
48-
49-
<div class="nhsuk-radios__item">
50-
<input class="nhsuk-radios__input" id="example-1" name="example-1" type="radio" value="yes">
51-
<label class="nhsuk-label nhsuk-radios__label" for="example-1">
52-
Yes, leave without completing
53-
</label>
54-
</div>
55-
56-
<div class="nhsuk-radios__item">
57-
<input class="nhsuk-radios__input" id="example-2" name="example-1" type="radio" value="no">
58-
<label class="nhsuk-label nhsuk-radios__label" for="example-2" >
59-
No, go back to editing
60-
</label>
61-
</div>
43+
44+
<!-- Content - Start -->
45+
<div class="nhsuk-width-container-fluid clearfix ul-padding-top-lrg">
46+
47+
<div class="nhsuk-grid-column-two-thirds">
48+
<div class="nhsuk-back-link">
49+
<a class="nhsuk-back-link__link" href="javascript:history.go(-1)">
50+
<svg class="nhsuk-icon nhsuk-icon__chevron-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" height="24" width="24">
51+
<path d="M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z"></path>
52+
</svg>
53+
Go back</a>
54+
</div>
6255

63-
<a href="sed-create-h001-are-you-sure">
64-
<button class="nhsuk-button nhsuk-u-margin-top-6" data-module="nhsuk-button" type="submit">
65-
Submit
66-
</button>
67-
</a>
68-
</div>
69-
</fieldset>
70-
</div>
56+
<div class="nhsuk-grid-row nhsuk-u-margin-top-9">
57+
<div class="nhsuk-grid-column-full">
58+
<h1 class="app-page-heading">Are you sure you want to leave this form?</h1>
59+
<p>All your data will be lost if you leave without completing this form.</p>
7160
</div>
7261
</div>
62+
<div class="nhsuk-form-group">
63+
64+
<fieldset class="nhsuk-fieldset">
65+
66+
<div class="nhsuk-radios">
67+
68+
<div class="nhsuk-radios__item">
69+
<input class="nhsuk-radios__input" id="example-1" name="example-1" type="radio" value="yes">
70+
<label class="nhsuk-label nhsuk-radios__label" for="example-1">
71+
Yes, leave without completing
72+
</label>
73+
</div>
74+
75+
<div class="nhsuk-radios__item">
76+
<input class="nhsuk-radios__input" id="example-2" name="example-1" type="radio" value="no">
77+
<label class="nhsuk-label nhsuk-radios__label" for="example-2" >
78+
No, go back to editing
79+
</label>
80+
</div>
81+
82+
<a href="sed-create-h001-are-you-sure">
83+
<button class="nhsuk-button nhsuk-u-margin-top-6" data-module="nhsuk-button" type="submit">
84+
Submit
85+
</button>
86+
</a>
87+
</div>
88+
</fieldset>
89+
</div>
7390

74-
<!-- content - end -->
7591
</div>
7692
</div>
93+
94+
7795
{% endblock %}

0 commit comments

Comments
 (0)