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
37 changes: 37 additions & 0 deletions app/views/reports/alt-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% extends 'layout.html' %}

{% set pageName = "Reports" %}

{% set currentSection = "reports" %}

{% block content %}

<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">

{% include "includes/notification.html" %}

</div>
</div>

<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-full">

<h1 class="nhsuk-heading-l nhsuk-u-margin-bottom-2">Reports</h1>
<p>Create and download reports.</p>

{% from "inset-text/macro.njk" import insetText %}

{% set insetTextHtml %}
<p>You need to wait 3 minutes before you can start creating a report. This is because another report is already in progress for your organisation.</p>
{% endset %}

{{ insetText({
html: insetTextHtml
}) }}


</div>
</div>

{% endblock %}
46 changes: 46 additions & 0 deletions app/views/reports/creating-report.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% extends 'layout.html' %}

{% set pageName = "Creating report" %}


{% block content %}
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-two-thirds">



<h1 class="nhsuk-heading-m">We are creating your report</h1>

<p>This can take a few minutes.</p>


<div class="loader"></div>
<style>
.loader {
border: 12px solid #DEE0E2;
border-radius: 50%;
border-top-color: #005eb8;
width: 80px;
height: 80px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.center {
margin: auto;

}
</style>

<meta http-equiv=refresh content="5; url=http:"/reports/download">



{% endblock %}
2 changes: 1 addition & 1 deletion app/views/reports/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<h1 class="nhsuk-heading-l">Your report is ready</h1>

<p>You have created a report from 16 July to 30 July 2024 for COVID-19 and flu at Verrington (RH635)</p>
<p>You can now download your report.</p>

{{ button({
"text": "Download report",
Expand Down