-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
170 lines (155 loc) · 8.39 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Covid Tracker Sri Lanka & Global</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="img/favicon.png">
<!--===============================================================================================-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!--===============================================================================================-->
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<!--Offline fontawesome=========================================================================-->
<link href="fonts/css/all.css" rel="stylesheet">
<script defer src="fonts/js/all.js"></script>
<!--=========================================================================================
<!--===============================================================================================-->
<link rel="stylesheet" type="text/css" href="style.css">
<!--===============================================================================================-->
</head>
<body>
<div class="loader-wrap">
<div id="loader">
<div id="pulse">
<span></span>
<span></span>
</div>
</div>
</div>
<div class="container" id="contain">
<h1 class="animated bounceInLeft headAnim">Covid Tracker <i class="fas fa-shield-virus"></i></h1>
<h4 class="animated bounceInRight headAnim">Sri Lanka & Global</h4>
<div class="wrap animated fadeIn wrapAnimi">
<div class="dashItems" data-toggle="tooltip" data-title="Confirmed COVID-19 cases last 24 hours">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/local_new_cases.svg">
</div>
<div class="col-8">
<p class="itemHead">new cases</p>
<span id="1" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="COVID-19 cases currently on treatments">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/local_active_cases.svg">
</div>
<div class="col-8">
<p class="itemHead">active cases</p>
<span id="2" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="Total COVID-19 cases in Sri Lanka">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/local_total_cases.svg">
</div>
<div class="col-8">
<p class="itemHead">total cases </p>
<span id="3" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="Total deaths due to COVID-19 in Sri Lanka">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/local_deaths.svg">
</div>
<div class="col-8">
<p class="itemHead">deaths</p>
<span id="4" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="Total COVID-19 cases recovered in Sri Lanka">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/local_recovered.svg">
</div>
<div class="col-8">
<p class="itemHead">recovered</p>
<span id="5" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="Global confirmed COVID-19 cases last 24 hours">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/global_new_cases.svg">
</div>
<div class="col-8">
<p class="itemHead">global new cases</p>
<span id="6" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="Total global confirmed COVID-19 cases">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/global_total_cases.svg">
</div>
<div class="col-8">
<p class="itemHead">global total cases</p>
<span id="7" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="Total global deaths due to COVID-19">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/global_deaths.svg">
</div>
<div class="col-8">
<p class="itemHead">global deaths</p>
<span id="8" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="dashItems" data-toggle="tooltip" data-title="Total global COVID-19 cases who recovered">
<div class="row center">
<div class="col-4">
<img class="itemImage" src="img/global_recovered.svg">
</div>
<div class="col-8">
<p class="itemHead">global recovered</p>
<span id="9" class="itemValue"><i class="fas fa-spinner"></i></span>
</div>
</div>
</div>
<div class="row timeUpdateRow">
<div class="time">Last updated at : <span id="date&time">Loading.............</span></div>
</div>
</div>
<button onClick="window.location.reload()" ; class="refresh animated zoomIn refreshBtnAni"><i class="fas fa-sync-alt"></i></button>
</div>
<div class="footer">
<p class="animated fadeIn wrapAnimi">Developed by <a href="https://github.com/samithawijesekara" target="_blank">Samitha Wijesekara <i class="fas fa-laptop-code"></i></a>
</p>
<p class="animated fadeIn wrapAnimi" style="margin-top: -15px; font-size:10px;">API : <a href="https://hpb.health.gov.lk/" target="_blank">Health Promotion Bureau, Sri Lanka</a></p>
</div>
<!--===============================================================================================-->
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<!--===============================================================================================-->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!--===============================================================================================-->
<script src="script.js"></script>
<!--===============================================================================================-->
</body>
</html>