-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (114 loc) · 4.14 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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Covid-19</title>
<meta name="theme-color" content="#212121" />
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#212121" />
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="#212121" />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"
/>
<link rel="stylesheet" href="style.css" />
<script
src="https://kit.fontawesome.com/bd43ee06c8.js"
crossorigin="anonymous"
></script>
</head>
<body>
<!-- navbar -->
<nav class="grey darken-4">
<div class="nav-wrapper">
<a href="#!" class="brand-logo">
<i class="fas fa-virus fa-2.5x"></i
></a>
<a href="#" data-target="mobile-demo" class="sidenav-trigger"
><i class="material-icons">menu</i></a
>
<ul id="nav" class="click right hide-on-med-and-down">
<li class="active"><a id="home" href="index.html">HOME</a></li>
<li><a id="graph" href="graph.html">GRAPH</a></li>
<li><a id="helpful" href="links.html">HELPFUL LINKS</a></li>
<li><a id="faq" href="faq.html">FAQs</a></li>
</ul>
</div>
</nav>
<ul class="sidenav" id="mobile-demo">
<li class="active"><a id="home" href="index.html">HOME</a></li>
<li><a id="graph" href="graph.html">Graph</a></li>
<li><a id="helpful" href="links.html">Helpful Link</a></li>
<li><a id="faq" href="faq.html">FAQ</a></li>
</ul>
<ul id="collection" class="collection">
<li id="random" class="collection-item">Stay safe</li>
</ul>
<div class="container">
<!-- table page-->
<a
id="toggle"
class="grey darken-3 btn-floating btn-large waves-effect waves-light red"
><i class="fas fa-globe-americas"></i
></a>
<section class="state cp table page ">
<!-- updated ago-->
<h2 align="center">India</h2>
<div class="updated_ago">
<span id="lastupdate" class="last">Last Updated: </span
><span id="updatedate" class="india-update"></span>
</div>
<!-- table -->
<table class="centered striped">
<thead>
<tr>
<th>State/UT</th>
<th id="tc">C <span id="stateC"></span></th>
<th id="tr">R <span id="stateR"></span></th>
<th id="td">D <span id="stateD"></span></th>
</tr>
</thead>
<tbody class="state-body"></tbody>
</table>
</section>
<section id="world" class="world">
<h2 align="center">World</h2>
<div class="updated_ago">
<span id="lastupdate" class="last">Last Updated:</span>
<span id="updatedate" class="world-update"></span>
</div>
<table class="centered striped">
<thead>
<tr>
<th>Country</th>
<th id="tc">C <span id="countryC"></span></th>
<th id="tr">R <span id="countryR"></span></th>
<th id="td">D <span id="countryD"></span></th>
</tr>
</thead>
<tbody class="country-body"></tbody>
</table>
</section>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="scripts/data.js"></script>
<script src="scripts/table.js"></script>
<script src="scripts/ui.js"></script>
<script src="scripts/app.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
var elem = document.querySelector(".sidenav");
var instance = M.Sidenav.init(elem, {
inDuration: 350,
outDuration: 350,
edge: "left" //or right
});
});
</script>
</body>
</html>