Skip to content

Commit b82274f

Browse files
committed
updating the manage case personal details
1 parent 15ca5d9 commit b82274f

6 files changed

+109
-55
lines changed

app/assets/images/icon-copy.svg

+3
Loading

app/assets/sass/components/wide-layout-styles.css

+29-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
clear: both;
55
}
66

7-
.no-padding .nhsuk-grid-column-three-quarters, .no-padding .nhsuk-grid-column-one-half {
7+
.no-padding .nhsuk-grid-column-three-quarters, .no-padding .nhsuk-grid-column-one-half, .no-padding {
88
padding: 0;
99
}
1010

@@ -17,6 +17,10 @@
1717
padding: 20px 0;
1818
}
1919

20+
.visually-hidden {
21+
visibility: hidden;
22+
}
23+
2024
.nhsuk-header__content {
2125
float: right;
2226
}
@@ -213,6 +217,17 @@ table.ohs-match-record-table-font-size .nhsuk-table__cell .nhsuk-button--seconda
213217
margin-right: 14px;
214218
}
215219

220+
.icon-copy {
221+
background-image: url("/images/icon-copy.svg");
222+
background-size: contain;
223+
background-repeat: no-repeat;
224+
display: inline-block;
225+
height: 24px;
226+
width: 25%;
227+
vertical-align: middle;
228+
padding-right: 26px;
229+
}
230+
216231
.flag-no {
217232
background-image: url("/images/flag-no.svg");
218233
background-size: contain;
@@ -224,6 +239,19 @@ table.ohs-match-record-table-font-size .nhsuk-table__cell .nhsuk-button--seconda
224239
margin-right: 6px;
225240
}
226241

