Repository navigation
Expand file tree
/
Copy pathrange.html
More file actions
102 lines (91 loc) · 3.13 KB
/
Copy pathrange.html
File metadata and controls
102 lines (91 loc) · 3.13 KB
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
98
99
100
101
102
<!DOCTYPE html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8" />
<title>Data Stories Range</title>
<meta name="description" content="" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"
/>
<meta property="og:title" content="" />
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<link rel="manifest" href="site.webmanifest" />
<link rel="apple-touch-icon" href="icon.png" />
<!-- Place favicon.ico in the root directory -->
<!-- Latest compiled and minified CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/styles.css" />
<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
<meta name="theme-color" content="#fafafa" />
</head>
<body>
<div id="shield">
<p id="shield-text">
You must enable location services and allow this page to know your
location to use this web app
</p>
</div>
<header>
<h3>Data Stories Range</h3>
</header>
<p id="geo-enabled">Checking for geolocation enabled...</p>
<p id="read-out">data read out...</p>
<button class="master-button" id="edit">Edit Range</button>
<!-- Map Section -->
<div class="container-fluid">
<div class="row">
<div class="col">
<div id="map"></div>
</div>
</div>
<div class="row">
<div class="col-xs-9">
<p class="range-tracker" id="rangeTracker1">current value = 0.5</p>
<input
type="range"
id="rangeInput1"
name="rangeInput"
min="0"
max="1"
step="0.01"
oninput="updateRangeValue(this.value)"
/>
</div>
<div class="col-xs-3">
<p class="number-tracker" id="countNumberTracker1"></p>
<button class="count-button" id="adder1">Add Data</button>
<input type="text" id="buttonLabel1" />
<input type="text" id="rangeMin1" />
<input type="text" id="rangeMax1" />
</div>
</div>
<div class="row stuck-bottom">
<div class="col-xs-4">
<button class="master-button" id="resetData">Reset Data</button>
</div>
<div class="col-xs-4">
<button class="master-button" id="exportCSV">Export CSV</button>
</div>
<div class="col-xs-4">
<button class="master-button" id="exportGeoJson">
Export GeoJson
</button>
</div>
</div>
</div>
<script src="js/vendor/modernizr-3.11.2.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/utils.js"></script>
<script src="js/range.js"></script>
</body>
</html>