-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (66 loc) · 3.26 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
<!doctype html>
<html lang="fr">
<head>
<!-- Required meta tags -->
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" type="image/png" href="./favicon.ico">
<!-- User CSS -->
<link rel="stylesheet" type="text/css" href="./styles/layout.css"/>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"/>
<!-- Leaflet -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
<title>Évolution de la campagne de vaccination à la Covid-19 en France | Vaxidep</title>
</head>
<body>
<!-- The app -->
<div id="app" class="container-fluid">
<div class="row">
<div class="col-lg-4">
<h1>La vaccination en France</h1>
<!-- Geographical area -->
<geo-area :area="area" @set-area="setArea"></geo-area>
<!-- Nb vaccinated people -->
<nb-vax
:metrics="{
n_tot_dose1: Number(metrics.n_tot_dose1[0]),
n_tot_complet: Number(metrics.n_tot_complet[0]),
rate_dose1: metrics.rate_dose1[0],
rate_complet: metrics.rate_complet[0]
}"></nb-vax>
<!-- Metrics -->
<chart :metrics="metrics" ref="chart"></chart>
</div>
<div class="col-lg-8">
<!-- Map -->
<fr-map ref="map" @set-area="setArea"></fr-map>
</div>
</div>
</div>
<!-- jQuery.js -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<!-- Moment.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/locale/fr.min.js"></script>
<!-- Vue.js 3 -->
<script src="https://unpkg.com/vue@next"></script>
<!-- Leaflet -->
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
<!-- Chart.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.js"></script>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<!-- App -->
<script src="./app/main.js"></script>
<!-- Components -->
<script src="./app/components/chart.js"></script>
<script src="./app/components/fr-map.js"></script>
<script src="./app/components/geo-area.js"></script>
<script src="./app/components/nb-vax.js"></script>
<!-- Mount the app -->
<script>
const mountedApp = app.mount('#app');
</script>
</body>
</html>