Skip to content
Draft
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
19 changes: 17 additions & 2 deletions app/views/index-prod.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,21 @@ <h2 class="nhsuk-heading-l">Mission 1</h2>
<b>Mural:</b> <a href="https://app.mural.co/t/nhsdigital8118/m/nhsdigital8118/1779182652812/0015966bbee6d6a0182a2afb7fc482a45756e20d?wid=61-1791292815757">0000-01 C2C September Test</a>
</p>
</div>
<h4 class="nhsuk-heading-s">Create clinic module: live test #2</h4>
<p>Enable test BSOs to create a clinic with a schedule lasting one day</p>

<hr class="nhsuk-section-break--visible">

<h4 class="nhsuk-heading-s">Rearrange clinic session: live test #3 <span class="nhsuk-tag nhsuk-tag--red">WIP</span></h4>
<p>Enable test BSOs to:</p>
<ul>
<li>remove a participant from a slot</li>
<li>add a new participants to a specific slot</li>
<li>rearrange participants’ appointments within a single clinic session</li>
</ul>

<hr class="nhsuk-section-break--visible">

<h4 class="nhsuk-heading-s">Create clinic module: live test #2 <span class="nhsuk-tag nhsuk-tag--orange">prod</span></h4>
<p>Create a clinic with a schedule lasting one day</p>
<ol>
<li>
<a href="/mission-1/current-iteration/00-clinics">Create a new clinic session</a>
Expand All @@ -51,6 +64,8 @@ <h4 class="nhsuk-heading-s">Create clinic module: live test #2</h4>
</li>
</ol>

<hr class="nhsuk-section-break--visible">

<h3 class="nhsuk-heading-s">Older</h3>
<details class="nhsuk-details">
<summary class="nhsuk-details__summary">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{% extends 'layout.html' %}

{% from "mission-1/current-iteration/includes/primary-navigation.html" import primaryNavigation %}
{% block header %}
<div class="nhsuk-width-container nhsuk-u-padding-bottom-2 nhsuk-u-padding-top-2">
<span class="nhsuk-tag nhsuk-tag--grey">Live test #3</span> Rearrange clinic session
</div>
{{ primaryNavigation("Manage clinics", serviceName, bsoName) }}
{% endblock %}


{% block content %}

{% if data.missionOne and data.missionOne.saved %}
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">
{% set html %}
<p class="nhsuk-notification-banner__heading">Clinic created</p>
{% endset %}
{{ notificationBanner({
html: html,
type: "success"
}) }}
</div>
</div>
{% endif %}

<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">
<div class="app-card-editable">
<h1 class="nhsuk-heading-l">Clinics</h1>
{{ button({
text: "Create a new clinic",
href: "create-clinic-rev-1-name?returnTo=clinics",
classes: "nhsuk-button--secondary"
}) }}
</div>
</div>
</div>

<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">
<table class="nhsuk-table nhsuk-table--striped">
<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">
Location
</th>
<th scope="col" class="nhsuk-table__header">
Unit
</th>
<th scope="col" class="nhsuk-table__header">
Timeframe
</th>
<th scope="col" class="nhsuk-table__header">
Capacity
</th>
</tr>
</thead>
<tbody class="nhsuk-table__body">

<tr class="nhsuk-table__row">
<th scope="row" class="nhsuk-table__header">
<a href="#">Example 1 day clinic session: West Tester Road Campus</a><br>
<span class="nhsuk-u-font-size-16 nhsuk-u-font-weight-normal nhsuk-u-secondary-text-colour">HWO-NNN-standard-20260501</span>
</th>
<td class="nhsuk-table__cell">
Chichester<br>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">St Richard’s Hospital</span>
</td>
<td class="nhsuk-table__cell">
Alpha van<br>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">HWO-mobile-1</span>
</td>
<td class="nhsuk-table__cell">
29 October 2023<br>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">1 day</span>
</td>
<td class="nhsuk-table__cell">
<div class="app-simple-progress-bar --generic --thin nhsuk-u-padding-1 nhsuk-u-margin-bottom-1" style="--percentage: 100%;"></div>
<span class="nhsuk-u-font-size-16 nhsuk-u-secondary-text-colour">0 slots available of 10</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>

{% endblock %}

{% block footer %}
{{ footer() }}
{% endblock %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% extends 'layout.html' %}

{% from "mission-1/current-iteration/includes/primary-navigation.html" import primaryNavigation %}
{% block header %}
{{ primaryNavigation("Batches", serviceName, bsoName) }}
{% endblock %}

{% block beforeContent %}{% endblock %}

{% block content %}

<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">
{% set html %}
<p class="nhsuk-notification-banner__heading">
10 participants booked
</p>
{% endset %}
{{ notificationBanner({
html: html,
type: "success"
}) }}
<div class="nhsuk-u-reading-width">
<h1 class="nhsuk-heading-m">
<span class="nhsuk-caption-m">{{ data.clinicId }}</span>
{{ data.clinicName }}
</h1>
<div class="nhsuk-caption-m nhsuk-u-margin-bottom-3">
{{ data.unitName }} at {{ data.locationName }}
</div>
{{ actionLink({
text: "Download .csv",
href: "#"
}) }}
</div>
</div>
</div>

<hr class="nhsuk-u-margin-top-0 nhsuk-u-margin-bottom-4">

<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">
<h2 class="nhsuk-heading-l">
<span class="nhsuk-caption-l">Tuesday</span>
{{ data.clinicTimespan }}
</h2>
</div>
</div>

{% include "mission-1/current-iteration/includes/day-list-hard-coded.html" %}

{% endblock %}

{% block footer %}
{{ footer() }}
{% endblock %}
Loading