-
Notifications
You must be signed in to change notification settings - Fork 0
/
state.html
88 lines (76 loc) · 4.4 KB
/
state.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css2?family=Merriweather:ital@1&display=swap" rel="stylesheet">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<title>CoronaTracker</title>
<link type="text/css" rel="stylesheet" href="style.css"/>
</head>
<body>
<!-- ########################## Navigation ########################-->
<nav class="navbar navbar-expand-md border sticky-top navbar-light" style="background-color:white;" >
<!-- nav brand -->
<a class="navbar-brand " href="#">
<img src="image/covid.png" width="30px" height="30px" class="img-fluid" ><span>CoronaTracker</span></a>
<!-- nav bread icon -->
<button class="navbar-toggler" data-toggle="collapse" data-target="#target" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<!-- navgation menu-->
<div class="collapse navbar-collapse justify-content-end " id="target" style="font-weight:600">
<ul class="navbar-nav ">
<li class="nav-item nav-link "> <a href="index"> Home</a></li>
<li class="nav-item nav-link"><a href="country">Country</a></li>
<li class="nav-item nav-link"><a href="https://github.com/programmerraja">About Me</a></li>
</ul>
</div>
</nav>
<!-- ########################## status live update ########################-->
<div class="status mt-2 ">
<p id="status-p">Total</p>
<div class="d-flex justify-content-around flex-wrap ">
<div class="status-div">Active<img src="image/reddot.png" height="20px" width="20px"><br><span id="active-no"></span></div>
<div class="status-div">Confirmed<img src="image/confirm.png" height="20px" width="20px"><br><span id="confirmed-no"></span><br></div>
<div class="status-div">Recovered<img src="image/recover.png" height="20px" width="20px"><br><span id="recovered-no"></span><br></div>
<div class="status-div">Deaths<img src="image/death.png" height="20px" width="20px"><br><span id="deaths-no"></span><br></div>
</div>
</div>
<!-- ########################## search ########################-->
<p id="state-name"></p>
<div id="search">
<input type="text" name="search_input" id="search_input" onkeyup="searchDistrict()" placeholder="SEARCH HERE...">
<input type="date" name="date" id="search_date" placeholder="Search by date">
<input type="button" name="Search" value="Search" id="search_button">
</div>
<!-- ########################## LOADING ########################-->
<div class="loading__container">
<div class="loading"></div>
Loading...
</div>
<div class="error_container">
<img src="./image/error.png" class="error_img">
<p class="error-msg" style="margin:0;text-align: center;">
Sorry for inconvenience.<br>
The API We dependent on is stop providing the data for us from date January 31.<br>
But you can see the old data by using filter option<br>
</p>
</div>
<!-- ########################## Live Table ########################-->
<div class="district-container">
</div>
<div class="search_result">
<p>No Result Found</p>
</div>
</body>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script type="text/JavaScript" src="state.js"></script>
<!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> -->
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
</html>