242+
.icon-copy span {
243+
padding-left: 26px;
244+
}
245+
246+
.institute-name {
247+
display: inline-block;
248+
width: 75%;
249+
}
250+
251+
.nhs-button--copy-clipboard {
252+
margin-top: 26px;
253+
}
254+
227255
.nhsuk-timeline__byline {
228256
display: inline;
229257
color: #4c6272;

app/assets/sass/components/wide-layout-styles.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/sass/components/wide-layout-styles.scss

+24-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
display:block;
44
clear:both;
55
}
6-
.no-padding .nhsuk-grid-column-three-quarters, .no-padding .nhsuk-grid-column-one-half {
6+
.no-padding .nhsuk-grid-column-three-quarters, .no-padding .nhsuk-grid-column-one-half, .no-padding {
77
padding: 0;
88
}
99
.nhsuk-index-container {
@@ -15,7 +15,9 @@
1515
.nhsuk-header__container {
1616
padding: 20px 0;
1717
}
18-
18+
.visually-hidden {
19+
visibility: hidden;
20+
}
1921
.nhsuk-header__content {
2022
float: right;
2123
}
@@ -194,6 +196,16 @@ table.ohs-match-record-table-font-size .nhsuk-table__cell .nhsuk-button--seconda
194196
vertical-align: middle;
195197
margin-right: 14px;
196198
}
199+
.icon-copy {
200+
background-image: url('/images/icon-copy.svg');
201+
background-size: contain;
202+
background-repeat: no-repeat;
203+
display: inline-block;
204+
height: 24px;
205+
width: 25%;
206+
vertical-align: middle;
207+
padding-right: 26px;
208+
}
197209
.flag-no {
198210
background-image: url('/images/flag-no.svg');
199211
background-size: contain;
@@ -204,6 +216,16 @@ table.ohs-match-record-table-font-size .nhsuk-table__cell .nhsuk-button--seconda
204216
vertical-align: middle;
205217
margin-right: 6px;
206218
}
219+
.icon-copy span {
220+
padding-left: 26px;
221+
}
222+
.institute-name {
223+
display: inline-block;
224+
width: 75%;
225+
}
226+
.nhs-button--copy-clipboard {
227+
margin-top: 26px;
228+
}
207229
.nhsuk-timeline__byline {
208230
display: inline;
209231
color: #4c6272;

app/views/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h2 class="nhsuk-u-visually-hidden">Support links</h2>
103103
</div>
104104
<div class="nhsuk-grid-column-full">
105105
<p>Built by the <a href="#">NHS Business Services Authority</a></p>
106-
</div>
106+
</div>
107107
<div class="nhsuk-grid-column-full">
108108
<p><span class="icon-ogl"></span><span>All content is available under the <a href="#">Open Government Licence v3.0</a> except where otherwise stated.</span></p>
109109
</div>

app/views/ohs-record-manage-case.html

+51-50
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ <h2 class="nhsuk-tabs__title">
199199

200200
<!-- Case details left summary list-->
201201

202-
<div class="nhsuk-grid-column-one-half">
202+
<div class="nhsuk-grid-column-one-half no-padding">
203203
<dl class="nhsuk-summary-list">
204204
<div class="nhsuk-summary-list__row">
205205
<dt class="nhsuk-summary-list__key">
@@ -231,14 +231,14 @@ <h2 class="nhsuk-tabs__title">
231231

232232
<!-- Case details right summary list-->
233233

234-
<div class="nhsuk-grid-column-one-half">
234+
<div class="nhsuk-grid-column-one-half no-padding">
235235
<dl class="nhsuk-summary-list">
236236
<div class="nhsuk-summary-list__row">
237237
<dt class="nhsuk-summary-list__key">
238238
Since
239239
</dt>
240240
<dd class="nhsuk-summary-list__value">
241-
13 December 2019
241+
13 September 2024
242242
</dd>
243243
</div>
244244

@@ -247,26 +247,61 @@ <h2 class="nhsuk-tabs__title">
247247
Update
248248
</dt>
249249
<dd class="nhsuk-summary-list__value">
250-
19 June 2024
250+
13 September 2024
251251
</dd>
252252
</div>
253253
<div class="nhsuk-summary-list__row ohs-table-no-last-row-border">
254254
<dt class="nhsuk-summary-list__key">
255-
Member state institution
255+
Institution
256256
</dt>
257257
<dd class="nhsuk-summary-list__value">
258-
UK:UK033, DHSC, ACC_Department of Health and Social Care, UK
258+
NO:HELFOA003, ACC Helfo Test 3, ACC Health Economics Administration, NO
259259
</dd>
260+
260261
</div>
261262
</dl>
262263
</div>
264+
265+
<!-- Case details sensitive question -->
266+
267+
<div class="">
268+
<div class="nhsuk-form-group">
269+
270+
<fieldset class="nhsuk-fieldset">
271+
<legend class="nhsuk-fieldset__legend nhsuk-fieldset__legend--l">
272+
<p>
273+
Is this case sensitive?
274+
</p>
275+
</legend>
276+
277+
<div class="nhsuk-radios nhsuk-radios--inline">
278+
279+
<div class="nhsuk-radios__item">
280+
<input class="nhsuk-radios__input" id="example-inline-1" name="example-inline" type="radio" value="yes">
281+
<label class="nhsuk-label nhsuk-radios__label" for="example-inline-1">
282+
Yes
283+
</label>
284+
</div>
285+
286+
<div class="nhsuk-radios__item">
287+
<input class="nhsuk-radios__input" id="example-inline-2" name="example-inline" type="radio" value="no">
288+
<label class="nhsuk-label nhsuk-radios__label" for="example-inline-2">
289+
No
290+
</label>
291+
</div>
292+
293+
</div>
294+
</fieldset>
295+
296+
</div>
297+
</div>
263298

264299
</div>
265300

266301
<div class="nhsuk-tabs__panel nhsuk-tabs__panel--hidden" id="participants">
267302

268303
<table class="nhsuk-table">
269-
<caption class="nhsuk-table__caption nhsuk-u-margin-bottom-3">Participants</caption>
304+
<caption class="nhsuk-table__caption visually-hidden">Participants</caption>
270305
<thead role="rowgroup" class="nhsuk-table__head">
271306
<tr role="row">
272307
<th role="columnheader" class="" scope="col">
@@ -288,61 +323,27 @@ <h2 class="nhsuk-tabs__title">
288323
</thead>
289324
<tbody class="nhsuk-table__body">
290325
<tr role="row" class="nhsuk-table__row">
291-
<td class="nhsuk-table__cell">Case owner
326+
<td class="nhsuk-table__cell">Case owner</td>
327+
<td class="nhsuk-table__cell ">NO:HELFOA003</td>
328+
<td class="nhsuk-table__cell ">ACC Helfo Test 3</td>
329+
<td class="nhsuk-table__cell ">ACC Health Economics Administration</td>
330+
<td class="nhsuk-table__cell ">NO</td>
331+
</tr>
332+
<tr role="row" class="nhsuk-table__row ohs-table-no-last-row-border">
333+
<td class="nhsuk-table__cell">Counter Party
292334
</td>
293335
<td class="nhsuk-table__cell ">UK:UK033</td>
294336
<td class="nhsuk-table__cell ">DHSC</td>
295337
<td class="nhsuk-table__cell ">ACC_Department of Health and Social Care</td>
296338
<td class="nhsuk-table__cell ">UK</td>
297339
</tr>
298-
<tr role="row" class="nhsuk-table__row ohs-table-no-last-row-border">
299-
<td class="nhsuk-table__cell">Counter Party</td>
300-
<td class="nhsuk-table__cell ">NO:HELFOA003</td>
301-
<td class="nhsuk-table__cell ">ACC Helfo Test 3</td>
302-
<td class="nhsuk-table__cell ">ACC Health Economics Administration</td>
303-
<td class="nhsuk-table__cell ">NO</td>
304-
</tr>
305340
</tbody>
306341
</table>
307342

308343
</div>
309344

310345
<div class="nhsuk-tabs__panel nhsuk-tabs__panel--hidden" id="attachments">
311-
312-
<table class="nhsuk-table">
313-
<caption class="nhsuk-table__caption nhsuk-u-margin-bottom-3">Attachments</caption>
314-
<thead role="rowgroup" class="nhsuk-table__head">
315-
<tr role="row">
316-
<th role="columnheader" class="" scope="col">
317-
Case manager
318-
</th>
319-
<th role="columnheader" class="" scope="col">
320-
Cases opened
321-
</th>
322-
<th role="columnheader" class="" scope="col">
323-
Cases closed
324-
</th>
325-
</tr>
326-
</thead>
327-
<tbody class="nhsuk-table__body">
328-
<tr role="row" class="nhsuk-table__row">
329-
<td class="nhsuk-table__cell">David Francis</td>
330-
<td class="nhsuk-table__cell ">1380</td>
331-
<td class="nhsuk-table__cell ">1472</td>
332-
</tr>
333-
<tr role="row" class="nhsuk-table__row">
334-
<td class="nhsuk-table__cell">Paul Farmer</td>
335-
<td class="nhsuk-table__cell ">1129</td>
336-
<td class="nhsuk-table__cell ">1083</td>
337-
</tr>
338-
<tr role="row" class="nhsuk-table__row">
339-
<td class="nhsuk-table__cell">Rita Patel</td>
340-
<td class="nhsuk-table__cell ">1539</td>
341-
<td class="nhsuk-table__cell ">1265</td>
342-
</tr>
343-
</tbody>
344-
</table>
345-
346+
<p>No attachments.</p>
346347
</div>
347348

348349
</div>

0 commit comments

Comments
 (0)