-
Notifications
You must be signed in to change notification settings - Fork 46
/
index.html
73 lines (70 loc) · 2.54 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
<!DOCTYPE html>
<html>
<head>
<title>Show Me The Way</title>
<meta charset='utf-8' />
<link rel='stylesheet' href='//unpkg.com/leaflet@1.8.0/dist/leaflet.css' />
<link rel='stylesheet' href='css/style.css' />
<link rel='stylesheet' href='css/site.css' />
<link rel='stylesheet' href='css/sidebar.css' />
</head>
<body>
<div class='container'>
<div id='loading'>
<h1>Loading...</h1>
</div>
<div id='main' class='full-height'>
<div class='overlay'>
<div id='overview_map'></div>
<p class='pad2 bold' id='reverse-location'></p>
</div>
<div id='metadata' class='overlay'>
<div class='pad2' id='changeset_info'></div>
<p class='pad2 bold' id='comment'></p>
</div>
<div class='indicator' id='queuesize'></div>
<div id='map' class='col12 full-height'></div>
<a href='http://openstreetmap.org/' class='byosm'></a>
</div>
</div>
<div class="sidebar">
<h1>Parameters</h1>
<form id="settings-form">
<label>Playback speed
<input type="range" name="runTime" min="-10" max="-2" />
</label>
<label>Changeset comment filter
<input type="text" name="comment" />
</label>
</form>
<p>
<a href="bbox.html" id="bbox-link" class="bbox-link">Bounding box filter →</a>
</p>
</div>
<div class="sidebar-button" id="sidebar-button">
<button class="show-sidebar-button">
☰
</button>
<button class="hide-sidebar-button">
←
</button>
</div>
<template id='changeset-template'>
<p><a target='_blank' href='//openstreetmap.org/browse/changeset/{{meta.changeset}}'>{{meta.timetext}}</a> <a target='_blank' href='//openstreetmap.org/user/{{meta.user}}'>{{meta.user}}</a>
{{meta.action}} <a target='_blank' href='//openstreetmap.org/browse/{{meta.type}}/{{meta.id}}'>{{tagText}}</a>
</p>
</template>
<script src='//unpkg.com/leaflet@1.8.0/dist/leaflet.js'></script>
<script src='js/bundle.js'></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-39286611-2']);
_gaq.push(['_trackPageview']);
(function() {
const ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
const s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>