-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (112 loc) · 4.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Live and interactive COVID-19 data visualization</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://cdn.datatables.net/1.10.22/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" />
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.22/css/jquery.dataTables.min.css">
<script src="scripts/utils/multi-animated-counter.js"></script>
</head>
<body>
<!--NAV BAR START-->
<nav class="navbar navbar-inverse navbar-expand-md bg-dark navbar-dark sticky-top">
<a class="navbar-brand text-primary font-weight-bold" href="#">COVIDash</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Live Information</a>
</li>
<li class="nav-item">
<a class="nav-link" href="pages/worldmap.html">World map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="pages/advance_data.html">Historical Data</a>
</li>
</ul>
<ul class="nav navbar-nav ml-auto">
<button class="btn btn-outline-primary" onclick="window.open('https://github.com/mirajus-salehin/COVIDash','_blank')">
<i class="fab fa-github"></i>
Source code
</button>
</ul>
</div>
</nav>
<!--NAV BAR END-->
<!--STAT CONTAINER START-->
<div class="jumbotron">
<h1 class="text-center display-5">Global COVID-19 Cases</h1>
<hr class="my-4">
<div class="container">
<div class="row">
<div class="col-md-4 text-center p-5" id="counters_1">
<h3 class="text-danger font-weight-bold">Total Confirmed</h3>
<h1 class="text-center counter" data-Targetnum="0" data-Easing="linear" id="tcon"></h1>
</div>
<div class="col-md-4 text-center p-5" id="counters_2">
<h3 class="text-muted font-weight-bold">Total Death</h3>
<h1 class="text-center counter" data-Targetnum="0" data-Easing="linear" id="tdeath"></h1>
</div>
<div class="col-md-4 text-center p-5" id="counters_3">
<h3 class="text-success font-weight-bold">Total Recovered</h3>
<h1 class="text-center counter" data-Targetnum="0" data-Easing="linear" id="trec"></h1>
</div>
</div>
</div>
<script src="scripts/utils/counter-up.js"></script>
</div>
<!--STAT CONTAINER END-->
<br>
<br>
<!-- DATA TABLE START -->
<div class="container">
<h1 class="text-center display-5">Country-wise cases</h1>
<p class="lead text-center">View the COVID-19 cases around the world sorted as highest to lowest confirmed cases.
</p>
<hr class="my-4">
</div>
<br>
<div class="container">
<div class="table-responsive">
<table id="example" class="table table-hover" style="width:100%">
<thead>
<tr class="table-active">
<th>Country</th>
<th>Total Confirmed</th>
<th>Total Deaths</th>
<th>Total Recovered</th>
<th>New Recovered</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Country</th>
<th>Total Confirmed</th>
<th>Total Deaths</th>
<th>Total Recovered</th>
<th>New Recovered</th>
</tr>
</tfoot>
</table>
<script src="./scripts/main.js"></script>
</div>
</div>
<!--DATA TABLE END-->
<br>
<div class="container-fluid bg-dark stick-bottom">
<div class="container text-center p-2">
<p class="text-white">
Data collected from <a href="https://covid19api.com/">covid19api.com</a>
</p>
</div>
</div>
</body>
</html>