forked from Zalaxci/Air-Quality-Analyzer-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (39 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<title>Schools</title>
<link rel="stylesheet" href="https://unpkg.com/tachyons@4/css/tachyons.min.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<link rel="stylesheet" href="bower_components/c3/c3.min.css">
<link rel="stylesheet" href="sections/sidepanel.css?v=02">
<style>
.chart {
height: 50vh !important;
max-height: 50vh !important;
}
</style>
</head>
<body class="ma0">
<section class="vh-100 w-100 map"></section>
<input type="checkbox" class="dn fixed" id="sidepanel-toggle" name="sidepanel-toggle" value="Show sidepanel">
<label class="fixed z-max top-1 right-2 white pointer" for="sidepanel-toggle">Hide/show charts ☰</label>
<section class="fixed z-9999 top-0 right-0 bottom-0 mh-100 w-100 w-50-m w-third-l overflow-y-scroll bg-black-80" id="sidepanel">
<div class="vh-50 w-100 chart" id="pm2_5"></div>
<div class="vh-50 w-100 chart" id="pm10"></div>
<div class="vh-50 w-100 chart" id="temp"></div>
<div class="vh-50 w-100 chart" id="humidity"></div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.0/cash.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<script src="bower_components/d3/d3.min.js"></script>
<script src="bower_components/c3/c3.min.js"></script>
<script type="module" src="components.js"></script>
</body>
</html>