-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
244 lines (233 loc) · 12.3 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="Info 247 Final Project">
<meta name="author" content="Jong-kai Yang">
<link rel="icon" href="favicon.ico">
<title>Final Project of Info 247 - Transit</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap theme -->
<link href="css/bootstrap-theme.min.css" rel="stylesheet">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="css/ie10-viewport-bug-workaround.css" rel="stylesheet">
<!-- JQueryUI slider -->
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
<!-- Import leafletjs -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
<!-- Custom styles for this template -->
<link href="css/theme.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- JQueryUI slider -->
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
<!-- Import leafletjs -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
</head>
<body role="document">
<!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">San Francisco Metropolitan Transportation Agency - Transit Signal Priority Evaluation</a>
</div>
</div>
</nav>
<div class="container map-container" role="main">
<div id="mapid"></div>
</div>
<div class="container selector-container">
<div class="row">
<div class="col-md-5">
<div class="filter-box">
<h4 class="filter-box-title">Time Selectors</h4>
<br />
<span class="filter-name">Day of Week:</span><span id="day">Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday</span>
<div class="options">
<td>
<label for="Monday">Mon.</label>
<input type="checkbox" name="day" class="radioOptions" id="Monday" value="Monday" checked="checked"/>
</td>
<td>
<label for="Tuesday">Tue.</label>
<input type="checkbox" name="day" class="radioOptions" id="Tuesday" value="Tuesday" checked="checked"/>
</td>
<td>
<label for="Wednesday">Wed.</label>
<input type="checkbox" name="day" class="radioOptions" id="Wednesday" value="Wednesday" checked="checked"/>
</td>
<td>
<label for="Thursday">Thu.</label>
<input type="checkbox" name="day" class="radioOptions" id="Thursday" value="Thursday" checked="checked"/>
</td>
<td>
<label for="Friday">Fri.</label>
<input type="checkbox" name="day" class="radioOptions" id="Friday" value="Friday" checked="checked"/>
</td>
<td>
<label for="Saturday">Sat.</label>
<input type="checkbox" name="day" class="radioOptions" id="Saturday" value="Saturday" checked="checked"/>
</td>
<td>
<label for="Sunday">Sun.</label>
<input type="checkbox" name="day" class="radioOptions" id="Sunday" value="Sunday" checked="checked"/>
</td>
</div>
<hr />
<span class="filter-name">Time of Day: </span><span id="time">07:00 - 09:00</span>
<div style="min-height:8px"></div>
<div class="options">
<div id="slider-range"></div>
</div>
</div>
</div>
<div class="col-md-5">
<div class="filter-box">
<h4 class="filter-box-title">Individual Stop</h4>
<br />
<div>
<label for="Outbound">Outbound</label>
<input type="checkbox" name="direction" class="direction" id="Outbound" value="Outbound" />
<span class="filter-name"></span><span id="OBSelect"></span>
</div>
<div class="options options-OB">
<td>
<label for="Park Presidio OB">Presidio</label>
<input type="checkbox" name="outbound" class="nearToFar" id="Park Presidio OB" value="Park Presidio OB" />
</td>
<td>
<label for="12th OB">12th</label>
<input type="checkbox" name="outbound" class="farToNear" id="12th OB" value="12th OB" />
</td>
<td>
<label for="10th OB">10th</label>
<input type="checkbox" name="outbound" class="farToFar" id="10th OB" value="10th OB" />
</td>
<td>
<label for="8th OB">8th</label>
<input type="checkbox" name="outbound" class="farToFar" id="8th OB" value="8th OB" />
</td>
<td>
<label for="6th OB">6th</label>
<input type="checkbox" name="outbound" class="nearToFar" id="6th OB" value="6th OB" />
</td>
<td>
<label for="4th OB">4th</label>
<input type="checkbox" name="outbound" class="farToNear" id="4th OB" value="4th OB" />
</td>
<!-- <td>
<label for="Arguello OB">Arguello</label>
<input type="checkbox" name="outbound" class="originFar destinFar" id="Arguello OB" value="Arguello OB" />
</td> -->
</div>
<hr />
<div>
<label for="Inbound">Inbound</label>
<input type="checkbox" name="direction" class="direction" id="Inbound" value="Inbound" />
<span class="filter-name"></span><span id="IBSelect"></span>
</div>
<div class="options options-IB">
<!-- <td>
<label for="Park Presidio IB">Presidio</label>
<input type="checkbox" name="inbound" class="originNear destinNear" id="Park Presidio IB" value="Park Presidio IB" />
</td> -->
<td>
<label for="12th IB">12th</label>
<input type="checkbox" name="inbound" class="nearToNear" id="12th IB" value="12th IB" />
</td>
<td>
<label for="10th IB">10th</label>
<input type="checkbox" name="inbound" class="nearToNear" id="10th IB" value="10th IB" />
</td>
<td>
<label for="8th IB">8th</label>
<input type="checkbox" name="inbound" class="nearToNear" id="8th IB" value="8th IB" />
</td>
<td>
<label for="6th IB">6th</label>
<input type="checkbox" name="inbound" class="nearToNear" id="6th IB" value="6th IB" />
</td>
<td>
<label for="4th IB">4th</label>
<input type="checkbox" name="inbound" class="nearToNear" id="4th IB" value="4th IB" />
</td>
<td>
<label for="Arguello IB">Arguello</label>
<input type="checkbox" name="inbound" class="nearToFar" id="Arguello IB" value="Arguello IB" />
</td>
</div>
</div>
</div>
<div class="col-md-2">
<div class="filter-box">
<h4 class="filter-box-title">Stop by Type</h4>
<br />
<div class="options">
<p>
<label class="filter-type" for="nearToNear">Near to Near</label>
<input type="checkbox" name="type" class="type" id="nearToNear" value="nearToNear" />
</p>
<p>
<label class="filter-type" for="nearToFar">Near to Far</label>
<input type="checkbox" name="type" class="type" id="nearToFar" value="nearToFar" />
</p>
<p>
<label class="filter-type" for="farToFar">Far to Far</label>
<input type="checkbox" name="type" class="type" id="farToFar" value="farToFar" />
</p>
<p>
<label class="filter-type" for="farToNear">Far to Near</label>
<input type="checkbox" name="type" class="type" id="farToNear" value="farToNear" />
</p>
</div>
</div>
</div>
</div>
<!-- <div class="row">
<div class="col-md-12">
<div class="filter-box">
<h4 class="filter-box-title">Filter Values</h4>
</div>
</div>
</div> -->
</div>
<div classs="container">
<div class="row">
<div class="tableauChartHolder">
<div id ='viz1' class='tableauChart'></div>
<div id ='viz2' class='tableauChart'></div>
</div>
</div>
</div>
<!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>
window.jQuery || document.write("<script src='js/jquery.min.js'><\/script>")
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/docs.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="js/ie10-viewport-bug-workaround.js"></script>
<!-- leafletjs script -->
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
<script type='text/javascript' src="https://public.tableau.com/javascripts/api/tableau-2.js"></script>
<script src="js/main.js"></script>
</body>
</html>