forked from FlavioAdamo/Covid-Vaccines-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
214 lines (207 loc) · 10.4 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<head>
<title>Covid Vaccine Track | World - All countries DATA</title>
<meta name="description"
content="Covid vaccines tracker. This website track the number of dosed administered in real time around the World.">
<meta http-equiv="Cache-control" content="no-cache">
<link rel="icon" alt="syringe" href="Images/syringe.png" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="Style/style.css">
</style>
</head>
<body>
<div class="page">
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="/"><img id="navLogo" alt="covidvaccinetrack logo" src="Images/Logo.png" width="160px"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-item nav-link active" href="View/about.html">About</a>
</li>
<li class="nav-item active">
<div class="nav-gitLink">
<div class="nav-gitIcon">
<a class="nav-link github-btn" href="https://github.com/FlavioAdamo/Covid-Vaccines-Tracker">
<img class="github-img nav" src="Images/github-mark.png" data-toggle="tooltip" data-placement="bottom"
title="Contribute on GitHub!">
</a>
</div>
</div>
</li>
</ul>
<div id ="sharebtns">
<span id ="facebook" class ="socialshare">
<iframe src="https://www.facebook.com/plugins/share_button.php?href=https://covidvaccinetrack.com&layout=button&size=large&width=76&height=28&appId" width="76" height="28" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share">Share</iframe>
</span>
<span id ="twitter" class ="socialshare">
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-show-count="false" data-size="large">Tweet</a><script async src="https://platform.twitter.com/widgets.js"></script>
</span>
</div>
</div>
</div>
</nav>
<br>
<div class="container" id="counters" style="padding-top: 60px;">
<div class="d-none d-sm-block">
<div class="container w-100 d-flex justify-content-center" style="height: 65%;">
<div class="row w-100 h-100">
<div id="map-holder" class="col-12 w-100 h-100 chart-col">
<div id="map" class="map"></div>
</div>
</div>
</div>
</div>
<template id="countersTemplate">
<div class="row">
<div class="four col-md-6" style="padding-top: 15px;">
<div id="2" class="counter-box green hoverForMapChange">
<i class="fa fa-thumbs-o-up"></i><span class="counter" id="totvalue">{{totvalue}}</span>
<p>Vaccines administered around the world</p>
</div>
</div>
<div class="four col-md-6" style="padding-top: 15px;">
<div id="3" class="counter-box blue hoverForMapChange">
<i class="fa fa-thumbs-o-up"></i><span class="counter" id="peopleVaccinated">{{peopleVaccinated}}</span>
<p>People fully vaccinated</p>
</div>
</div>
<div class="col-6 col-md-6" style="padding-top: 15px;">
<div id="1" class="counter-box green-light hoverForMapChange">
<i class="fa fa-thumbs-o-up"></i><span class="counter2" id="totvaccinated">{{totvaccinated}}</span>
<p>Of the population received<br> at least 1 dose of vaccine</p>
</div>
</div>
<div class="col-6 col-md-6" style="padding-top: 15px;">
<div id="0" class="counter-box blue-light hoverForMapChange">
<i class="fa fa-thumbs-o-up"></i><span class="counter1"
id="fullyVaccinated">{{fullyVaccinated}}</span>
<p>Of the population is<br> fully vaccinated</p>
</div>
</div>
</div>
</template>
</div>
<div class="container" style="padding-top:20px;">
<div class="row">
<div id="filterDiv" style="display:none;" class="col-12">
<div class="row p-3" style="justify-content: center; align-items:center;">
<div class="col-sm-6 col-md-2 align-self-center deletepadding widthFitContent">
<div class="normalText">Order by:</div>
</div>
<div class="col-sm-6 col-lg-3 col-md-4 deletepadding widthFitContent">
<div class="dropdown">
<button class="btn btn-light dropdown-toggle normalText" type="button" id="dropdownMenuButton"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img alt="syringe" src="Images/syringe.png" style="width: 20px; padding-right:10px;">Doses
Administered
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item normalText" onclick="updateListFilter(0)"><img alt="syringe"
src="Images/syringe.png" style="width: 25px; padding-right:10px;">Doses
Administered </a>
<a class="dropdown-item normalText" onclick="updateListFilter(1)"><img alt="population"
src="Images/Population.png" style="width: 25px; padding-right:10px;">% fully vaccinated </a>
<a class="dropdown-item normalText" onclick="updateListFilter(2)"><img alt="population"
src="Images/alphabetical.png" style="width: 25px; padding-right:10px;">Alphabetical </a>
</div>
</div>
</div>
<div style="position: relative;" class="col-sm-12 col-lg-7 col-md-6 deletepadding">
<img src="Images/Search.png" class="search-icon" alt="">
<input class="float-right search" type="search" autocomplete="off" name="search" placeholder="Search for Continents or Countries" id="search">
</div>
</div>
</div>
<div class="container">
<div class="row left-right-padding15" id="collapse" style="display: none;padding-top: 15px;">
<div class="col-md-12">
<div class="row grouplist" id="collapseContinents">
<div class="col-12 groupList-title">Continents</div>
</div>
</div>
<div class="col-md-12" style="padding-top: 15px;">
<div class="row grouplist" id="collapseCountries">
<div class="col-12 groupList-title">Countries</div>
<template id="accordion">
<div class="col-md-4">
<div class="accordion">
<div class="row deletepadding">
<div class="col-1" style="padding-top: 2px;">
<text class="position">{{position}}</text>
</div>
<div class="col deletepadding">
<text class="countryname">{{country}}</text>
</div>
<div class="col" style="padding-right:0;">
<text class="currentVaccineNumber">
<img alt="syringe" src="Images/syringe.png" style="height:14px;"> {{totalVaccines}}
</text>
</div>
<div class="col-1 deletepadding" style="max-width: 22px;">
<text class="position"></text>
</div>
</div>
<div class="row" style="padding-top: 5px;">
<div class="col-1">
<text class="position"></text>
</div>
<div class="col-7 deletepadding" style="padding-top: 4px;">
<text class="populationpercent">
<img alt="syringe" src="Images/Population.png" style="width: 20px; padding-right: 5px;" />
{{populationPercent}}
</text>
</div>
<div class="col-3 deletepadding">
<div>
<text class="differenceCounter">{{totalVaccinesDifferences}}</text>
</div>
</div>
</div>
</div>
</div>
</template>
</div>
</div>
</div>
</div>
<div id="loadingmodal" style="padding-top: 50%;">
<center>
<div class="lds-ellipsis">
</div>
</center>
</div>
</div>
</div>
<div class="row" id="license" style="padding: 10; display: none;">
<center>
<div class="col-12 col-md-4">
<center>
Source: <a title="in HTML.it puoi trovare risorse per webmaster" href="https://ourworldindata.org/"
rel="noopener" target="_blank">
Our World in Data
</a>
</center>
</div>
</div>
</center>
</div>
<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.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="https://www.gstatic.com/charts/loader.js"></script>
<script src="Script/script.js"></script>
<script src="Script/data.js"></script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>