-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
281 lines (278 loc) · 13.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<title>Yummy Pizzas KE</title>
<link rel="icon" type="image/x-icon" href="./icons/bittenpizzaslice.png">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg py-5" id="navigation">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapse_target">
<img src="./icons/pizzasclice.png" alt="menu icon">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand logo"href="#"><img src="./icons/bittenpizzaslice.png" alt="logo of Yummy Pizza KE" width="40%" ></a>
<span class="navbar-brand navbar-text"> <a href="#"></a> Yummy Pizzas KE</span>
<div class="collapse navbar-collapse" id="collapse_target">
<ul class="navbar-nav ml-md-auto center">
<li class="nav-item">
<a class="nav-link" href="#">Menu</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Delivery</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact Us</a>
</li>
</ul>
</div>
</nav>
</header>
<section class="pizza-order">
<img class="bg-img img-fluid" src="./images/3pizzas.jpg" alt="">
<div class="container form-container">
<div class="row">
<div class="col-lg-3 left-col">
<h2 class="pt-5 pb-2 text-right">Yummy</h2>
<div class="left-col-img d-none d-lg-block">
<img
src="./images/3pizzas.jpg"
width="100%"
alt="Pizza Image"
/>
</div>
</div>
<div class="col-lg-6 right-col py-5 pl-5">
<h3 class="text-center pb-2">Your Order</h3>
<form class="pizza-form">
<div class="form-group mb-4">
<label for="pizza-size"
><span class="steps-number">1</span
><span class="pl-3 steps-text">Pizza Size</span></label
>
<div class="mx-5">
<select class="form-control col-lg-10" id="pizza-size" aria-placeholder="small/medium/large">
<option value="small">Small</option>
<option value="medium">Medium</option>
<option value="large">Large</option>
</select>
</div>
</div>
<div class="form-group mb-4">
<label for="pizza-crust"
><span class="steps-number">2</span
><span class="pl-3 steps-text">Preferred Crust</span></label
>
<div class="mx-5">
<select
class="form-control col-lg-10"
name="crust"
id="pizza-crust"
>
<option value="stuffed">Stuffed</option>
<option value="crispy">Crispy</option>
<option value="gf">Gluten Free</option>
</select>
</div>
</div>
<p>
<span class="steps-number">3</span
><span class="pl-3 steps-text">Toppings</span>
</p>
<div class="row mb-3">
<div class="col-2 ml-5">
<div class="form-check">
<input
type="checkbox"
name="cheese"
id="cheese"
class="form-check-input"
value="cheese"
/>
<label class="form-label-check" for="cheese">Cheese</label>
</div>
<div class="form-check">
<input
type="checkbox"
name="kachumbari"
id="kachumbari"
class="form-check-input"
value="kachumbari"
/>
<label class="form-label-check" for="kachumbari"
>Kachu</label
>
</div>
</div>
<div class="col-2 ml-5">
<div class="form-check">
<input
type="checkbox"
name="onions"
id="onions"
class="form-check-input"
value="onions"
/>
<label class="form-label-check" for="onions">Onions</label>
</div>
<div class="form-check">
<input
type="checkbox"
name="chillies"
id="chillies"
class="form-check-input"
value="chillies"
/>
<label class="form-label-check" for="chillies"
>Chillies</label
>
</div>
</div>
</div>
<p>
<span class="steps-number">4</span
><span class="pl-3 steps-text">Dispatch</span>
</p>
<div class="form-check-inline ml-5">
<input
type="radio"
class="form-check-input"
name="dispatch"
id="pickup"
value="pickup"
/>
<label class="form-check-label" for="pickup">Pickup</label>
</div>
<div class="form-check-inline">
<input
type="radio"
class="form-check-input"
name="dispatch"
id="delivery"
value="delivery"
/>
<label class="form-check-label" for="delivery">Delivery</label>
</div>
<div class="d-flex mt-3">
<p class="my-auto"><span class="steps-number">5</span></p>
<button class="btn btn-danger mx-3" type="submit">
Add to Cart
</button>
</div>
</form>
</div>
<div class="order-summary px-3 d-none col-lg-3 d-lg-block mx-0">
<h5 class="pt-5 pb-2 pl-3">Order Summary</h5>
<table class="table table-border">
<tbody>
<tr>
<td>Number of Pizzas: <small class="cart-count">0</small></td>
</tr>
<tr>
<td>
Dispatch method:
<small class="dispatch text-capitalize">None</small>
</td>
</tr>
<tr>
<td>
Total Charge:
<strong>Ksh <span class="pizza-cost">0</span></strong>
</td>
</tr>
<tr>
<td>
<button class="view-cart btn btn-info btn-block">
View Cart Items
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section class="pizza-orderlist">
<div class="container form-container">
<div class="row">
<div class="col-lg-3 left-col">
<h2 class="pt-3 text-center">Yummy Pizza</h2>
<div class="left-col-img d-none d-lg-block">
</div>
</div>
<div class="col-lg-9 pl-4 pr-2">
<h3 class="text-center pt-3">Order Summary</h3>
<table class="table table-stripped table-light">
<thead>
<tr class="text-primary">
<th scope="col">Order #</th>
<th scope="col">Size</th>
<th scope="col">Crust</th>
<th scope="col">Toppings</th>
<th scope="col">Total</th>
</tr>
</thead>
<tbody class="cart-items"></tbody>
</table>
<div class="text-center">
<button class="back btn btn-danger mx-3">Go Back</button>
<button class="checkout btn btn-danger mx-3">Checkout</button>
</div>
</div>
</div>
</div>
</section>
<section class="checkout-modal container-fluid">
<div class="checkout-container">
<h4 class="checkout-content pt-3 pb-5">
Please enter delivery details
</h4>
<input
class="form-control col-lg-9 mx-auto mt-4"
type="text"
name="location"
placeholder="Your location here..."
id="location"
/>
<button class="place-order btn btn-info my-4">Place Order</button>
</div>
<div class="feedback-container p-5">
<h3 class="pt-2 pb-2">Thank you for shopping with us!</h3>
<h5 class="text-center">Here is Your Order Summary</h5>
<ol class="text-left ml-5">
<li class="list-item">
Number of orders: <span class="cart-count"></span>
</li>
<li class="list-item">
Dispatch Method: <span class="dispatch text-capitalize"></span>
</li>
<li class="list-item">
Dispatch Cost: ksh<span class="dispatch-cost"></span>
</li>
<li class="list-item">
Dispatch Location:
<span class="dispatch-location text-capitalize"></span>
</li>
<li class="list-item">
Total order cost: ksh<span class="grand-total"></span>
</li>
</ol>
<button class="back-home btn btn-danger mx-3">Home</button>
<button class="back-to-cart btn btn-info mx-3">View Orders</button>
</div>
</section>
<script src="./js/script.js"></script>
<script src="./js/bl-yummy.js"></script>
<script src="./js/ui-yummy.js"></script>
</body>
</html>