-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (52 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ADH Vaccine Tracker</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="app" v-cloak>
<div class="container">
<div class="cards">
<div class="card" v-for="country in countries">
<div class="card-border">
<div class="card-header">
<div class="card-flag">
<img loading="lazy" :src="countryData[country].flagImage">
</div>
<div class="card-title">{{ countryData[country].country }}</div>
</div>
<div class="card-body">
<div class="vaccinations-wrap">
<div class="vaccinations" v-for="vacs in countryData[country].vaccinations">
<div class="vaccine-marker" :style="{ 'background': vacs.color } "></div>{{ vacs.vacName }}</div>
</div>
<div class="vaccination-detail">
<div class="vaccination-deliveries">
<div class="vacc-number">{{ countryData[country].deliveries | formatNumber }}</div>
<div class="vacc-label">Total Vacc. Delivered</div>
</div>
<div class="vaccination-total">
<div class="vacc-number">{{ countryData[country].totalVaccinations | formatNumber }}</div>
<div class="vacc-label">Total Vacc. Administered</div>
</div>
<div class="vaccination-ratio">
<div class="vaccination-ratio-blocks">
<div class="vaccination-ratio-left">{{ countryData[country].popRatio }}</div>
<div class="vaccination-ratio-right">Vaccinations/<br/>
100 people</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>