-
Notifications
You must be signed in to change notification settings - Fork 1
/
html_national_digest.html
56 lines (56 loc) · 1.86 KB
/
html_national_digest.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html>
<style type="text/css">
.variable {
color: red;
font-weight: strong;
font-family: courier;
}
.section_heading {
background-color: #DEDFDE;
text-transform: uppercase;
font-weight: bold;
text-align: center;
}
</style>
<body>
<table border="1" style="width: 100%; border: 1px #DEDFDE solid;" cellspacing="0" cellpadding="2">
<tr>
<td colspan="8" style="text-align: center;"><strong>National Department of Health: Malaria Elimination Programme</strong></td>
</tr>
<tr>
<td colspan="8" style="text-align: center;"><strong>MalariaConnect Summary</strong></td>
</tr>
<tr>
<td colspan="8" style="text-align: center;"><strong>{{week}}</strong></td>
</tr>
<tr>
<th>Province</th>
<th>No. of Cases</th>
<th>Male</th>
<th>Female</th>
<th>Under 5</th>
<th>Over 5</th>
</tr>
{% for province in provinces %}
{% if province.cases %}
<tr>
<td>{{province.province}}</td>
<td style="text-align: right;">{{province.cases}}</td>
<td style="text-align: right;">{{province.males}}</td>
<td style="text-align: right;">{{province.females}}</td>
<td style="text-align: right;">{{province.under5}}</td>
<td style="text-align: right;">{{province.over5}}</td>
</tr>
{% endif %}
{% endfor %}
<tr>
<td><strong>Total</strong></td>
<td style="text-align: right;"><strong>{{totals.total_cases}}</strong></td>
<td style="text-align: right;"><strong>{{totals.total_males}}</strong></td>
<td style="text-align: right;"><strong>{{totals.total_females}}</strong></td>
<td style="text-align: right;"><strong>{{totals.total_under5}}</strong></td>
<td style="text-align: right;"><strong>{{totals.total_over5}}</strong></td>
</tr>
</table>
</body>
</html>