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
/
global.html
206 lines (170 loc) · 7.81 KB
/
global.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
---
layout: default
title: Global
---
<link href="./css/global.css" rel="stylesheet">
<div class="container-fluid">
<div class="margin-top-under-nav">
<div class="row">
<div class="col-xl-5 col-a">
<!-- bg-white-2 for white theme -->
<div class="card bg-dark-2">
<div class="card-body global-data text-white font-2">
<h3 class="text-center">Global Details</h3>
<div class="global-data-card bg-transparent-dark b-blue b-2 b-l text-dark">
<h4 id="global_total">00</h4>
<p id="global_cases_today">Today: +0</p>
<h6>Total Cases</h6>
</div>
<div class="global-data-card bg-transparent-dark b-red text-dark">
<h4 id="global_deaths">00</h4>
<p id="global_deaths_today">Today: +0</p>
<h6>Total Deaths</h6>
</div>
<div class="global-data-card bg-transparent-dark b-green text-dark">
<h4 id="global_recovered">00</h4>
<h6>Total Recovered</h6>
</div>
<div class="global-data-card bg-transparent-dark b-pink text-dark">
<h4 id="global_active">00</h4>
<h6>Total Active</h6>
</div>
<div class="global-data-card bg-transparent-dark b-orange text-dark">
<h4 id="global_critical">00</h4>
<h6>Total Critical</h6>
</div>
<div class="global-data-card bg-transparent-dark b-dark text-dark">
<h4 id="global_tests">00</h4>
<h6>Total Tests</h6>
</div>
</div>
</div>
<!-- bg-white-2 for white theme -->
<div class="card bg-dark-2">
<div class="card-body global-data text-white font-2">
<h3 class="text-center">Global Growth Total Cases</h3>
<canvas id="globaldataChart" width="800" height="800">
Your browser does not support the canvas element.
</canvas>
</div>
</div>
</div>
<div class="col-xl-7 col-b">
<!-- bg-white-2 for white theme -->
<div class="card bg-dark-2">
<div class="card-body global-data text-white font-2">
<h3 class="text-center">Global News</h3>
<div id="globalNews">
</div>
</div>
</div>
</div>
<!-- <div class="col-md col-c">
One of three columns
</div> -->
</div>
</div>
<!-- bg-white-2 for white theme -->
<div class="card bg-dark-2 margin-bottom-before-footer-huge">
<div class="card-body global-data text-white font-2">
<h3 class="text-center">Details of Countries</h3>
<nav>
<div class="searchBox">
<input class="searchInput" type="text" id="searchcountry" onkeyup="searchcountry()" name="" placeholder="Search">
<span class="searchButton">
<i class="material-icons">
search
</i>
</span>
</div>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-item nav-link active" id="nav-abc-tab" data-toggle="tab" href="#nav-abc" role="tab" aria-controls="nav-abc" aria-selected="true">ABC</a>
<a class="nav-item nav-link" id="nav-def-tab" data-toggle="tab" href="#nav-def" role="tab" aria-controls="nav-def" aria-selected="false">DEF</a>
<a class="nav-item nav-link" id="nav-ghi-tab" data-toggle="tab" href="#nav-ghi" role="tab" aria-controls="nav-ghi" aria-selected="false">GHI</a>
<a class="nav-item nav-link" id="nav-jkl-tab" data-toggle="tab" href="#nav-jkl" role="tab" aria-controls="nav-jkl" aria-selected="false">JKL</a>
<a class="nav-item nav-link" id="nav-mno-tab" data-toggle="tab" href="#nav-mno" role="tab" aria-controls="nav-mno" aria-selected="false">MNO</a>
<a class="nav-item nav-link" id="nav-pqrs-tab" data-toggle="tab" href="#nav-pqrs" role="tab" aria-controls="nav-pqrs" aria-selected="false">PQRS</a>
<a class="nav-item nav-link" id="nav-tuv-tab" data-toggle="tab" href="#nav-tuv" role="tab" aria-controls="nav-tuv" aria-selected="false">TUV</a>
<a class="nav-item nav-link" id="nav-wxyz-tab" data-toggle="tab" href="#nav-wxyz" role="tab" aria-controls="nav-wxyz" aria-selected="false">WXYZ</a>
<br>
<!--<div class="search-container">
<input class="searchcountry" type="text" id="searchcountry" onkeyup="searchcountry()" placeholder="Search for Countries.." title="Type in a name">
</div>-->
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-abc" role="tabpanel" aria-labelledby="nav-abc-tab"></div>
<div class="tab-pane fade" id="nav-def" role="tabpanel" aria-labelledby="nav-def-tab"></div>
<div class="tab-pane fade" id="nav-ghi" role="tabpanel" aria-labelledby="nav-ghi-tab"></div>
<div class="tab-pane fade" id="nav-jkl" role="tabpanel" aria-labelledby="nav-jkl-tab"></div>
<div class="tab-pane fade" id="nav-mno" role="tabpanel" aria-labelledby="nav-mno-tab"></div>
<div class="tab-pane fade" id="nav-pqrs" role="tabpanel" aria-labelledby="nav-pqrs-tab"></div>
<div class="tab-pane fade" id="nav-tuv" role="tabpanel" aria-labelledby="nav-tuv-tab"></div>
<div class="tab-pane fade" id="nav-wxyz" role="tabpanel" aria-labelledby="nav-wxyz-tab"></div>
</div>
</div>
</div>
<!-- <h3 class="global-data-caption">Global Data</h3> -->
<!-- <div class="col-10 mx-auto table-gl-details card-deck">
<div class="card" style="background-color: #c79600">
<div class="card-body">
<h4 class="card-text global-table-card-header-value" id="global_total">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
</h4>
<h5 class="card-title global-table-card-text">Total Cases</h5>
</div>
</div>
<div class="card" style="background-color: #c79600">
<div class="card-body">
<h4 class="card-text global-table-card-header-value" id="global_deaths">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
</h4>
<h5 class="card-title global-table-card-text">Total Deaths</h5>
</div>
</div>
<div class="card" style="background-color: #c79600">
<div class="card-body">
<h4 class="card-text global-table-card-header-value" id="global_recovered">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
</h4>
<h5 class="card-title global-table-card-text">Total Recovered</h5>
</div>
</div>
<div class="card bg-danger">
<div class="card-body">
<h4 class="card-text global-table-card-header-value" id="global_cases_today">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
</h4>
<h5 class="card-title global-table-card-text">Cases Today</h5>
</div>
</div>
<div class="card bg-danger">
<div class="card-body">
<h4 class="card-text global-table-card-header-value" id="global_deaths_today">
<div class="spinner">
<div class="double-bounce1"></div>
<div class="double-bounce2"></div>
</div>
</h4>
<h5 class="card-title global-table-card-text">Deaths Today</h5>
</div>
</div>
</div> -->
<!-- <h6 class="text-center font-1 source">( Source - Novel COVID API | <a href="https://disease.sh/">https://disease.sh/</a>
)
<br>
Last updated at : <span id="API_lastUpdated"></span> </h6>-->
</div>
<script src="./js/script-global.js"></script>