Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
387 changes: 109 additions & 278 deletions app/views/clinics/clinic-detail.html

Large diffs are not rendered by default.

80 changes: 78 additions & 2 deletions app/views/clinics/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% for item in [
{ href: '/clinics/', label: 'Active clinics', selected: 'true' },
{ href: '#', label: 'Archived clinics' },
{ href: '/sessions/templating-01-listing', label: 'Session templates' }
{ href: '/sessions/templating-01-listing', label: 'Manage session templates' }
] %}
{% set secondaryNavItems = secondaryNavItems | push({
text: item.label | safe,
Expand Down Expand Up @@ -45,7 +45,83 @@ <h1 class="nhsuk-heading-l">Active clinics</h1>

<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">
{% include "_includes/clinics/clinic-listing-table.html"%}

<table class="nhsuk-table nhsuk-table-responsive">
<thead class="nhsuk-table__head">
<tr class="nhsuk-table__row">
<th scope="col" class="nhsuk-table__header">
Clinic
</th>
<th scope="col" class="nhsuk-table__header">
Unit and location
</th>
<th scope="col" class="nhsuk-table__header">
Current schedules
</th>
<th scope="col" class="nhsuk-table__header">
Current capacity
</th>
</tr>
</thead>
<tbody class="nhsuk-table__body">
<tr class="nhsuk-table__row">
<td class="nhsuk-table__cell">
<a href="clinic-detail">Chichester - St Richards<br></a>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">HWO-NNN-standard-20260501</span>
</td>
<td class="nhsuk-table__cell">
Alpha van<br>
St Richard’s Hospital, Chichester
</td>
<td class="nhsuk-table__cell">
31 August 2026 to 9 October 2026
</td>
<td class="nhsuk-table__cell">
1500 slots available<br>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">of which 150 held</span>
</td>
</tr>

<tr class="nhsuk-table__row">
<td class="nhsuk-table__cell">
<a href="#">Chichester - St Richards<br></a>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">HWO-NNN-standard-20260501</span>
</td>
<td class="nhsuk-table__cell">
Alpha van<br>
St Richard’s Hospital, Chichester
</td>
<td class="nhsuk-table__cell">
<span class="nhsuk-u-secondary-text-colour">No active schedules</span>
</td>
<td class="nhsuk-table__cell">
1500 slots available<br>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">of which 150 held</span>
</td>
</tr>
</tbody>
</table>


<!--
[
{
html: '<a href="#">Worthing - special slots May 2026<br></a><span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">HWO-NNN-special-20260501</span>'
},
{
html: 'Worthing<br><span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">Worthing Hospital</span>'
},
{
html: 'Home base<br><span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">HWO-static-1</span> '
},
{
html: '<progress class="app-progress-bar --generic" value="60" max="100">60%</progress><span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">40 slots available of 100</div>'
}
]
]
}) }} -->


</div>
</div>

Expand Down
Loading