-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (154 loc) · 8.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://unpkg.com/feather-icons"></script>
<link rel="stylesheet" href="style.css">
<title>Covid Dashboard</title>
</head>
<body>
<div id="particles-js">
<div class="container-fluid container-dashboard d-flex align-items-center h-95">
<div class="col-md-2 containerIndice h-100 d-flex flex-column justify-content-between">
<div class="row d-flex align-items-center justify-content-center flex-column text-white text-center">
<div class="logo mt-2">
<h2>COVID</h2>
<p>Dashboard</p>
</div>
</div>
<div class="row">
<div class="d-flex justify-content-center align-items-center mr-2 p-3 informations">
<p class="m-0">Estes dados estão sendo coletados <a href="https://api.covid19api.com/" target="blank">desta api</a>, dashboard criado para fins estudantis portanto o autor não se responsabiliza pela veracidade dos dados aqui apresentados.
</p>
</div>
</div>
</div>
<div class="col-md-10 pl-5 pr-5 content d-flex flex-column justify-content-between h-100">
<div class="busca row d-flex justify-content-between containerCabecalho mb-2">
<span class="d-flex align-items-center justify-content-center">
<input class="buscaInput text-center" id="countrySearch" placeholder="Buscar pais" type="text">
<button class="bt-search ml-1" onclick="searchCountry(true)"><i data-feather="search" ></i></button>
<div class="ml-5 btn-group">
<button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Estados
</button>
<div id="province-dropdown" class="dropdown-menu scrollable-menu">
</div>
</div>
</span>
<h2 class="indice" id="province">- -</h2>
</div>
<div class="row indice d-flex justify-content-around">
<div class="col d-flex flex-column justify-content-center text-center m-0">
<p>Situação no estado</p>
</div>
</div>
<div class="row d-flex justify-content-around cardHeader mb-4">
<div class="col-md-3 d-flex flex-column justify-content-center card text-center cardRecuperados">
<div class="icon">
<i data-feather="user-check"></i>
</div>
<h3 class="indice" id="nRecuperados">--</h3>
<div class="row">
<div class="col">
<p>Recuperados</p>
</div>
</div>
</div>
<div class="col-md-3 d-flex flex-column justify-content-center card text-center cardConfirmados">
<div class="icon">
<i data-feather="user-plus"></i>
</div>
<h3 class="indice" id="nConfirmados">--</h3>
<div class="row">
<div class="col">
<p>Confirmados</p>
</div>
</div>
</div>
<div class="col-md-3 d-flex flex-column justify-content-center card text-center cardMortes">
<div class="icon">
<i data-feather="user-minus"></i>
</div>
<h3 class="indice" id="nMortes">--</h3>
<div class="row">
<div class="col">
<p>Mortes</p>
</div>
</div>
</div>
</div>
<div class="row indice d-flex justify-content-around">
<div class="col d-flex flex-column justify-content-center text-center m-0">
<p>Situação no país</p>
</div>
</div>
<div class="row d-flex justify-content-around cardHeader mb-4">
<div class="col-md-3 d-flex flex-column justify-content-center card text-center cardRecuperados">
<div class="icon">
<i data-feather="user-check"></i>
</div>
<h3 class="indice" id="nRecuperadosCountry">--</h3>
<div class="row">
<div class="col">
<p>Recuperados</p>
</div>
</div>
</div>
<div class="col-md-3 d-flex flex-column justify-content-center card text-center cardConfirmados">
<div class="icon">
<i data-feather="user-plus"></i>
</div>
<h3 class="indice" id="nConfirmadosCountry">--</h3>
<div class="row">
<div class="col">
<p>Confirmados</p>
</div>
</div>
</div>
<div class="col-md-3 d-flex flex-column justify-content-center card text-center cardMortes">
<div class="icon">
<i data-feather="user-minus"></i>
</div>
<h3 class="indice" id="nMortesCountry">--</h3>
<div class="row">
<div class="col">
<p>Mortes</p>
</div>
</div>
</div>
</div>
<div class="row indice d-flex justify-content-around">
<div class="col d-flex flex-column justify-content-center text-center m-0">
<p>Gráficos</p>
</div>
</div>
<div class="row containerGraficos d-flex align-items-center justify-content-around w-100 h-100">
<div class="col-md-6 histogramaGraph">
<div id="chart_div" style="width: 100%; height: 100%;"></div>
</div>
<div class="col-md-6 pizzaGraph">
<div id="piechart_3d" style="width: 100%; height: 100%;"></div>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace()
</script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="./js/main.js"></script>
<script src="./js/particles.js"></script>
<script src="./js/app.js"></script>
</body>
</html>