File tree Expand file tree Collapse file tree 2 files changed +83
-0
lines changed
Expand file tree Collapse file tree 2 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 11module . exports = router => {
22
33 // Dashboard
4+
5+ router . get ( '/home/no-records' , ( req , res ) => {
6+ res . render ( 'home/no-records' )
7+ } )
8+
49 router . get ( '/home' , ( req , res ) => {
510
611 const dateToday = new Date ( )
Original file line number Diff line number Diff line change 1+ {% extends 'layout.html' %}
2+
3+ {% block pageTitle %}
4+ {{ currentOrganisation.name }} – Home
5+ {% endblock %}
6+
7+ {% set currentSection = "home" %}
8+
9+
10+
11+
12+ {% block content %}
13+
14+
15+ < div class ="nhsuk-grid-row ">
16+ < div class ="nhsuk-grid-column-two-thirds ">
17+ < h1 class ="nhsuk-heading-l nhsuk-u-margin-bottom-6 "> {{ currentOrganisation.name }}</ h1 >
18+
19+ < p > You have not yet recorded a vaccination.</ p >
20+
21+ < p class ="nhsuk-body "> < a href ="/vaccines/choose-site "> Add vaccines</ a > </ p >
22+
23+ < p class ="nhsuk-body "> < a href ="/user-admin/add-user "> Add users</ a > </ p >
24+
25+ < p class ="nhsuk-body "> < a href ="/find-a-patient "> Find a patient</ a > </ p >
26+
27+ < p > Find help and guidance at < a href ="/reports "> guide.ravs.england.nhs.uk</ a > </ p >
28+
29+
30+
31+ < h2 class ="nhsuk-heading-m "> Total vaccinations</ h2 >
32+
33+ </ div >
34+ </ div >
35+
36+
37+ < ul class ="nhsuk-grid-row nhsuk-card-group ">
38+
39+ < li class ="nhsuk-grid-column-one-quarter nhsuk-card-group__item ">
40+ {% set cardHtml %}
41+ < p class ="nhsuk-heading-xl nhsuk-u-font-size-64 nhsuk-u-margin-bottom-1 "> 0</ p >
42+ Today
43+ {% endset %}
44+
45+ {{ card({
46+ headingHtml: cardHtml
47+ }) }}
48+ </ li >
49+
50+ < li class ="nhsuk-grid-column-one-quarter nhsuk-card-group__item ">
51+ {% set cardHtml %}
52+ < p class ="nhsuk-heading-xl nhsuk-u-font-size-64 nhsuk-u-margin-bottom-1 "> 0</ p >
53+ Past 7 days
54+ {% endset %}
55+
56+ {{ card({
57+ headingHtml: cardHtml
58+ }) }}
59+ </ li >
60+
61+
62+ < li class ="nhsuk-grid-column-one-quarter nhsuk-card-group__item ">
63+ {% set cardHtml %}
64+ < p class ="nhsuk-heading-xl nhsuk-u-font-size-64 nhsuk-u-margin-bottom-1 "> 0</ p >
65+ November so far
66+ {% endset %}
67+
68+ {{ card({
69+ headingHtml: cardHtml
70+ }) }}
71+ </ li >
72+
73+ </ ul >
74+
75+
76+ </ div>
77+ </ div>
78+ {% endblock %}
You can’t perform that action at this time.
0 commit comments