-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
294 lines (282 loc) · 17 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!-<![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Pizzaro Eats</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<!--Bootstrap CSS-->
<link rel="stylesheet" href="bootstrap-5.0.2-dist/css/bootstrap.min.css">
<!--Custom CSS-->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!--navigation section-->
<div class="navigation-container">
<div class="navigation-content">
<!--logo-->
<div class="logo">
<img src="images/logo.png" alt="Pizzaro Logo">
</div>
<!--menu-->
<div class="menu">
<ul>
<li><a href="#">MENU</a></li>
<li><a href="#">TUESDAY DEALS</a></li>
<li><a href="#">ORDER ONLINE</a></li>
</ul>
</div>
<!--cart-->
<div class="cart">
<img src="images/cart.png" alt="Cart Image">
<a href="#">Cart</a>
</div>
</div>
</div>
<!--end of navigation-->
<div class="content-container">
<!--whats new-->
<div class="whats-new">
<img src="images/WHATS NEW.png" alt="What's New Logo">
</div>
<!--content-->
<div class="content">
<!--row 1-->
<div class="first-row">
<div class="new">
<p>GRILLED CHICKEN</p>
<p>WINTER PIZZA</p>
<button>HOT & SPICY</button>
</div>
<div class="tools">
<div class="search">
<p>FIND LOCATIONS</p>
<div class="text">
<input type="search" placeholder="Search Something Here">
<button>Search</button>
</div>
</div>
<div class="order">
<a href="#order-section"><span id="order">ORDER</span> ONLINE</a>
</div>
</div>
</div>
<!--row 2-->
<div class="second-row">
<div class="food-1">
<div class="name">
<p>CORN</p>
<p>STARCH</p>
<P>TIKKA</P>
</div>
<div class="details">
<a href='#order-section'><button>ORDER NOW</button></a>
</div>
</div>
<div class="food-2">
<div class="name">
<p>SMOKED</p>
<p>HAWAIIAN</p>
<P>CHICKEN</P>
</div>
<div class="details">
<a href='#order-section'><button>ORDER NOW</button></a>
</div>
</div>
<div class="food-3">
<div class="name">
<p>VEGGIE</p>
<p>SPECIAL</p>
</div>
<div class="details">
<a href='#order-section'><button>ORDER NOW</button></a>
</div>
</div>
</div>
<!--order form section-->
<div class="order-section" id="order-section">
<div class="container">
<div class="row">
<h2>Place your Pizza <span id="h2">Order</span> Here</h2>
<div class="col-md-6">
<form id="order-form">
<div class="form-group">
<label for>Select Pizza Flavor<span class="text-danger">*</span></label>
<select class="form-control" id="pizza" name="pizza">
<option value selected disabled>Select Pizza Flavor</option>
<!--<option value="Grilled Chicken Winter">Grilled Chicken Winter</option>
<option value="Corn Starch Tikka">Corn Starch Tikka</option>
<option value="Smoked Hawaiian Chicken">Smoked Hawaiian Chicken</option>
<option value="Veggie Special">Veggie Special</option>
<option value=" Bacon Barbeque Steak">Bacon Barbeque Steak</option>-->
</select>
</div>
<div class="form-group">
<label for>Size<span class="text-danger">*</span></label>
<select class="form-control" id="size" name="size">
<option value selected disabled>Select Pizza Size</option>
<!--option value="small">Small @650/=</option>
<option value="small">Medium @850/=</option>
<option value="small">Large @1050/=</option>-->
</select>
</div>
<div class="form-group">
<label for>Crust<span class="text-danger">*</span></label>
<select class="form-control" id="crust" name="crust">
<option value selected disabled>Select Crust</option>
<!--<option value="crispy">Crispy @150/=</option>
<option value="stuffed">Stuffed @200/=</option>
<option value="gluten free">Gluten Free @100/=</option>-->
</select>
</div>
<div class="form-group">
<p id="toppings">Select your preferred toppings @100/= each</p>
<div class="row-toppings">
<div class="col-md-6">
<div class="form-check">
<input class="form-check-input" name="toppings[]" type="checkbox" id="SweetCorn" value="SweetCorn">
<label class="form-check-label" for="SweetCorn">Sweet Corn</label>
</div>
</div>
<div class="col-md-6">
<div class="form-check">
<input class="form-check-input" name="toppings[]" type="checkbox" id="Mozzarella" value="Mozzarella">
<label class="form-check-label" for="Mozzarella">Mozzarella</label>
</div>
</div>
<div class="col-md-6">
<div class="form-check">
<input class="form-check-input" name="toppings[]" type="checkbox" id="Sausage" value="Sausage">
<label class="form-check-label" for="Sausage">Sausage</label>
</div>
</div>
</div>
</div>
<div class="mt-4 text-start">
<button class="form-button">
Add to Cart
</button>
</div>
</form>
</div>
<div class="col-md-6">
<table class="table table-responsive order-table">
<thead>
<tr>
<th>Flavor</th>
<th>Size</th>
<th>Crust</th>
<th>Topping</th>
<th>Quantity</th>
<th>Total</th>
</tr>
</thead>
<tbody>
<tr>
<td class="empty-cart text-center">
<img src="images/cart.png" alt="Cart Image">
<br>
Cart is Empty
</td>
</tr>
</tbody>
</table>
<div class="text-end">
<p class="grand-total">Total Cost: Ksh <span class="text-bold">0</span>
</div>
<div class="delivery-button float-end">
<button class="d-btn" data-bs-toggle="modal" data-bs-target="#deliveryMethodModal">Click to Proceed</button>
</div>
</div>
</div>
</div>
</div>
<!--Delivery Modal Section-->
<div class="modal fade" id="deliveryMethodModal" tabindex="-1" aria-labelledby="deliveryMethodModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="deliveryMethodModalLabel">DELIVERY METHOD</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<!-- input modal -->
<div id="select-delivery-method">
<p>How do you want your order delivered? <span class="text-center">*</span></p>
<p class="delivery-option text-danger"></p>
<div class="form-check">
<input class="form-check-input" type="radio" name="deliveryMethod" id="deliveryMethod1" value="pickup">
<label class="form-check-label" for="deliveryMethod1">Pickup</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="deliveryMethod" id="deliveryMethod2" value="delivery">
<label class="form-check-label" for="deliveryMethod2">Home or Office Address</label>
<p>Kindly note that add additional delivery amount of <span class="color-palace">Ksh 200</span> will be added to your total for delivery charges</p>
</div>
<div class="location mt-5">
<form id="delivery-form">
<div id="location-input-details">
<h5>Delivery Details</h5>
<p class="text-danger error-delivery-location"></p>
<div class="row">
<div class="col-md-6">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Name <span class="text-danger">*</span></label>
<input type="text" class="form-control" name="name" id="customerName">
</div>
</div>
<div class="col-md-6">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Phone Number <span class="text-danger">*</span></label>
<input type="number" class="form-control" name="phone" id="customerPhone">
</div>
</div>
<div class="col-md-6">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Location <span class="text-danger">*</span></label>
<input type="text" class="form-control" name="location" id="customerLocation">
</div>
</div>
<div class="col-md-6">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Additional Information</label>
<textarea name="additionalInfo" class="form-control" id="additionalInfo" rows="2"></textarea>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="d-btn" data-bs-dismiss="modal">Close</button>
<button type="submit" class="d-btn" id="checkout-button">Checkout</button>
</div>
</form>
</div>
</div>
<!-- div to display the summary of all the orders -->
<div id="summary-order">
<div class="delivery-head"></div>
<div class="delivery-bottom"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Boostrap JS-->
<script src="bootstrap-5.0.2-dist/js/bootstrap.bundle.min.js"></script>
<!--jQuery CDN-->
<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
<!--Custom JS-->
<script src="js/index.js" async defer></script>
</body>
</html>