Skip to content

Commit 01afca1

Browse files
2 parents d434e66 + 0afd98a commit 01afca1

File tree

1 file changed

+59
-12
lines changed

1 file changed

+59
-12
lines changed

app/views/reg-portal/reg-table-v2-yes-no-page-2.html

Lines changed: 59 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,72 @@ <h1 class="nhsuk-heading-xl">View patient details</h1>
2020

2121

2222
<table role="table" class="nhsuk-table-responsive">
23-
<thead role="rowgroup" class="nhsuk-table__head">
23+
<thead class="nhsuk-table__head">
2424
<tr role="row">
25-
<th role="columnheader" class="" scope="col">
26-
Name
25+
26+
<th role="columnheader" scope="col" class="govuk-table__header" aria-sort="none">
27+
<button type="button" data-index="0">Name<svg width="22" height="22" focusable="false" aria-hidden="true" role="img" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
28+
<path d="M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z" fill="currentColor"></path>
29+
<path d="M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z" fill="currentColor"></path>
30+
</svg>
31+
</button>
2732
</th>
28-
<th role="columnheader" class="" scope="col">
29-
Matched
33+
34+
<th role="columnheader" scope="col" class="govuk-table__header" aria-sort="none">
35+
<button type="button" data-index="1">Matched<svg width="22" height="22" focusable="false" aria-hidden="true" role="img" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
36+
<path d="M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z" fill="currentColor"></path>
37+
<path d="M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z" fill="currentColor"></path>
38+
</svg>
39+
</button>
3040
</th>
31-
<th role="columnheader" class="" scope="col">
32-
Age
41+
42+
<th role="columnheader" scope="col" class="govuk-table__header" aria-sort="none">
43+
<button type="button" data-index="2">Age<svg width="22" height="22" focusable="false" aria-hidden="true" role="img" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
44+
<path d="M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z" fill="currentColor"></path>
45+
<path d="M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z" fill="currentColor"></path>
46+
</svg>
47+
</button>
3348
</th>
34-
<th role="columnheader" class="" scope="col">
35-
In catchment
36-
</th>
37-
<th role="columnheader" class="" scope="col">
38-
49+
50+
<th role="columnheader" scope="col" class="govuk-table__header govuk-table__header--numeric" aria-sort="none">
51+
<button type="button" data-index="3">Catchment<svg width="22" height="22" focusable="false" aria-hidden="true" role="img" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
52+
<path d="M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z" fill="currentColor"></path>
53+
<path d="M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z" fill="currentColor"></path>
54+
</svg>
55+
</button>
3956
</th>
57+
58+
<th role="columnheader" class="" scope="col"></th>
59+
4060
</tr>
4161
</thead>
62+
63+
<style>
64+
.govuk-table__header {
65+
padding: 10px 20px 10px 0;
66+
text-align: left;
67+
vertical-align: top;
68+
}
69+
70+
[aria-sort] button, [aria-sort] button:hover {
71+
align-items: center;
72+
background-color: initial;
73+
border-width: 0;
74+
box-shadow: 0 0 0 0;
75+
color: #005ea5;
76+
cursor: pointer;
77+
display: inline-flex;
78+
font-family: inherit;
79+
font-size: inherit;
80+
font-size: 1em;
81+
font-weight: inherit;
82+
margin: 0;
83+
padding: 0;
84+
position: relative;
85+
text-align: inherit;
86+
}
87+
</style>
88+
4289
<tbody class="nhsuk-table__body">
4390
<tr role="row" class="nhsuk-table__row">
4491
<td role="cell" class="nhsuk-table__cell">

0 commit comments

Comments
 (0)