-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlisting.html
192 lines (165 loc) · 8.24 KB
/
listing.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<meta content="Visualization of Covid-19 in United States, tables and maps are included." name="description">
<meta content="MijazzChan" name="author">
<title>Covid-19 US Visualization - Listing Page</title>
<!-- Bootstrap core CSS -->
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" rel="stylesheet">
<link href="css/dark-mode.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/custom.css" rel="stylesheet">
</head>
<body>
<div class="d-flex" id="wrapper">
<!-- Sidebar -->
<div class="bg-light border-right" id="sidebar-wrapper">
<div class="sidebar-heading">Covid-19 US Visualization</div>
<div class="list-group list-group-flush">
<a class="list-group-item list-group-item-action bg-light" href="index.html">Overview</a>
<a class="list-group-item list-group-item-action bg-light" href="listing.html">Listing</a>
<a class="list-group-item list-group-item-action bg-light" href="state-wise.html">Region Data</a>
<a class="list-group-item list-group-item-action bg-light" href="state-overview-map.html">State Overview Map</a>
<a class="list-group-item list-group-item-action bg-light" href="about.html">About</a>
<!-- <a href="#" class="list-group-item list-group-item-action bg-light">Status</a>-->
</div>
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<nav class="navbar navbar-light bg-light border-bottom">
<button class="navbar-toggler-icon" id="menu-toggle"></button>
<span class="nav-item custom-control custom-switch dark-mode-nav">
<input class="custom-control-input" id="darkSwitch" type="checkbox"/>
<label class="custom-control-label" for="darkSwitch">Dark Mode</label>
</span>
</nav>
<div class="container-fluid">
<!-- Content -->
<p class="h2 text-center" style="padding: 1rem">Covid-19 Region Listing</p>
<div class="row">
<div class="col-12 col-md-4 listing-card">
<div class="card bg-light">
<div class="card-body">
<h5 class="card-title text-center text-warning">States Cases Listing</h5>
<table id="state-cases-tb" class="table bg-light table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">State</th>
<th scope="col">Cases Reported</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-12 col-md-8 listing-card">
<div class="card bg-light">
<div class="card-body">
<h5 class="card-title text-center text-warning">Counties Cases Listing</h5>
<table id="county-cases-tb" class="table bg-light table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">County - State</th>
<th scope="col">Cases Reported</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12 col-md-4 listing-card">
<div class="card bg-light">
<div class="card-body">
<h5 class="card-title text-center text-danger">States Deaths Listing</h5>
<table id="state-deaths-tb" class="table bg-light table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">State</th>
<th scope="col">Deaths Reported</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-12 col-md-8 listing-card">
<div class="card bg-light">
<div class="card-body">
<h5 class="card-title text-center text-danger">Counties Deaths Listing</h5>
<table id="county-deaths-tb" class="table bg-light table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">County - State</th>
<th scope="col">Deaths Reported</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- Bootstrap core JavaScript -->
<script crossorigin="anonymous"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script crossorigin="anonymous"
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!-- Dark mode switch override -->
<script src="js/override-default-darkmode-detection.js"></script>
<!-- HighChart dependencies -->
<script crossorigin="anonymous"
integrity="sha256-fDbe4TepPjh6W630mXP0hzXCDbeBKCaL7xMiH1vi6r4="
src="https://cdn.jsdelivr.net/npm/[email protected]/highcharts.js"></script>
<script crossorigin="anonymous"
integrity="sha256-MhuSaR+PCWyAoQoao/I4VC28Jn44ClJgTkMX2JFf6Tk="
src="https://cdn.jsdelivr.net/npm/[email protected]/modules/map.js"></script>
<script crossorigin="anonymous"
integrity="sha256-u8OFdTPqM2KiJslTVJjXXIFf2v9ZWoWhMpNdusY4XgM="
src="https://cdn.jsdelivr.net/npm/[email protected]/modules/exporting.js"></script>
<script crossorigin="anonymous"
integrity="sha256-JWDOjoCSCb+brqc8AmgrD84td506g7CPIJT8tai7HCA="
src="https://cdn.jsdelivr.net/npm/[email protected]/modules/export-data.js"></script>
<script crossorigin="anonymous"
integrity="sha256-DtslBZEW0z3+1tIdiNdtoW2oKJigMleQb8rfvT6eca8="
src="https://cdn.jsdelivr.net/npm/[email protected]/modules/accessibility.js"></script>
<script src="js/utils.js"></script>
<script src="js/listing.js"></script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function (e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
<script>
$(document).ready(function () {
console.log("Ready Function Hit");
fillListingTables();
});
</script>
</div>
</div>
</body>
</html>