-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfood.html
193 lines (144 loc) · 7.58 KB
/
food.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
<!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" />
<link rel="stylesheet" href="./assets/css/food.css" />
</head>
<body>
<div class="grid-y grid-frame">
<div class="cell shrink header medium-cell-block-container food-header">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell small-12 medium-auto margin-x">
<h1 >Restaurants</h1>
</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 auto body cell-block">
<div class="grid-x grid-padding-x small-up-1 medium-up-2 large-up-3 restaurant-blocks">
<!-- Generated cards go here -->
</div>
</div>
</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/food.js"></script>
</body>
</html>