-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (96 loc) · 5.72 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Dati della stazione meteo 03A0F735 del liceo scientifico Leonardo Da Vinci di Trento">
<meta name="author" content="Pietro Dorighi">
<link href="./favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
<title>Stazione meteo DaVinci</title>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<script src="https://code.highcharts.com/modules/accessibility.js"></script>
<script src="./assets/js/color-modes.js"></script>
<script src="./assets/js/setup.js"></script>
<script src="./assets/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3">
<link href="./assets/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container py-4">
<header class="pb-3 mb-4 border-bottom">
<a href="/" class="d-flex align-items-center text-body-emphasis text-decoration-none">
<img width="40" height="32" class="me-2" role="img" src="./assets/img/Logo-Liceo.jpg" alt="Logo liceo" id="jsn-logo-mobile"/></svg>
<span class="fs-4">Stazione meteo 03A0F735</span>
</a>
</header>
<section class="pb-2 my-4 border-bottom border-down text-center text-body-emphasis fs-4">Grafici principali</section>
<div class="d-grid gap-2 d-sm-block mb-2">
<button type="button" id="btnIntervallo" class="btn btn-primary dropdown-toggle me-md-1 ms-md-2" data-bs-toggle="dropdown">
Orario <span class="caret"></span>
</button>
<div class="dropdown-menu" aria-labelledby="btnIntervallo">
<a class="dropdown-item" id="Intervallo" href="#">Orario</a>
<a class="dropdown-item" id="Intervallo" href="#">Giornaliero</a>
<a class="dropdown-item" id="Intervallo" href="#">Mensile</a>
</div>
<button type="button" id="btnPeriodoG" class="btn btn-primary dropdown-toggle me-md-3" data-bs-toggle="dropdown">
24 ore <span class="caret"></span>
</button>
<div class="dropdown-menu" aria-labelledby="btnPeriodoG" id="listPeriodoG">
<a class="dropdown-item" id="PeriodoG" href="#">24 ore</a>
<a class="dropdown-item" id="PeriodoG" href="#">7 giorni</a>
<a class="dropdown-item" id="PeriodoG" href="#">30 giorni</a>
</div>
<button type="button" id="btnUpdate" class="btn btn-danger">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-repeat" viewBox="0 0 16 16">
<path d="M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z"></path>
<path fill-rule="evenodd" d="M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z"></path>
</svg>
Aggiorna
</button>
</div>
<div class="row align-items-md-stretch">
<div class="col-lg-6">
<div class="h-100 p-2 bg-body-tertiary rounded-3">
<figure class="highcharts-figure">
<div id="gFito1"></div>
</figure>
</div>
</div>
<div class="col-lg-6">
<div class="h-100 p-2 bg-body-tertiary border rounded-3">
<figure class="highcharts-figure">
<div id="gFito2"></div>
</figure>
</div>
</div>
</div>
<div class="my-2 row align-items-md-stretch">
<div class="col-lg-6">
<div class="h-100 pt-2 p-2 bg-body-tertiary rounded-3">
<figure class="highcharts-figure">
<div id="gSunr"></div>
</figure>
</div>
</div>
<div class="col-lg-6">
<div class="h-100 p-2 bg-body-tertiary border rounded-3">
<figure class="highcharts-figure">
<div id="gSuns"></div>
</figure>
</div>
</div>
</div>
<section class="pb-2 my-4 border-bottom border-down text-center text-body-emphasis fs-4">Widget tabella della stazione</section>
<div id="tabella" class="table table-responsive"></div>
<footer class="pt-3 mt-4 text-body-secondary border-top text-center fw-bold">
Liceo Scientifico Leonardo da Vinci
</footer>
</div>
<script src="./assets/js/main.js"></script>
</body>
</html>