forked from scott-whitney/BARTBuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (84 loc) · 2.73 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
<!DOCTYPE html>
<html>
<head>
<title>BART BUDDY</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css"/>
<link rel="stylesheet" href="./assets/css/style.css">
<!-- <style>
#map {
min-height: 250px;
max-height: 900px;
height: 100%;
width: 100%;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
.tile {
display: flex;
flex-direction: row;
align-items: stretch;
}
</style> -->
</head>
<body>
<div class="ui container superFunTime">
<div class="ui center aligned header">BART BUDDY</div>
<div class="ui two column stackable grid">
<div class="column">
<div class="ui segment">
<select class="origin">
<option>Select Origin</option>
</select>
<select class="destiny">
<option>Select Destination</option>
</select>
<a class="ui button" id="bart">
submit
</a>
<button id="btnGiveCommand">Speak</button>
<span id="message"></span>
</div>
</div>
<div class="column">
<div class="ui segment">
<div id="map"></div>
</div>
</div>
</div>
<div class="ui one column stackable grid">
<div class="column">
<div class="ui segment" id="realTime">
<h2>Real Time Departures:</h2>
</div>
</div>
</div>
<div class="ui one column stackable grid superFunTime">
<div class="column">
<div class="ui segment" id="thingsToDo">
<h2>Nearby Places:</h2>
<select class="places">
<option>Select Places</option>
</select>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCK3efbmmMMdKaa_ekHF8LS7oIPGXQV3w8&libraries=places&callback=initMap" async defer></script>
<script src="./assets/js/GoogleAPI.js"></script>
<script src="./assets/js/BartAPI.js"></script>
<!-- <script src="./SpeechToTest.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
</body>
</html>