Skip to content

Commit e5b97a8

Browse files
Update reg-table-v2.html
1 parent b12a75d commit e5b97a8

File tree

1 file changed

+59
-12
lines changed

1 file changed

+59
-12
lines changed

app/views/reg-portal/reg-table-v2.html

Lines changed: 59 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,72 @@ <h1 class="nhsuk-heading-xl">Registration requests</h1>
1919

2020

2121
<table role="table" class="nhsuk-table-responsive">
22-
<thead role="rowgroup" class="nhsuk-table__head">
22+
23+
<thead class="nhsuk-table__head">
2324
<tr role="row">
24-
<th role="columnheader" class="" scope="col">
25-
Name
25+
26+
<th role="columnheader" scope="col" class="govuk-table__header" aria-sort="ascending">
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="M6.5625 15.5L11 6.63125L15.4375 15.5H6.5625Z" fill="currentColor"></path>
29+
</svg>
30+
</button>
2631
</th>
27-
<th role="columnheader" class="" scope="col">
28-
Matched
32+
33+
<th role="columnheader" scope="col" class="govuk-table__header" aria-sort="none">
34+
<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">
35+
<path d="M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z" fill="currentColor"></path>
36+
<path d="M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z" fill="currentColor"></path>
37+
</svg>
38+
</button>
2939
</th>
30-
<th role="columnheader" class="" scope="col">
31-
Age
40+
41+
<th role="columnheader" scope="col" class="govuk-table__header" aria-sort="none">
42+
<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">
43+
<path d="M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z" fill="currentColor"></path>
44+
<path d="M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z" fill="currentColor"></path>
45+
</svg>
46+
</button>
3247
</th>
33-
<th role="columnheader" class="" scope="col">
34-
Catchment
35-
</th>
36-
<th role="columnheader" class="" scope="col">
37-
48+
49+
<th role="columnheader" scope="col" class="govuk-table__header govuk-table__header--numeric" aria-sort="none">
50+
<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">
51+
<path d="M8.1875 9.5L10.9609 3.95703L13.7344 9.5H8.1875Z" fill="currentColor"></path>
52+
<path d="M13.7344 12.0781L10.9609 17.6211L8.1875 12.0781H13.7344Z" fill="currentColor"></path>
53+
</svg>
54+
</button>
3855
</th>
56+
57+
<th role="columnheader" class="" scope="col"></th>
58+
3959
</tr>
4060
</thead>
61+
62+
<style>
63+
.govuk-table__header {
64+
padding: 10px 20px 10px 0;
65+
text-align: left;
66+
vertical-align: top;
67+
}
68+
69+
[aria-sort] button, [aria-sort] button:hover {
70+
align-items: center;
71+
background-color: initial;
72+
border-width: 0;
73+
box-shadow: 0 0 0 0;
74+
color: #005ea5;
75+
cursor: pointer;
76+
display: inline-flex;
77+
font-family: inherit;
78+
font-size: inherit;
79+
font-size: 1em;
80+
font-weight: inherit;
81+
margin: 0;
82+
padding: 0;
83+
position: relative;
84+
text-align: inherit;
85+
}
86+
</style>
87+
4188
<tbody class="nhsuk-table__body">
4289
<tr role="row" class="nhsuk-table__row">
4390
<td role="cell" class="nhsuk-table__cell">

0 commit comments

Comments
 (0)