This repository has been archived by the owner on Oct 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index-en.html
207 lines (204 loc) · 6.76 KB
/
index-en.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<head>
<title>COVID-19 spread in Iran</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.en.css?v1.0.6" />
<meta name="theme-color" content="#011627" />
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="container main text-center">
<header>
<h1>COVID-19 patients spread map in Iran</h1>
<h2>Based on <span id="source"></span></h2>
<p class="subtitle">
Country stats last updated on: <span id="lastUpdated"></span>
</p>
</header>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5">
<div id="mapContainer"></div>
<p class="legend text-center">
<span class="low"></span> Less than 100 cases
<span class="medium"></span> 101~500 cases
<span class="high"></span> 501~1,000 cases
<span class="critical"></span> 1,001~2,000 cases
<span class="crisis"></span> More than 2,000 cases
</p>
</div>
<div class="col-md-7">
<div class="container main text-center">
<div class="stats country pt-4">
<h2 class="stats-title">In Iran:</h2>
<div class="row">
<div class="col-6">
<span id="totalCases">N/A</span>
Total cases
</div>
<div class="col-6">
<span id="newCases">N/A</span>
New cases
</div>
</div>
<div class="row">
<div class="col-6">
<span id="totalRecoveries">N/A</span>
Total recoveries
</div>
<div class="col-6">
<span id="newRecoveries">N/A</span>
New recoveries
</div>
</div>
<div class="row">
<div class="col-6">
<span id="totalFatalities">N/A</span>
Total fatalities
</div>
<div class="col-6">
<span id="newFatalities">N/A</span>
New fatalities
</div>
</div>
</div>
<div style="display: none;">
<!-- They are hidden because they're outdated -->
<!-- and we've kept them for the sake of backward -->
<!-- compatibility. -->
<span id="treatmentAge"></span> <span id="deathAge"></span>
</div>
<div
class="stats province pt-4 mt-3"
id="provinceSection"
style="display: none;"
>
<h2 class="stats-title">
In province "<span id="provinceName"></span>" (last updated March 23):
</h2>
<div class="row">
<div class="col-6">
<span id="pTotalCases">N/A</span>
Total cases
</div>
<div class="col-6">
<span id="pNewCases">N/A</span>
New cases
</div>
</div>
<div class="row">
<div class="col-6">
<span id="pTotalRecoveries">N/A</span>
Total recoveries
</div>
<div class="col-6">
<span id="pNewRecoveries">N/A</span>
New recoveries
</div>
</div>
<div class="row">
<div class="col-6">
<span id="pTotalFatalities">N/A</span>
Total fatalities
</div>
<div class="col-6">
<span id="pNewFatalities">N/A</span>
New fatalities
</div>
</div>
</div>
</div>
</div>
<footer>
<p class="m-4 text-center">
<a
href="#what-is-this"
data-toggle="modal"
data-target="#aboutModal"
>What's this?</a
>
/ Idea from
<a target="_blank" href="https://twitter.com/radeh_ir">@radeh_ir</a>
and created by
<a target="_blank" href="https://twitter.com/ehsaansays"
>@ehsaansays</a
>
and
<a target="_blank" href="https://github.com/par6n/ncov-19#README"
>contributors</a
>
/
<a target="_blank" href="https://github.com/par6n/ncov-19"
>Improve it!</a
>
/
<a href="index.html">نسخهی فارسی</a>
</p>
</footer>
</div>
</div>
<div
class="modal fade"
id="aboutModal"
tabindex="-1"
role="dialog"
aria-labelledby="aboutModalLabel"
aria-hidden="true"
>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="aboutModalLabel">What's this?</h5>
</div>
<div class="modal-body">
<p>
This is an interactive map which displays the spread of COVID-19
patients all over the Iran. The data comes from the official
source: "Iran Ministry of Health." The idea came from "Rade"
start-up in response to their social responsibility and it was
brought to life by
<a href="https://twitter.com/ehsaansays" target="_blank">ehsaan</a
>.
</p>
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary"
data-dismiss="modal"
>
Dismiss
</button>
</div>
</div>
</div>
</div>
<script>
window.isEnglish = true;
</script>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="//d3js.org/topojson.v1.min.js"></script>
<script src="js/app.js"></script>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-159348105-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-159348105-1');
</script>
</body>
</html>