-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
282 lines (280 loc) · 10.9 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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<html lang="en-GB" dir="ltr">
<head>
<title>UoP Bus App</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="cache-control" content="no-cache, must-revalidate, post-check=0, pre-check=0" />
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate, max-age=0" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="styles/style.css"/>
</head>
<body>
<div class="screen guide-screen" id="guide-screen">
<div class="guide-screen-fragments">
<div class="guide-screen-fragment guide-screen-fragment-active">
<div class="guide-screen-fragment-screenshot guide-screen-fragment-screenshot-arrivals"></div>
<div class="guide-screen-fragment-title">
Quickly find bus times
</div>
<div class="guide-screen-fragment-description">
Tap a stop icon or search for a stop to get scheduled arrival times by picking the time of travel
</div>
</div>
<div class="guide-screen-fragment">
<div class="guide-screen-fragment-screenshot guide-screen-fragment-screenshot-routes"></div>
<div class="guide-screen-fragment-title">
Find a route between two stops
</div>
<div class="guide-screen-fragment-description">
Set your start and destination stops to get directions and departure & arrival times
</div>
</div>
<div class="guide-screen-fragment">
<div class="guide-screen-fragment-screenshot guide-screen-fragment-screenshot-saved"></div>
<div class="guide-screen-fragment-title">
Saved routes
</div>
<div class="guide-screen-fragment-description">
Save the routes which you use frequently
</div>
</div>
<div class="guide-screen-fragment">
<div class="guide-screen-fragment-screenshot guide-screen-fragment-screenshot-schedule"></div>
<div class="guide-screen-fragment-title">
Change time of travel
</div>
<div class="guide-screen-fragment-description">
Set time of travel now or a later departure time
</div>
</div>
</div>
<div class="guide-screen-bottom">
<div class="guide-screen-button">   </div>
<div class="guide-screen-dots">
<div class="guide-screen-dot guide-screen-dot-active"></div>
<div class="guide-screen-dot"></div>
<div class="guide-screen-dot"></div>
<div class="guide-screen-dot"></div>
</div>
<div id="guide-screen-button-nav" class="guide-screen-button">Skip</div>
</div>
</div>
<div id="route-type-modal" class="modal route-type-modal">
<div class="popup-container">
<div id="route-type-popup" class="popup route-type-popup">
<div class="popup-header">Save route as</div>
<div class="popup-option route-type-popup-option" data-option="home">
<div class="info-section-trip-image info-section-trip-image-home"></div>
<div class="route-type-popup-option-label">Home</div>
</div>
<div class="popup-option route-type-popup-option" data-option="work">
<div class="info-section-trip-image info-section-trip-image-work"></div>
<div class="route-type-popup-option-label">Work</div>
</div>
<div class="popup-option route-type-popup-option" data-option="gym">
<div class="info-section-trip-image info-section-trip-image-gym"></div>
<div class="route-type-popup-option-label">Gym</div>
</div>
<div class="popup-option route-type-popup-option" data-option="uni">
<div class="info-section-trip-image info-section-trip-image-uni"></div>
<div class="route-type-popup-option-label">Uni</div>
</div>
<div class="popup-option route-type-popup-option" data-option="edit">
<div class="info-section-trip-image info-section-trip-image-blank"></div>
<div class="route-type-popup-option-label route-type-popup-option-last">None</div>
</div>
</div>
</div>
</div>
<div id="schedule-modal" class="modal">
<div class="popup-container">
<div id="schedule-popup" class="popup">
<div class="popup-header">
Schedule
</div>
<div data-option="leave now" class="popup-option">
<div class="popup-radio-button popup-radio-button-active">
<div class="popup-radio-button-dot"></div>
</div>Leave Now
</div>
<div data-option="depart at" class="popup-option">
<div class="popup-radio-button">
<div class="popup-radio-button-dot"></div>
</div>Depart At
</div>
<div id="schedule-datetime" class="popup-option popup-option-datetime">
<!-- Time filled here -->
</div>
<div class="popup-buttons">
<div class="popup-button" id="popup-cancel">Cancel</div>
<div class="popup-button popup-button-confirm" id="popup-confirm">OK</div>
</div>
</div>
</div>
</div>
<div id="datetime-modal" class="modal">
<div class="popup-container">
<div id="datetime-popup" class="popup" style="height: 10rem">
<div class="popup-header">
Choose departure time
</div>
<div class="popup-time">
<select class="time-combo" id="time-hour"></select>
<select class="time-combo" id="time-minute"></select>
</div>
<div class="popup-buttons">
<div class="popup-button" id="datetime-popup-cancel">Cancel</div>
<div class="popup-button popup-button-confirm" id="datetime-popup-confirm">OK</div>
</div>
</div>
</div>
</div>
<div id="sidebar-modal" class="modal">
<div id="sidebar" class="sidebar">
<div class="sidebar-option sidebar-logo">
UoP Bus App
</div>
<div class="sidebar-separator"></div>
<!--<div class="sidebar-option" id="sidebar-help-routes">Recent Routes</div>-->
<div class="sidebar-option" id="sidebar-help-option">Help</div>
</div>
</div>
<div class="screen routes-screen" id="routes-screen">
<div class="screen-header" id="routes-header">
<div id="routes-back" class="screen-header-button-back"></div>
<div class="screen-header-title">
Recent Routes
</div>
<div id="routes-clear" class="screen-header-button-clear"></div>
</div>
<div class="routes-sections"></div>
</div>
<div class="screen" id="help-screen">
<div class="screen-header" id="language-header">
<div id="help-back" class="screen-header-button-back"></div>
<div class="screen-header-title">
Help
</div>
</div>
<div class="help-sections">
<div class="help-section">
<div class="help-section-header">
<div class="help-section-header-title">Find arrival times for a stop</div>
<div class="help-section-header-arrow-down"></div>
</div>
<div class="help-section-links">
<div class="help-section-link" id="help-guide-arrivals">
View the guide page
</div>
</div>
</div>
<div class="help-section">
<div class="help-section-header">
<div class="help-section-header-title">Get bus route info</div>
<div class="help-section-header-arrow-down"></div>
</div>
<div class="help-section-links">
<div class="help-section-link" id="help-guide-routes">
View the guide page
</div>
</div>
</div>
<div class="help-section">
<div class="help-section-header">
<div class="help-section-header-title">Saving routes</div>
<div class="help-section-header-arrow-down"></div>
</div>
<div class="help-section-links">
<div class="help-section-link" id="help-guide-saving">
View the guide page
</div>
</div>
</div>
<div class="help-section help-section-bottom">
<div class="help-section-header">
<div class="help-section-header-title">Change departure or arrival time</div>
<div class="help-section-header-arrow-down"></div>
</div>
<div class="help-section-links">
<div class="help-section-link" id="help-guide-schedule">
View the guide page
</div>
</div>
</div>
</div>
</div>
<div id="directions-modal" class="directions-modal">
<div class="directions-search">
<div id="directions-back" class="directions-back">
<div class="directions-back-button"></div>
</div>
<div class="directions-places">
<div class="directions-place">
<input autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" type="text" id="directions-start" placeholder="Choose starting stop"/>
</div>
<div class="directions-place">
<input autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" type="text" id="directions-end" placeholder="Choose end stop"/>
</div>
</div>
<div class="directions-options">
<div id="directions-options-button" class="directions-options-button"></div>
</div>
</div>
<div id="directions-results" class="directions-results">
</div>
</div>
<div class="main-screen" id="main-screen">
<div id="search-modal" class="search-modal">
<div id="search" class="search">
<div id="search-outer" class="search-outer">
<div id="search-button-sidebar" class="search-button search-button-sidebar"></div>
<div id="search-start" class="search-textbox">
<input autocorrect="off" autocomplete="off" autocapitalize="off" spellcheck="false" type="text" id="start-searchbox" placeholder="Find an arrival time"/>
</div>
<div id="search-button-delayed" class="search-button search-button-delayed"></div>
</div>
<div id="search-results" class="search-results"></div>
</div>
</div>
<div id="map" class="map"></div>
<div id="info" class="info">
<div class="info-minimized" id="info-minimized">
<div class="info-arrow"></div>
<div id="info-label" class="info-label">Tap to see saved routes</div>
</div>
<div id="info-resize" class="info-resize">
<div class="info-slider"></div>
</div>
<div class="info-section" id="info-quick">
<div class="info-section-header">No Saved Routes</div>
<div class="info-section-trips"></div>
</div>
<div class="info-separator"></div>
<div id="info-arrival" class="info-arrival">
<div id="info-arrival-header" class="info-arrival-header">
University of Portsmouth
</div>
<div class="info-arrival-subheader">
Arrival Times
</div>
<div id="info-arrival-times" class="info-arrival-times"></div>
</div>
<div class="info-separator"></div>
</div>
</div>
<!-- Post-Load Scripts to render DOM faster -->
<script src="scripts/util.js"></script>
<script src="scripts/swipe.js"></script>
<script src="scripts/data.js"></script>
<script src="scripts/timetable.js"></script>
<script src="scripts/app.js"></script>
<script src="scripts/map.js"></script>
<script src="scripts/script.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB24tTVrdzE2nS_x-PZe8gEOaksIZ24w_g&callback=initMap&libraries=places">
</script>
</body>
</html>