From 0c5cc2e31b7104471a2d122a8926d2e73df6372b Mon Sep 17 00:00:00 2001 From: Mat Johnson Date: Thu, 20 Aug 2026 13:37:10 +0100 Subject: [PATCH 1/2] Shift older work into subfolder and update index --- .../{ => z-older-versions}/00-create-day-clinic.html | 0 .../{ => z-older-versions}/01-set-date-and-time.html | 0 .../{ => z-older-versions}/02-organise-slots.html | 0 .../{ => z-older-versions}/03-publish-clinic.html | 0 .../clinics/{ => z-older-versions}/clinic-detail.html | 0 app/views/clinics/{ => z-older-versions}/index.html | 0 .../templating-01-set-times.html | 0 app/views/index.html | 11 ++++++++--- 8 files changed, 8 insertions(+), 3 deletions(-) rename app/views/clinics/{ => z-older-versions}/00-create-day-clinic.html (100%) rename app/views/clinics/{ => z-older-versions}/01-set-date-and-time.html (100%) rename app/views/clinics/{ => z-older-versions}/02-organise-slots.html (100%) rename app/views/clinics/{ => z-older-versions}/03-publish-clinic.html (100%) rename app/views/clinics/{ => z-older-versions}/clinic-detail.html (100%) rename app/views/clinics/{ => z-older-versions}/index.html (100%) rename app/views/clinics/{ => z-older-versions}/templating-01-set-times.html (100%) diff --git a/app/views/clinics/00-create-day-clinic.html b/app/views/clinics/z-older-versions/00-create-day-clinic.html similarity index 100% rename from app/views/clinics/00-create-day-clinic.html rename to app/views/clinics/z-older-versions/00-create-day-clinic.html diff --git a/app/views/clinics/01-set-date-and-time.html b/app/views/clinics/z-older-versions/01-set-date-and-time.html similarity index 100% rename from app/views/clinics/01-set-date-and-time.html rename to app/views/clinics/z-older-versions/01-set-date-and-time.html diff --git a/app/views/clinics/02-organise-slots.html b/app/views/clinics/z-older-versions/02-organise-slots.html similarity index 100% rename from app/views/clinics/02-organise-slots.html rename to app/views/clinics/z-older-versions/02-organise-slots.html diff --git a/app/views/clinics/03-publish-clinic.html b/app/views/clinics/z-older-versions/03-publish-clinic.html similarity index 100% rename from app/views/clinics/03-publish-clinic.html rename to app/views/clinics/z-older-versions/03-publish-clinic.html diff --git a/app/views/clinics/clinic-detail.html b/app/views/clinics/z-older-versions/clinic-detail.html similarity index 100% rename from app/views/clinics/clinic-detail.html rename to app/views/clinics/z-older-versions/clinic-detail.html diff --git a/app/views/clinics/index.html b/app/views/clinics/z-older-versions/index.html similarity index 100% rename from app/views/clinics/index.html rename to app/views/clinics/z-older-versions/index.html diff --git a/app/views/clinics/templating-01-set-times.html b/app/views/clinics/z-older-versions/templating-01-set-times.html similarity index 100% rename from app/views/clinics/templating-01-set-times.html rename to app/views/clinics/z-older-versions/templating-01-set-times.html diff --git a/app/views/index.html b/app/views/index.html index e4b8108..9859d1c 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -73,14 +73,19 @@

July 2026

Template listing -

May–June 2026

+

+ May–June 2026 + + superceded + +

Clinics: first run

  1. - Clinic listing + Clinic listing
  2. - Clinic detail + Clinic detail
