This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdoc.html
50 lines (47 loc) · 1.5 KB
/
doc.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
---
layout: default
title: Documents
---
<div class="col-md-10 mx-auto font-1 margin-top-under-nav margin-bottom-before-footer">
<table class="table table-sm table-secondary" >
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Provider</th>
<th scope="col">Date</th>
<th scope="col">Link</th>
</tr>
</thead>
<tbody id="containerDocs">
{% for doc in site.data.doc %}
<tr>
<td>{{ doc.name }}</td>
<td>{{ doc.provider }}</td>
<td>{{ doc.date }}</td>
<td><a href="{{ doc.url }}" target="_blank">Visit...</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<!--
<script>
var containerDocs = document.getElementById('containerDocs');
var container;
var nglobaldaily = 0;
var nlocaldaily = 0;
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var days = [31,29,31,30,31,30,31,31,30,31,30,31];
// world health org daily reports
var who1startyear = 2020;
var who1startmonth = 1;
var who1startday = 21;
var who1finishmonth = 7;
var who1finishday = 31;
for(var i = who1startmonth; i < who1finishmonth; i++){
for(var j = who1startday; j < days[who1startmonth-1]; j++){
nglobaldaily++;
container.append('<tr><td>Global Situation Report ' + nglobaldaily + ' </td>' + '<td>World Health Organization</td><td>' + j+'.'+i+'.2020</td><td><a href="https://www.who.int/docs/default-source/coronaviruse/situation-reports/'+20200816+'-covid-19-sitrep-209.pdf'+ '</tr>');
}
}
</script> -->