-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (124 loc) · 5.02 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html>
<head>
<title>PEV Trip Explorer</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300, 300italic,400,600,800,800italic,600italic' rel='stylesheet' type='text/css'>
<link href="lib/leaflet.css" rel="stylesheet" type="text/css" />
<link href="jquery-ui.css" rel="stylesheet" type="text/css" />
<link href="hubway.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://npmcdn.com/[email protected]/dist/leaflet.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="lib/jquery-ui.min.js"></script>
<script src="https://npmcdn.com/[email protected]/dist/leaflet.js"></script>
<script type="text/javascript" src="lib/arc.js"></script>
<script type="text/javascript" src="trips.js"></script>
<head>
<body>
<div id="left">
<div class="filter" id="time">
<p class="filter-title">Time</p>
<p style="display: none;" class="text-filter selected">Starting between</p>
<!-- <p class="text-filter">Ending between</p> -->
<div><div class="plus">+</div><p id="start-hour" class="time-step hour">12</p><div class="minus">-</div></div>
<div style="display: none;"><div class="plus">+</div><p id="start-minute" class="time-step minute">00</p><div class="minus">-</div></div>
<div><div class="plus">+</div><p id="start-am" class="time-step am">AM</p><div class="minus">-</div></div>
<div><p style="display: inline-block; margin: auto 4px;"> and </p></div>
<div><div class="plus">+</div><p id="end-hour" class="time-step hour">12</p><div class="minus">-</div></div>
<div style="display: none;"><div class="plus">+</div><p id="end-minute" class="time-step minute">00</p><div class="minus">-</div></div>
<div><div class="plus">+</div><p id="end-am" class="time-step am">AM</p><div class="minus">-</div></div>
</div>
<div class="filter" id="date">
<p class="filter-title">Month</p>
<div id="months">
<p>J</p>
<p>F</p>
<p>M</p>
<p>A</p>
<p>M</p>
<p>J</p>
<hr />
<p>J</p>
<p>A</p>
<p>S</p>
<p>O</p>
<p>N</p>
<p>D</p>
</div>
</div>
<div class="filter">
<p class="filter-title">Weekday</p>
<div id="days">
<p>S</p>
<p>M</p>
<p>T</p>
<p>W</p>
<p>T</p>
<p>F</p>
<p>S</p>
</div>
</div>
<div style="display: none;" class="filter" id="daylight">
<p class="filter-title ">Day or night</p>
<p class="text-filter">Daylight (sunrise to sunset)</p>
<p class="text-filter">Non-daylight (sunset to sunrise)</p>
<p class="text-filter selected">Either day or night</p>
</div>
<!-- <div class="filter" id="zip-code">
<p class="filter-title">Home of rider</p>
<p class="text-filter">Central city: Hubway service area</p>
<p class="text-filter">Inside Route 128</p>
<p class="text-filter">South and west (S. Station commuter lines)</p>
<p class="text-filter">North (N. Station commuter lines)</p>
<p class="text-filter selected">Any location</p>
</div> -->
<div class="filter" id="duration">
<p class="filter-title">Trip Duration</p>
<div class="filter-slider" id="duration-slider"></div>
<p class="slider-title">0 to 6 hrs</p>
<div style="display: none;">
<input type="checkbox" id="duration-check" checked/><label for="duration-check" class="selected">Include rides longer than 6 hours</label>
</div>
</div>
<div class="filter" id="temp">
<p class="filter-title">Temperature</p>
<div class="filter-slider" id="temp-slider"></div>
<p class="slider-title">0°C to 30°C</p>
</div>
<div class="filter" id="age">
<p class="filter-title">Age</p>
<div class="filter-slider" id="age-slider"></div>
<p class="slider-title">17 to 80 years</p>
</div>
<div class="filter" id="precip">
<p class="filter-title">Weather</p>
<p class="text-filter">No Rain</p>
<p class="text-filter">Some Rain</p>
<p class="text-filter selected">All Weather</p>
</div>
<div class="filter" id="gender">
<p class="filter-title">Gender</p>
<p class="text-filter">Female</p>
<p class="text-filter">Male</p>
<p class="text-filter selected">All</p>
</div>
</div>
<div id="right">
<div id="map"></div>
<div id="legend">
<h3>STATION: <span id="station-name"></span></h3>
<p class="outbound"><span id="outbound-count"></span>outbound trips</p>
<p class="inbound"><span id="inbound-count"></span>inbound trips</p>
<p class="bus-stops">bus stops</p>
</div>
<div id="mode-toggle">All Stations</div>
<!-- <div id="footer">
<p id="mode-toggle" class="station">Click to view all stations</p>
<div id="selected-label"><p id="label"></p><p>Select stations on the map to view their trip volumes</p></div>
<div id="station-legend"></div>
<div id="overall-legend"></div>
</div> -->
</div>
<div id="probe"></div>
</body>
</html>