From 3943fff52e0b91d6e3db4dd3dfdc6e3be50d3eb6 Mon Sep 17 00:00:00 2001 From: Mat Johnson Date: Fri, 21 Aug 2026 10:00:03 +0100 Subject: [PATCH 2/2] Update index, start iterating --- app/views/clinics/clinic-detail.html | 143 +++++++++++++++++++++++++++ app/views/clinics/index.html | 128 ++++++++++++++++++++++++ app/views/index.html | 5 +- 3 files changed, 275 insertions(+), 1 deletion(-) create mode 100644 app/views/clinics/clinic-detail.html create mode 100644 app/views/clinics/index.html diff --git a/app/views/clinics/clinic-detail.html b/app/views/clinics/clinic-detail.html new file mode 100644 index 0000000..dc4324a --- /dev/null +++ b/app/views/clinics/clinic-detail.html @@ -0,0 +1,143 @@ +{% extends 'layout.html' %} + +{% set pageName = "Clinics" %} + +{% from "_includes/primary-navigation.html" import primaryNavigation %} +{% block header %} + {{ primaryNavigation("Clinics", serviceName) }} +{% endblock %} + +{% block beforeContent %} + +{% endblock %} + +{% block content %} + +
+
+

+ Clinic + Chichester - St Richards +

+

+ Alpha van
+ St Richard’s Hospital, Chichester +

+
+ +
+ +
+ +
+
+
+

Schedules

+ {{ button({ + text: "Create a new schedule", + href: "#", + classes: "nhsuk-button--secondary" + }) }} +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Clinic + + Unit and location + + Current schedules + + Current capacity +
+ Chichester - St Richards
+ HWO-NNN-standard-20260501 +
+ Alpha van
+ St Richard’s Hospital, Chichester +
+ 31 August 2026 to 9 October 2026 + + 1500 slots available
+ of which 150 held +
+ Chichester - St Richards
+ HWO-NNN-standard-20260501 +
+ Alpha van
+ St Richard’s Hospital, Chichester +
+ No active schedules + + 1500 slots available
+ of which 150 held +
+ + + + + +
+
+ +{% endblock %} diff --git a/app/views/clinics/index.html b/app/views/clinics/index.html new file mode 100644 index 0000000..b7bdbb2 --- /dev/null +++ b/app/views/clinics/index.html @@ -0,0 +1,128 @@ +{% extends 'layout.html' %} + +{% set pageName = "Clinics" %} + +{% from "_includes/primary-navigation.html" import primaryNavigation %} +{% block header %} + {{ primaryNavigation("Clinics", serviceName) }} +{% endblock %} + +{% block beforeContent %}{% endblock %} + +{% block content %} + + {% set secondaryNavItems = [] %} + + {% for item in [ + { href: '/clinics/', label: 'Active clinics', selected: 'true' }, + { href: '#', label: 'Archived clinics' }, + { href: '/sessions/templating-01-listing', label: 'Manage session templates' } + ] %} + {% set secondaryNavItems = secondaryNavItems | push({ + text: item.label | safe, + href: item.href | trim, + current: true if item.selected == 'true' + }) %} + {% endfor %} + + {{ appSecondaryNavigation({ + visuallyHiddenTitle: "Secondary menu", + items: secondaryNavItems + }) }} + +
+
+
+

Active clinics

+ {{ button({ + text: "Create a new clinic", + href: "00-create-day-clinic", + classes: "nhsuk-button--secondary" + }) }} +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Clinic + + Unit and location + + Current schedules + + Current capacity +
+ Chichester - St Richards
+ HWO-NNN-standard-20260501 +
+ Alpha van
+ St Richard’s Hospital, Chichester +
+ 31 August 2026 to 9 October 2026 + + 1500 slots available
+ of which 150 held +
+ Chichester - St Richards
+ HWO-NNN-standard-20260501 +
+ Alpha van
+ St Richard’s Hospital, Chichester +
+ No active schedules + + 1500 slots available
+ of which 150 held +
+ + + + + +
+
+ +{% endblock %} diff --git a/app/views/index.html b/app/views/index.html index 9859d1c..c03bb3c 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -47,7 +47,10 @@

August 2026

Clinics with schedules ideation

  1. - Create a new clinic + Create a new clinic (containers) +
  2. +
  3. + Create a new clinic (transaction)

Appointments and active clinics