From 36fc582fa701be0f31815f5e72e33849f7d274aa Mon Sep 17 00:00:00 2001 From: Mat Johnson Date: Thu, 1 Oct 2026 16:55:10 +0100 Subject: [PATCH] Sorting out the tags and sketching a bit --- app/views/rebook-individual/index.html | 172 ++++++++++++++++++++++ app/views/sessions/02-organise-slots.html | 55 +------ app/views/sessions/day-slot-view.html | 10 +- 3 files changed, 178 insertions(+), 59 deletions(-) create mode 100755 app/views/rebook-individual/index.html diff --git a/app/views/rebook-individual/index.html b/app/views/rebook-individual/index.html new file mode 100755 index 0000000..710edc9 --- /dev/null +++ b/app/views/rebook-individual/index.html @@ -0,0 +1,172 @@ +{% extends 'layout.html' %} +{% set pageName = "" %} + +{% block beforeContent %} +{% endblock %} + +{% block content %} + +

Sketchpad

+ +
+
+
+
+ +

+ Slot type +

+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+ +
+ +

Earlier clinic sessions (days)

+ +
+ +

+ Tuesday + 1 September 2026 +

+ +
+
+ + +
+
+ +
+ +
+
+ + +
+
+ +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+
+ + +
+
+ +
+ +

Later clinic sessions (days)

+ +
+
+ +{% endblock %} diff --git a/app/views/sessions/02-organise-slots.html b/app/views/sessions/02-organise-slots.html index d1dbb4d..488899a 100644 --- a/app/views/sessions/02-organise-slots.html +++ b/app/views/sessions/02-organise-slots.html @@ -13,59 +13,6 @@ {% block content %} - - {% set tickSvg %}

With selected:

let typeHtml = ''; if (slotType && !isChild) { const typeLabel = slotType === 'hold' ? 'Held' : slotType === 'staff-break' ? 'Staff break' : 'Special appointment'; - const tagClass = slotType === 'hold' ? 'nhsuk-tag--grey' : slotType === 'staff-break' ? 'nhsuk-tag--grey' : 'nhsuk-tag--yellow'; + const tagClass = slotType === 'hold' ? 'nhsuk-tag--orange' : slotType === 'staff-break' ? 'nhsuk-tag--grey' : 'nhsuk-tag--yellow'; typeHtml += `${typeLabel}`; } diff --git a/app/views/sessions/day-slot-view.html b/app/views/sessions/day-slot-view.html index 5c37a19..cd2869d 100644 --- a/app/views/sessions/day-slot-view.html +++ b/app/views/sessions/day-slot-view.html @@ -129,7 +129,7 @@

Daphne Hart
NHS: 999 374 0952
- + Special appointment 2 slots @@ -596,9 +596,9 @@

13:50 to 14:00 - + Held - + hold type x slots @@ -635,7 +635,7 @@

- + Held hold type @@ -688,7 +688,7 @@

- + Held hold type