-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
506 lines (506 loc) · 29.2 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
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="utf-8" />
<meta name="description" content="This is the webapp for navigating through the VUB." />
<meta name="keywords" content="navigate, vub, webapp" />
<meta name="author" content="Group 7" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1" />
<!--<meta http-equiv="Content-Security-Policy" content="connect-src *; default-src 'self'" />-->
<meta http-equiv="Content-Security-Policy" content="connect-src 'self' https://splus.cumulus.vub.ac.be http://splus.cumulus.vub.ac.be; default-src 'self'" />
<title>VUBNavigate</title>
<link rel="shortcut icon" type="image/x-icon" href="./img/favicon.png" />
<!--Stylesheets-->
<link rel="stylesheet" href="./css/MDL/material-indigo-orange.min.css" />
<!--<link rel="stylesheet" href="./css/MDL/material.min.css" />-->
<link rel="stylesheet" href="./css/lib/dialog-polyfill.css" />
<link rel="stylesheet" href="./css/fonts.css" />
<link rel="stylesheet" href="./css/mdlCorrections.css" />
<link rel="stylesheet" href="./css/structure.css" />
<link rel="stylesheet" href="./css/localisation.css" />
<link rel="stylesheet" href="./css/navigate.css" />
<link rel="stylesheet" href="./css/discover.css" />
<link rel="stylesheet" href="./css/settings.css" />
<link rel="stylesheet" href="./css/about.css" />
<!--Scripts-->
<script src="./js/MDL/material.min.js" async="async"></script>
<script src="./js/Quiet/Quiet.min.js" async="async"></script>
<script src="./js/Quiet/Quiet-emscripten.js" async="async"></script>
<script src="./js/lib/dialog-polyfill.min.js" async="async"></script>
<script src="./js/lib/Eventer.js" async="async"></script>
<script src="./js/lib/Animator.js" async="async"></script>
<script src="./js/lib/PageNavigation.js" async="asyns"></script>
<script src="./js/lib/Templator.js" async="asyns"></script>
<script src="./js/MozillaICalJS/ical.min.js" async="asyns"></script>
<script src="./js/Model/Room.js" async="asyns"></script>
<script src="./js/Services/RetreiveService.js" async="asyns"></script>
<script src="./js/Services/SettingsService.js" async="asyns"></script>
<script src="./js/Services/RoomService.js" async="asyns"></script>
<script src="./js/Services/DatabaseService.js" async="asyns"></script>
<script src="./js/Services/graph.js" async="asyns"></script>
<script src="./js/Services/PathFindingService.js" async="asyns"></script>
<script src="./js/Services/LocationService.js" async="asyns"></script>
<script src="./js/Services/CalendarService.js" async="asyns"></script>
<script src="./js/Services/SpeechService.js" async="asyns"></script>
<script src="./js/drawerToggler.js" async="asyns"></script>
<script src="./js/navigateView.js" async="asyns"></script>
<script src="./js/directionsView.js" async="asyns"></script>
<script src="./js/settingsView.js" async="asyns"></script>
<script src="./js/startup.js" async="async"></script>
</head>
<body>
<dialog id="vubn-navigate-stopnavigation-dialog" class="mdl-dialog">
<h2 class="mdl-dialog__title">Stop current navigation?</h2>
<div class="mdl-dialog__content">
<p>
Are you sure you want to stop the current navgation to <span class="vubn-navigate-destination">D.0.0.7</span> or continue with it?
</p>
</div>
<div class="mdl-dialog__actions">
<button id="vubn-navigate-stopnavigation-dialog-stop" type="button" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-subpage-navigate-link" data-href="#vubn-navigate-intro"><i class="material-icons">cancel</i> Stop</button>
<button id="vubn-navigate-stopnavigation-dialog-continue" type="button" class="mdl-button close mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">Continue</button>
</div>
</dialog>
<!-- Always shows a header, even in smaller screens. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<img class="vubn-header-logo" src="./img/VUBNavigate.svg" alt="Logo" />
<span class="mdl-layout-title">VUB Navigate</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation mdl-layout--large-screen-only">
<!--<a class="mdl-navigation__link vubn-navigate-link" href="#localisation"><i class="material-icons">my_location</i> Localisation</a>-->
<a class="mdl-navigation__link vubn-navigate-link" href="#navigate"><i class="material-icons">navigation</i> Navigate</a>
<!--<a class="mdl-navigation__link vubn-navigate-link" href="#discover"><i class="material-icons">explore</i> Discover</a>-->
<a class="mdl-navigation__link vubn-navigate-link" href="#settings"><i class="material-icons">settings</i> Settings</a>
<a class="mdl-navigation__link vubn-navigate-link" href="#about"><i class="material-icons">feedback</i> About</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title"><img class="vubn-drawer-logo" src="./img/VUBNavigate.svg" alt="Logo" />VUB Navigate</span>
<nav class="mdl-navigation">
<!--<a class="mdl-navigation__link vubn-navigate-link" href="#localisation"><i class="material-icons">my_location</i> Localisation</a>-->
<a class="mdl-navigation__link vubn-navigate-link" href="#navigate"><i class="material-icons">navigation</i> Navigate</a>
<!--<a class="mdl-navigation__link vubn-navigate-link" href="#discover"><i class="material-icons">explore</i> Discover</a>-->
<a class="mdl-navigation__link vubn-navigate-link" href="#settings"><i class="material-icons">settings</i> Settings</a>
<a class="mdl-navigation__link vubn-navigate-link" href="#about"><i class="material-icons">feedback</i> About</a>
</nav>
<div class="mdl-grid">
<div id="vubn-navigate-sidebar-card-container" class="mdl-cell mdl-cell--12-col vubn-navigate-sidebar-card-container hidden">
<div class="mdl-card mdl-shadow--2dp vubn-navigate-sidebar-card">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">Navigating…</h2>
</div>
<div class="mdl-card__supporting-text">
Currently navigating to <span id="vubn-navigate-sidebar-card-roomtext" class="vubn-navigate-destination vubn-navigate-sidebar-card-roomtext">D.0.0.7</span>
</div>
<div class="mdl-card__actions mdl-card--border">
<button id="vubn-drawer-show-navigation" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored vubn-subpage-navigate-link" data-href="#vubn-navigate-navigate">
Show <i class="material-icons">chevron_right</i>
</button>
</div>
<div class="mdl-card__menu">
<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored mdl-js-ripple-effect vubn-navigate-stop">
<i class="material-icons">close</i>
</button>
</div>
</div>
</div>
</div>
</div>
<main id="vubn-pagecontainer" class="mdl-layout__content hidden">
<!-- De inhoud van de app -->
<!--
Localisation page
-->
<section class="vubn-page localisation-page" id="localisation">
<p>Page: localisation</p>
<p>This page will show more information on your current location.</p>
<ul>
<li>Nearby vending machines</li>
<li>Nearby toilets</li>
<li>Water fountains</li>
<li>...</li>
</ul>
</section>
<!--
Start navigation page
-->
<section class="vubn-page vubn-startpage navigate-page" id="navigate">
<!-- Navigate Intro -->
<div id="vubn-navigate-intro" class="vubn-subpage vubn-subpage-navigate vubn-subpage-navigate-startpage">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<span class="vubn-page-title">Navigate</span>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<p>Choose how to select your destination.</p>
</div>
<div class="mdl-cell mdl-cell--12-col">
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-button-30-center vubn-subpage-navigate-link" data-href="#vubn-navigate-search">
<i class="material-icons">search</i>
Search
</button>
</div>
<div class="mdl-cell mdl-cell--12-col">
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-button-30-center vubn-subpage-navigate-link" data-href="#vubn-navigate-select">
<i class="material-icons">filter_list</i>
Select
</button>
</div>
<div class="mdl-cell mdl-cell--12-col">
<button id="vubn-intro-calendar" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-button-30-center intro-button vubn-subpage-navigate-link" data-href="#vubn-navigate-calendar">
<i class="material-icons">event</i>
Calendar
</button>
</div>
</div>
</div>
<!-- Navigate Search -->
<div id="vubn-navigate-search" class="vubn-subpage vubn-subpage-navigate">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<button class="mdl-button mdl-js-button mdl-js-ripple-effect vubn-subpage-navigate-link vubn-subpage-back" data-href="#vubn-navigate-intro">
<i class="material-icons">arrow_back</i>
</button>
<span class="vubn-page-title">Navigate</span>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<span class="vubn-page-subtitle">Search</span>
</div>
<div class="mdl-cell mdl-cell--12-col">
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="text" id="vubn-room-search" />
<label class="mdl-textfield__label" for="vubn-room-search">
<i class="material-icons">search</i> Typ to search for classroom…
</label>
</div>
</form>
</div>
<div id="vubn-navigate-search-busyspinner" class="mdl-cell mdl-cell--12-col vubn-navigate-busyspinner hidden">
<div class="mdl-spinner mdl-js-spinner is-active"></div>
</div>
<div id="vubn-navigate-search-nothingfound" class="mdl-cell mdl-cell--12-col vubn-navigate-nothingfound hidden">
<i class="material-icons">sentiment_very_dissatisfied</i>
<span id="vubn-navigate-search-nothingfound-text"></span>
</div>
<div class="mdl-cell mdl-cell--12-col">
<div id="vubn-search-room-buttons" class="vubn-room-buttons">
<!-- Button Template -->
<button id="vubn-search-room-button-template" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" data-vubn-roomid="">D.0.07</button>
</div>
</div>
<div class="mdl-cell mdl-cell--12-col vubn-navigatebutton-container">
<button disabled="disabled" id="vubn-navigate-search-start-navigation" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored vubn-button-30-center vubn-subpage-navigate-link vubn-navigate-start" data-href="#vubn-navigate-navigate">
<i class="material-icons">directions</i>
Go
</button>
</div>
</div>
</div>
<!-- Navigate Select -->
<div id="vubn-navigate-select" class="vubn-subpage vubn-subpage-navigate">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<button class="mdl-button mdl-js-button mdl-js-ripple-effect vubn-subpage-navigate-link vubn-subpage-back" data-href="#vubn-navigate-intro">
<i class="material-icons">arrow_back</i>
</button>
<span class="vubn-page-title">Navigate</span>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet">
<span class="vubn-page-subtitle">Select building</span>
<div class="vubn-building-buttons">
<button data-vubn-select-building="B" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">B</button>
<button data-vubn-select-building="C" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">C</button>
<button data-vubn-select-building="D" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">D</button>
<button data-vubn-select-building="E" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">E</button>
<button data-vubn-select-building="F" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">F</button>
<button data-vubn-select-building="G" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">G</button>
<button data-vubn-select-building="M" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">M</button>
<button data-vubn-select-building="T" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">T</button>
<button data-vubn-select-building="K" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">K</button>
<button data-vubn-select-building="L" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">L</button>
<button data-vubn-select-building="Y" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">Y</button>
<button data-vubn-select-building="Y'" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">Y'</button>
<button data-vubn-select-building="Z" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-building-button">Z</button>
</div>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet">
<span class="vubn-page-subtitle">Select floor</span>
<div class="vubn-floor-buttons">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-right">
<button data-vubn-select-floor="10" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">10</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-left">
<button data-vubn-select-floor="9" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">9</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-right">
<button data-vubn-select-floor="8" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">8</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-left">
<button data-vubn-select-floor="7" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">7</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-right">
<button data-vubn-select-floor="6" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">6</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-left">
<button data-vubn-select-floor="5" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">5</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-right">
<button data-vubn-select-floor="4" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">4</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-left">
<button data-vubn-select-floor="3" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">3</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-right">
<button data-vubn-select-floor="2" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">2</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-left">
<button data-vubn-select-floor="1" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">1</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-right">
<button data-vubn-select-floor="0" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">0</button>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet">
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--2-col-phone mdl-cell--4-col-tablet button-left">
<button data-vubn-select-floor="-1" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--accent vubn-floor-button">-1</button>
</div>
</div>
</div>
</div>
<div class="mdl-cell mdl-cell--12-col">
<span class="vubn-page-subtitle">Select room</span>
</div>
<div id="vubn-navigate-select-nothingfound" class="mdl-cell mdl-cell--12-col vubn-navigate-nothingfound hidden">
<i class="material-icons">sentiment_very_dissatisfied</i>
<span id="vubn-navigate-select-nothingfound-text"></span>
</div>
<div id="vubn-navigate-select-busyspinner" class="mdl-cell mdl-cell--12-col vubn-navigate-busyspinner hidden">
<div class="mdl-spinner mdl-js-spinner is-active"></div>
</div>
<div class="mdl-cell mdl-cell--12-col">
<div id="vubn-select-room-buttons" class="vubn-room-buttons">
<!-- Button template -->
<button id="vubn-select-room-button-template" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent" data-vubn-roomid="">D.0.07</button>
</div>
</div>
<div class="mdl-cell mdl-cell--12-col vubn-navigatebutton-container">
<button disabled="disabled" id="vubn-navigate-select-start-navigation" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored vubn-button-30-center vubn-subpage-navigate-link vubn-navigate-start" data-href="#vubn-navigate-navigate">
<i class="material-icons">directions</i>
Go
</button>
</div>
</div>
</div>
<!-- Navigate Calendar -->
<div id="vubn-navigate-calendar" class="vubn-subpage vubn-subpage-navigate">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<button class="mdl-button mdl-js-button mdl-js-ripple-effect vubn-subpage-navigate-link vubn-subpage-back" data-href="#vubn-navigate-intro">
<i class="material-icons">arrow_back</i>
</button>
<span class="vubn-page-title">Navigate</span>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--11-col mdl-cell--7-col-tablet mdl-cell--3-col-phone">
<span class="vubn-page-subtitle">Calendar</span>
</div>
<div class="mdl-cell mdl-cell--1-col mdl-cell--1-col-tablet mdl-cell--1-col-phone">
<button id="vubn-calendar-refresh" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored fab-bottom-right">
<i class="material-icons">cached</i>
</button>
</div>
<div class="mdl-cell mdl-cell--12-col">
<p>
Select a room based on your school calendar. These are your upcoming classes for today. Select the class you want to navigate to.
</p>
</div>
<div id="vubn-navigate-calendar-busyspinner" class="mdl-cell mdl-cell--12-col vubn-navigate-busyspinner hidden">
<div class="mdl-spinner mdl-js-spinner is-active"></div>
</div>
<div id="vubn-navigate-calendar-nothingfound" class="mdl-cell mdl-cell--12-col vubn-navigate-nothingfound hidden">
<i class="material-icons">sentiment_very_dissatisfied</i>
<span id="vubn-navigate-calendar-nothingfound-text"></span>
</div>
<div class="mdl-cell mdl-cell--12-col">
<div id="vubn-calendar-events">
<!-- Event Template -->
<a id="vubn-calendar-event-template" href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--raised mdl-button--accent vubn-calendar-event">
<span class="vubn-calendar-event-title">Functional Programming</span><br />
<span class="vubn-calendar-event-starttime">14:00</span> -
<span class="vubn-calendar-event-endtime">16:00</span><br />
<span class="vubn-calendar-event-location">D.0.0.7</span><br />
<!--<span class="vubn-calendar-event-description">This is a long description</span>-->
</a>
</div>
</div>
<div class="mdl-cell mdl-cell--12-col vubn-navigatebutton-container">
<button disabled="disabled" id="vubn-navigate-calendar-start-navigation" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored vubn-button-30-center vubn-subpage-navigate-link vubn-navigate-start" data-href="#vubn-navigate-navigate">
<i class="material-icons">directions</i>
Go
</button>
</div>
</div>
</div>
<!-- Navigate Navigate -->
<div id="vubn-navigate-navigate" class="vubn-subpage vubn-subpage-navigate">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<button class="mdl-button mdl-js-button mdl-js-ripple-effect vubn-subpage-navigate-link vubn-subpage-back" data-href="#vubn-navigate-intro">
<i class="material-icons">arrow_back</i>
</button>
<span class="vubn-page-title">Navigate</span>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--2-col-phone vubn-navigate-header-icons">
<i class="material-icons">my_location</i> <span class="vubn-navigate-mylocation">Searching…</span>
</div>
<div class="mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--2-col-phone text-right vubn-navigate-header-icons">
<i class="material-icons">navigation</i> <span class="vubn-navigate-destination">Destination</span>
</div>
<div id="vubn-navigate-spinner" class="mdl-cell mdl-cell--12-col vubn-navigate-busyspinner">
<div class="mdl-spinner mdl-js-spinner is-active"></div>
</div>
<div id="vubn-navigate-steps" class="mdl-cell mdl-cell--12-col">
<ul id="vubn-navigate-steps-container" class="mdl-list">
<li id="vubn-navigate-step-template" class="mdl-list__item">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-icon">directions_walk</i>
<span class="vubn-navigate-direction-text">Do this</span>
</span>
</li>
</ul>
</div>
<div class="mdl-cell mdl-cell--12-col">
<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-button-30-center vubn-navigate-stop-fixed vubn-navigate-stop">
<i class="material-icons">cancel</i> Stop navigation
</button>
</div>
</div>
</div>
</section>
<!--
Discover page
-->
<section class="vubn-page discover-page" id="discover">
<p>Page: discover</p>
<p>This page will show options to navigate to, for example the nearest toilets, restaurant, coffee machine, other vending machines, ...</p>
</section>
<!--
Settings page
-->
<section class="vubn-page settings-page" id="settings">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<span class="vubn-page-title">Settings</span>
</div>
</div>
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col">
<h4>Calendar</h4>
</div>
<div class="mdl-cell mdl-cell--12-col">
<p>
Retreive a URL for your online calendar and paste it in the text field below.
</p>
<p>
Updating the calendar requires a working internet connection to retreive the calendar data. All further processing is done on this device locally.
</p>
</div>
<div class="mdl-cell mdl-cell--12-col">
<form action="#">
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
<input class="mdl-textfield__input" type="url" id="vubn-settings-calurl" />
<label class="mdl-textfield__label" for="vubn-settings-calurl">
<i class="material-icons">event</i> Paste the url to your calendar here
</label>
</div>
</form>
</div>
<div class="mdl-cell mdl-cell--12-col">
<button id="vubn-settings-updatecalendar" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent vubn-button-30-center">
<i class="material-icons">update</i> Update calendar
</button>
</div>
</div>
<!--
<p>Page: settings</p>
<p>This page shows which modules are working (Wi-Fi, Sound, ...) and provide some basic settings for:</p>
<ul>
<li>Speech enabled</li>
<li>Show pictures</li>
<li>Import Calendar</li>
<li>Enable modules or disable</li>
<li>Toilet preferences?</li>
<li>Use animations? pff</li>
<li>...</li>
</ul>
-->
</section>
<!--
About page
-->
<section class="vubn-page about-page" id="about">
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--12-col vubn-about-logo-container">
<img class="vubn-about-logo" src="./img/VUBNavigate.svg" alt="Logo" />
</div>
<div class="mdl-cell mdl-cell--12-col">
<span class="vubn-about-title">VUB Navigate</span>
</div>
<div class="mdl-cell mdl-cell--12-col">
<p>
This app was developed as an asignment for “Next Generation User Interfaces”. The goal is to make a user friendly app with a new type of user interaction, in this case indirect interaction with the environment using sound and Wi-Fi signals. It uses the <a href="https://getmdl.io/index.html">Google Material Design Lite</a> framework for the lay-out, <a href="https://github.com/quiet/quiet-js">Quiet.js</a> for ultrasonic communication and <a href="https://github.com/mozilla-comm/ical.js/">Mozilla's ical.js</a> for parsing your calendar completely offline. A <a href="https://github.com/andrewhayward/dijkstra">JavaScript version</a> of the Dijkstra algorithm calculates the shortest path to your destination. The mobile app was built with <a href="https://cordova.apache.org/">Cordova</a> for browser and Android.
</p>
<p>
Help us make the app better! Report issues to <a href="https://github.com/benjay10/VUBNavigate/issues">the Github Issues page</a>.
</p>
<p class="vubn-about-names">
Ben Behaeghe<br />
Thibaut Deweert<br />
Badreddine Hachoumi<br />
</p>
</div>
</div>
</section>
</main>
</div>
</body>
</html>