-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·200 lines (170 loc) · 7.79 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="manifest.json">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Last-Modified" content="0">
<meta http-equiv="Cache-Control" content="no-cache, mustrevalidate">
<meta http-equiv="Pragma" content="no-cache">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-168665187-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-168665187-1');
</script>
<link rel="apple-touch-icon" href="/src/img/iconpage.png">
<link rel="shortcut icon" href="/src/img/iconpage.png" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/src/css/style.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/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.4.1/js/bootstrap.min.js"></script>
<title>Covid-19 Dashboard</title>
</head>
<body>
<nav class="total-navbar navbar navbar-expand-md navbar-dark" style="background-color: #003D7A;">
<a class="navabar-title navbar-brand" href="/index.html">Covid-19</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">
<a class="nav-link" href="/index.html">Inicio</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/src/pages/allpaises.html">Datos globales</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/src/pages/capaHospitalaria.html">Capacidad hospitalaria</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/src/pages/estadisticas.html">Estadísticas</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/src/pages/prevencion.html">Prevención</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/src/pages/acercade.html">Acerca de</a>
</li>
</ul>
</div>
</nav>
<section class="curved">
<section class="hero">
<h1>Información sobre covid-19</h1>
<p>*Actualizaciones diarias</p>
<p id="advertencia">*La página esta en fase de desarrollo, si es que no aparecen los datos vuelve a recargar</p>
</section>
</section>
<div class="container">
<section class="data-mexico">
<div class="title-data-global">
<h2>Datos de México</h2>
<div class="date">Ultima Actualización
<div id="Day"></div>
</div>
<img src="/src/img/mexico.png" height="150px" width="150px" class="icon-data" alt="">
</div>
<div class="data-today">
<div class="card-data tarjeta text-white mb-3" style="max-width: 18rem; background-color: rgb(255, 64, 64);">
<div class="card-header ">Personas nuevas confirmadas </div>
<div class="card-body">
<h5 id="NewConfirmed" class="count"></h5>
<p class="card-text">Nuevas personas confirmadas </p>
</div>
</div>
<div class="card-data tarjeta text-white mb-3" style="max-width: 18rem; background-color: #000;">
<div class="card-header">Nuevas defunciones </div>
<div class="card-body">
<h5 id="NewDeaths" class="count"></h5>
<p class="card-text">Defunciones confirmadas por Covid-19</p>
</div>
</div>
</div>
<div class="data-total">
<div class="title-data-global">
<img src="/src/img/covid.png" width="100px" alt="">
<p class="title-data" style="color: #708090;">Datos totales </p>
</div>
<!-- datos acomulados (totales)- -->
<div class="card-global">
<div class="card-data card1 mb-3" style="max-width: 18rem; ">
<div id="danger" class="card-header card-title1">Total confirmados</div>
<div class="card-body">
<h5 id="TotalConfirmed" class="count"></h5>
<h6>Personas</h6>
</div>
</div>
<div class="card-data card2 mb-3" style="max-width: 18rem;">
<div id="dark" class="card-header">Defunciones Totales</div>
<div class="card-body">
<h6 id="TotalDeaths" class="count"> </h6>
<h6>Personas</h6>
</div>
</div>
</div>
<div class="card-special">
<div class="card-data card3 mb-3">
<div id="sucess" class="card-header card-title3">Total recuperadas </div>
<div class="card-body">
<h5 id="TotalRecovered" class="count"></h5>
<h6>Personas</h6>
</div>
</div>
</div>
</div>
</section>
</div>
</section>
</div>
<div class="separator">
<img src="/src/img/warning.png" width="200px" alt="">
<h1>Evita contagiarte</h1>
<h3>Recuerda seguir
<p> las recomendaciones</h3>
<div class="ir-recomendaciones">
<h4>Ver</h4>
<a href="/src/pages/prevencion.html"><img src="/src/img/irderecha.png" alt="" width="50px"> </a>
</div>
</div>
<section class="footer">
<h5>Creado por
<a href="https://erickrv19.github.io/">Erick RV</h5></a>
<div class="social">
<a href="https://twitter.com/ErickRV19"><img src="/src/img/twitter.png" width="48px" alt=""></a>
<a href="https://github.com/ErickRV19"><img src="/src/img/github.png" alt="" width="50px"></a>
</div>
</section>
<script async src="/src/js/app.min.js">
</script>
<script type="text/javascript">
if ('serviceWorker' in navigator) {
//console.log("Will the service worker register?");
navigator.serviceWorker.register('service-worker.js')
.then(function(reg) {
//console.log("Yes, it did.");
}).catch(function(err) {
//console.log("No it didn't. This happened: ", err)
});
}
$(document).ready(function() {
//Disable cut copy paste
$('body').bind('cut copy paste', function(e) {
e.preventDefault();
});
//Disable mouse right click
$("body").on("contextmenu", function(e) {
return false;
});
});
</script>
</body>
</html>