-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
298 lines (227 loc) · 12.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Date Night Generator</title>
<link rel="stylesheet" href="./assets/css/foundation.css">
<link rel="stylesheet" href="./assets/css/app.css">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans&family=Raleway&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<div class="grid-y grid-frame">
<div class="cell shrink header medium-cell-block-container">
<div class="grid-x grid-margin-x grid-padding-y">
<div class="cell auto">
</div>
<div class="cell large-4 medium-6 small-12 grid-x grid-margin-x">
<div class="cell auto">
<button class="hollow alert button expanded" data-open="address-modal">Add Address</button></div>
<div class="cell auto">
<button class="restaurant-btn button hollow warning expanded" data-open="restaurant-modal">Add Restaurant</button>
</div>
</div>
</div>
</div>
<div class="cell medium-auto medium-cell-block-container">
<div class="grid-y" style="height: 25vh">
</div>
<div class="grid-x grid-padding-x grid-container">
<div class="cell auto cell-block-y landing text-center">
<h1 class="title">Date Night Generator</h1>
<h2 class="description h4">Click the button below to plan your date-night!</h2>
<button class="generate-btn button" data-open="input-modal">Start</button>
</div>
</div>
</div>
</div>
<div class="reveal" id="input-modal" aria-labelledby="user-input modal" data-reveal data-animation-in="fade-in fast" data-animation-out="fade-out fast">
<form>
<h2 class="text-center form-main-header">Date Night Form</h2>
<div class="row">
<h3 class="text-center form-section-header">Movies</h3>
<div class="small-12 columns">
<label>Genre
<select id="genre">
<option value=" ">All Genres</option>
<option value="28">Action</option>
<option value="12">Adventure</option>
<option value="16">Animation</option>
<option value="35">Comedy</option>
<option value="80">Crime</option>
<option value="99">Documentary</option>
<option value="18">Drama</option>
<option value="10751">Family</option>
<option value="14">Fantasy</option>
<option value="36">History</option>
<option value="27">Horror</option>
<option value="10402">Music</option>
<option value="9648">Mystery</option>
<option value="10749">Romance</option>
<option value="878">Science Fiction</option>
<option value="10770">TV Movie</option>
<option value="53">Thriller</option>
<option value="10752">War</option>
<option value="37">Western</option>
</select>
</label>
</div>
<div class="small-12 columns">
<label>Sort
<select id="sort">
<option value=" ">Trending</option>
<option value="popularity.desc">Popularity</option>
<option value="release_date.desc">Release Date</option>
<option value="revenue.desc">Revenue</option>
<option value="top_rated">Rating (all movies)</option>
</select>
</label>
</div>
<h3 class="text-center form-section-header">Restaurant</h3>
<div class="small-12 columns">
<label>Cuisine
<select id="cuisine">
<option value="Chinese">Chinese</option>
<option value="Indian">Indian</option>
<option value="Italian">Italian</option>
<option value="Mexican">Mexican</option>
<option value="Japanese">Japanese</option>
<option value="Korean">Korean</option>
<option value="American">American</option>
</select>
</label>
</div>
<label>Price Range ($ --- $$$$)
<div class="slider" aria-labelledby="Price Range" aria-describedby="PriceRangeText" data-slider data-initial-start="0" data-end="3">
<span class="slider-handle" data-slider-handle role="slider" tabindex="1"></span>
<span class="slider-fill" data-slider-fill></span>
<input type="hidden" id="expense">
</div>
</label>
<div class="small-12 columns">
<label>
Distance (KM)
<input type="number" value="5" min="1" id="distance">
</label>
</div>
</div>
<div class="button-group align-center">
<a class="secondary button" data-close id="closeBtn">Close</a>
<a class="button" type="submit" id="submitBtn" data-close>Submit</a>
</div>
</form>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="reveal" id="restaurant-modal" aria-labelledby="restaurant modal" data-reveal data-animation-in="fade-in fast" data-animation-out="fade-out fast">
<form>
<h2 class="text-center form-main-header">Add Restaurant</h2>
<div class="small-12 columns">
<label>Restaurant Name
<input type="text" placeholder="Restaurant Name" id="restaurantNameR" required>
</label>
</div>
<div class="small-12 columns">
<label>Cuisine
<select id="cuisineR">
<option value="Chinese">Chinese</option>
<option value="Indian">Indian</option>
<option value="Italian">Italian</option>
<option value="Mexican">Mexican</option>
<option value="Japanese">Japanese</option>
<option value="Korean">Korean</option>
<option value="American">American</option>
</select>
</label>
</div>
<label>Price Range ($ --- $$$$)
<div class="slider" aria-labelledby="Price Range" aria-describedby="PriceRangeText" data-slider data-initial-start="0" data-end="3">
<span class="slider-handle" data-slider-handle role="slider" tabindex="1"></span>
<span class="slider-fill" data-slider-fill></span>
<input type="hidden" id="priceRangeR">
</div>
</label>
<h3 class="text-center form-section-header">Restaurant Address</h3>
<div class="small-12 columns">
<label>
Street Number
<input type="number" min="0" id="streetNumR" required>
</label>
</div>
<div class="small-12 columns">
<label>
Street Name
<input type="text" placeholder="Street Name" id="streetNameR" required>
</label>
</div>
<div class="small-12 columns">
<label>
City
<input type="text" placeholder="City" id="cityR" required>
</label>
</div>
<div class="small-12 columns">
<label>
State/Province
<input type="text" placeholder="State/Province" id="stateProvinceR" required>
</label>
</div>
<div class="button-group align-center">
<a class="secondary button" data-close id="restaurantCloseBtn">Close</a>
<input class="button" type="submit" id="restaurantSubmitBtn" data-close></input>
</div>
</form>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="reveal" id="address-modal" aria-labelledby="user address modal" data-reveal data-animation-in="fade-in fast" data-animation-out="fade-out fast">
<form>
<h2 class="text-center form-main-header">Your Address</h3>
<div class="small-12 columns">
<label>
Street Number
<input type="number" min="0" id="UserStreetNumR" required>
</label>
</div>
<div class="small-12 columns">
<label>
Street Name
<input type="text" placeholder="Street Name" id="UserStreetNameR" required>
</label>
</div>
<div class="small-12 columns">
<label>
City
<input type="text" placeholder="City" id="UserCityR" required>
</label>
</div>
<div class="small-12 columns">
<label>
State/Province
<input type="text" placeholder="State/Province" id="UserStateProvinceR" required>
</label>
</div>
<div class="button-group align-center">
<a class="secondary button" data-close id="addressCloseBtn">Close</a>
<input class="button" type="submit" id="addressSubmitBtn" data-close></input>
</div>
</form>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<script src="./assets/js/vendor/jquery.js"></script>
<script src="./assets/js/vendor/what-input.js"></script>
<script src="./assets/js/vendor/foundation.js"></script>
<script src="./assets/js/app.js"></script>
<script type="text/javascript" src="./assets/js/script.js"></script>
</body>
</html>