-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (60 loc) · 2.13 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
<!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>OSM-no-progress</title>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""
/>
<script
src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""
></script>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div id="selector">
<h1>
OSM Norge progress<button
id="selector-dropdown-toggle"
aria-label="toggle project selector window"
onclick="document.getElementById('selector-dropdown').classList.toggle('invisible'); document.getElementById('selector-dropdown-toggle').classList.toggle('flip')"
>
▲
</button>
</h1>
<div id="selector-dropdown">
<br />
<label for="progress-selector">Project:</label>
<select name="progress-selector" id="progress-selector">
<!-- Populated by Javascript -->
</select>
<br />
<br />
<label for="map-selector">Style:</label>
<select name="map-selector" id="map-selector">
<option value="mapbox-dark" selected>Mapbox dark</option>
<option value="carto-light">Carto light</option>
<option value="osm-mapnik">OpenStreetMap Carto</option>
</select>
<br>
<br>
<a href="" id="progress-source-url" target="_blank">Link to progress source</a>
</div>
<p id="error"></p>
</div>
<div id="map"></div>
<div id="github-link">
<a href="https://github.com/osmno/progress-visualizer" target="_blank"
>GitHub <img src="./githubMark.svg" alt="GitHub logo" width="24"
/></a>
</div>
<script src="./main.js"></script>
</body>
</html>