-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
202 lines (180 loc) · 9.32 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- CSS Links-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/initialPage.css">
<link rel="stylesheet" href="assets/css/loadingPage.css">
<link rel="stylesheet" href="assets/css/resultsPage.css">
<link href="https://fonts.googleapis.com/css?family=Abel|Roboto|Fredoka+One&display=swap" rel="stylesheet">
<!-- CSS Links-->
<title>Travel-Ten</title>
</head>
<body>
<!-- Dynamic Header -->
<nav class="navbar sticky-top headerBox">
<div class="container">
<a href="index.html"><img src="assets/images/initialPageImages/BannerImages/EditedImages/Logo.png" class="ml-5" height="40" alt=""></a>
<h1 class="bubble">Travel Made Simple.</h1>
</div>
</nav>
<!-- Initial Page -->
<div id="initialPage">
<!-- Dynamic starting Header -->
<div class="mainHeader">
<div id="dynamicHeader">
<div id="carouselExampleFade" data-interval="2000" class="carousel slide carousel-fade" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/ChesterHill.png" class="d-block w-100 imgHeader" alt="Chester Hill">
</div>
<div class="carousel-item">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/Thai.png" class="d-block w-100 " alt="Chicago Bridges">
</div>
<div class="carousel-item">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/ChicagoLovePark.png" class="d-block w-100 " alt="Chicago Love Park">
</div>
<div class="carousel-item">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/ChocolateChipDonut.png" class="d-block w-100 " alt="Chicago Love Park">
</div>
<div class="carousel-item">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/ChicagoBridges.png" class="d-block w-100 " alt="Chicago Love Park">
</div>
<div class="carousel-item">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/Burger.png" class="d-block w-100 " alt="Chicago Love Park">
</div>
<div class="carousel-item">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/Wings.png" class="d-block w-100 " alt="Chicago Love Park">
</div>
<div class="carousel-item">
<img src="assets/images/initialPageImages/BannerImages/EditedImages/PoisonPier.png" class="d-block w-100 " alt="Chicago Love Park">
</div>
</div>
</div>
</div>
</div>
<!-- Search and Selection -->
<div class="container">
<!-- City Search Bar -->
<div class="row">
<div class="col-lg-1"></div> <!-- Spacer -->
<div class="col-lg-10">
<div class="form-group">
<label class="site-labels mt-5" for="city-input" id="city-ipput-label"></label>
<input type="text" id="city-search" class="form-control city-input" placeholder="Toronto - San Francisco - New York - Chicago - Calgary - Ottawa - Vancouver" aria-label="Username" aria-describedby="basic-addon1" onfocus= "this.placeholder = ''">
</div>
</div>
<div class="col-lg-1"></div><!-- Spacer -->
</div>
<!-- List Selection -->
<div class="row mt-5">
<div class="col-lg-12 text-center">
<h3 class="cardLbl">Choose a List</h3>
</div>
</div>
<!-- Lists -->
<div class="row pt-1">
<div class="col-lg-4 text-center mt-2 cardDiv" id="eatDiv" data = "food">
<img class="selCard rounded mx-auto d-block pt-2" src="assets/images/initialPageImages/Card Images/EatsCard.png" >
<div class="overlay">
<h3>Eats</h3>
</div>
</div>
<div class="col-lg-4 text-center mt-2 cardDiv pt-2" id="sleepDiv" data = "hotel">
<img class="selCard rounded mx-auto d-block" src="assets/images/initialPageImages/Card Images/SleepCard.png" >
<div class="overlay">
<h3>Sleeps</h3>
</div>
</div>
<div class="col-lg-4 text-center mt-2 cardDiv" id="visitDiv" data = "visit">
<img class="selCard rounded mx-auto d-block pt-2" src="assets/images/initialPageImages/Card Images/VisitCard.png" >
<div class="overlay">
<h3>Visits</h3>
</div>
</div>
</div>
</div>
</div>
<!-- Loading Page Html -->
<div class="container mt-3" id="loadingPage">
<div class="row">
<div class="col-lg-12 align-self-center">
<img class="mx-auto d-block" id="loadingGif" src="assets/images/loadingPageGif.gif">
<h1 class="bubble text-center">Hang on just a sec! Finding you places now!</h1>
</div>
</div>
</div>
<!-- Results Page -->
<div class="container" id="resultsCard">
<!-- Button Row -->
<div class="row">
<div class="col-lg-2"></div><!-- Spacer -->
<div class="col-lg-3">
<button type="button" class="btn btn-secondary btn-lg btn-block btnList" data="A" id="btnList1">List A</button>
</div>
<div class="col-lg-2"></div><!-- Spacer -->
<div class="col-lg-3">
<button type="button" class="btn btn-secondary btn-lg btn-block btnList" data="B" id="btnList2">List B</button>
</div>
<div class="col-lg-2"></div><!-- Spacer -->
</div>
<!-- Results Card Row -->
<div class="row">
<div class="col-lg-12">
<!-- Results Card -->
<div class="card text-white bg-dark border-warning m-5">
<div class="card-body ">
<!-- List Header -->
<div class="row mb-5">
<div class="col-lg-12">
<h1 class="resultsHeader" id="listTitle">List 1</h1>
</div>
</div>
<div class="row mb-5">
<div class="col-lg-4"></div>
<div class="col-lg-4">
<button type="button" class="btn btn-secondary btn-lg btn-block" data="A" id="resetView">Reset View</button>
</div>
<div class="col-lg-4"></div>
</div>
<!-- Results Section -->
<div class="row mt-5 " style="height: auto;" id="results">
<!-- Results Left -->
<div class="col-lg-3 card border-dark bg-dark resultsCard" id="results-left"><!-- Info Cards will be dynamically created here --></div>
<!-- Map Section-->
<div class="col-lg-6 card border-dark bg-dark resultsCard" id="results-center">
<div id="map" style="width: 100%; height: 100%; opacity: 0;"></div>
</div>
<!-- Results Right -->
<div class="col-lg-3 card border-dark bg-dark" id="results-right"><!-- Info Cards will be dynamically created here --></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Sticky Footer -->
<nav class="navbar fixed-bottom navbar-dark bg-dark">
<div class="container">
</div>
</nav>
<!-- Javascript Files -->
<script src="https://code.jquery.com/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- Firebase References -->
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-database.js"></script>
<!-- All Api JS calls Below -->
<script type="text/javascript" src="assets/javascript/googleApi.js"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDHgz_wG-Dmq9lS70RvyrgVnFdSiNh2m6c&libraries=places&callback=activatePlacesSearch"></script>
<script type="text/javascript" src="assets/javascript/script.js"></script>
<script type="text/javascript" src="assets/javascript/triposoVisitApi.js"></script>
<script type="text/javascript" src="assets/javascript/foursquareApi.js"></script>
<script type="text/javascript" src="assets/javascript/triposoHotelApi.js"></script>
<script type="text/javascript" src="assets/javascript/firebaseAccess.js"></script>
</body>
</html>