-
Notifications
You must be signed in to change notification settings - Fork 0
/
online-order.html
418 lines (408 loc) · 19 KB
/
online-order.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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="author" content="Luciano Alcaraz">
<meta name="description" content="A coffee shop demo website">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="BrewRight">
<meta property="og:type" content="website">
<meta property="og:url" content="https://vibrant-knuth-615579.netlify.app/">
<!-- Page's title -->
<title>BrewRight - Coffee Shop</title>
<!-- Site icon file -->
<link href="favicon.png" rel="icon"/>
<!-- FontAwesome css file -->
<link href="/vendor/fontawesome/css/all.min.css" rel="stylesheet" type="text/css">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<!-- AOS CSS -->
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<!-- Date picker CSS-->
<link href="https://unpkg.com/gijgo@1.9.13/css/gijgo.min.css" rel="stylesheet" type="text/css"/>
<!-- Main css file (Contains Bootstrap) -->
<link href="src/css/main.css" rel="stylesheet">
</head>
<body data-bs-spy="scroll" data-bs-target="#navbar" data-bs-offset="0" tabindex="0">
<!-- Header section -->
<header>
<nav class="navbar navbar-expand-lg bg-dark navbar-dark" id="nav">
<div class="container">
<!-- Logo -->
<a class="navbar-brand p-0 m-0" href="index.html">
<img src="src/assets/images/brew-right-logo-light.png" class="d-block" id="website-logo" alt="Website Logo">
</a>
<!-- Toggle button -->
<button id="toggler" class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Navbar Items -->
<div class="collapse navbar-collapse" id="navbar">
<div class="navbar-nav ms-auto">
<a class="nav-link active" aria-current="page" href="index.html">Return to the main page</a>
</div>
</div>
</div>
</nav>
</header>
<!-- Main section -->
<main id="main">
<!-- Page title section -->
<section class="bg-primary text-white text-center p-5">
<div class="container">
<h1 class="display-4 py-5">
Online order
</h1>
</div>
</section>
<!-- Orders section -->
<section id="orders">
<div class="container">
<div class="row">
<!-- Order selection section -->
<div class="col-12 col-md-8">
<!-- My order section -->
<div class="collapsible-section mb-2">
<!-- My order panel header -->
<div class="panel-header bg-dark text-light d-flex align-items-center justify-content-between" data-bs-toggle="collapse" href="#myOrder" role="button" aria-expanded="false" aria-controls="myOrder">
<!-- Panel number -->
<div class="panel-header-item bg-secondary">
<p class="m-0">
1
</p>
</div>
<!-- Panel title -->
<div class="panel-header-title">
<a class="m-0">
My order
</a>
</div>
<!-- Panel icon -->
<div class="panel-header-item">
<i class="fas fa-chevron-up"></i>
</div>
</div>
<!-- My order panel body -->
<div class="row">
<div class="col">
<div class="collapse multi-collapse" id="myOrder">
<!-- (Order #1) Card body -->
<div class="card card-body bg-gray d-flex flex-column flex-lg-row align-items-center justify-content-md-around py-4 px-1 bg-light">
<!-- Card image -->
<img class="image-cover border border-2 border-secondary" src="src/assets/images/menu-hot-drink.jpg" width="100" height="100" alt="Coffee mug on a table">
<!-- Price tag -->
<h2 class="price p-1 my-2 order-md-1">
$<strong>20</strong>
</h2>
<!-- Card text -->
<div class="card-text text-center">
<h5 class="font-weight-bold">
Hot Coffee
</h5>
<p class="m-0">
This is an item on your menu.<br>
Give your item a brief description
</p>
</div>
<!-- Card inputs -->
<div class="d-flex mt-2">
<!-- Input group -->
<div class="input-group">
<!-- Delete button -->
<div class="input-group-prepend">
<button class="btn btn-dark btn-square">
<i class="fas fa-minus"></i>
</button>
</div>
<!-- Items counter -->
<input type="text" class="form-control text-center form-button-width" value="2">
<!-- Add button -->
<div class="input-group-append">
<button class="btn btn-dark btn-square">
<i class="fas fa-plus"></i>
</button>
</div>
</div>
</div>
</div>
<!-- (Order #2) Card body -->
<div class="card card-body bg-gray d-flex flex-column flex-lg-row align-items-center justify-content-md-around py-4 px-1 bg-light">
<!-- Card image -->
<img class="image-cover border border-2 border-secondary" src="src/assets/images/menu-cold-drink.jpg" width="100" height="100" alt="Orange juice in a glass">
<!-- Price tag -->
<h2 class="price p-1 my-2 order-md-1">
$<strong>45</strong>
</h2>
<!-- Card text -->
<div class="card-text text-center">
<h5 class="font-weight-bold">
Orange Juice
</h5>
<p class="m-0">
This is an item on your menu.<br>
Give your item a brief description
</p>
</div>
<!-- Card inputs -->
<div class="d-flex mt-2">
<!-- Input group -->
<div class="input-group">
<!-- Delete button -->
<div class="input-group-prepend">
<button class="btn btn-dark btn-square">
<i class="fas fa-minus"></i>
</button>
</div>
<!-- Items counter -->
<input type="text" class="form-control text-center form-button-width" value="3">
<!-- Add button -->
<div class="input-group-append">
<button class="btn btn-dark btn-square">
<i class="fas fa-plus"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- My address section -->
<div class="collapsible-section mb-2">
<!-- My order panel header -->
<div class="panel-header bg-dark text-light d-flex align-items-center justify-content-between" data-bs-toggle="collapse" href="#myAddress" role="button" aria-expanded="false" aria-controls="myAddress">
<!-- Panel number -->
<div class="panel-header-item bg-secondary">
<p class="m-0">
2
</p>
</div>
<!-- Panel title -->
<div class="panel-header-title">
<a class="m-0">
Address
</a>
</div>
<!-- Panel icon -->
<div class="panel-header-item">
<i class="fas fa-chevron-up"></i>
</div>
</div>
<!-- My order panel body -->
<div class="row">
<div class="col">
<div class="collapse multi-collapse" id="myAddress">
<!-- Form section -->
<form class="bg-gray p-4 border rounded">
<div class="row g-3">
<label class="form-check-label">
Delivery type
</label>
<div class="input-group">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="delivery-radio-button" onclick="deliveryRadioCheck()" checked>
<label class="form-check-label" for="delivery-radio-button">
Delivery
</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="pickup-radio-button" onclick="deliveryRadioCheck()">
<label class="form-check-label" for="pickup-radio-button">
Pick up
</label>
</div>
</div>
<div class="col-12">
<label for="name">Your full name</label>
<input type="text" class="form-control" placeholder="Full name" aria-label="Full name">
</div>
<div class="col-12">
<label for="surname">Your phone number</label>
<input type="text" class="form-control" placeholder="Phone number" aria-label="Phone number">
</div>
<div class="col-12">
<label for="phone">Your email</label>
<input type="email" class="form-control" placeholder="Email" aria-label="Email">
</div>
<div class="col-12">
<label for="address">Your address</label>
<input type="text" class="form-control" placeholder="Location address" id="delivery-address-input" aria-label="Location address">
</div>
<div class="col-12">
<label for="floatingTextarea">Comments</label>
<div class="form-floating">
<textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea" style="height: 150px"></textarea>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- My payment section -->
<div class="collapsible-section mb-2">
<!-- My order panel header -->
<div class="panel-header bg-dark text-light d-flex align-items-center justify-content-between" data-bs-toggle="collapse" href="#myPayment" role="button" aria-expanded="false" aria-controls="myPayment">
<!-- Panel number -->
<div class="panel-header-item bg-secondary">
<p class="m-0">
3
</p>
</div>
<!-- Panel title -->
<div class="panel-header-title">
<a class="m-0">
Payment
</a>
</div>
<!-- Panel icon -->
<div class="panel-header-item">
<i class="fas fa-chevron-up"></i>
</div>
</div>
<!-- My order panel body -->
<div class="row">
<div class="col">
<div class="collapse multi-collapse" id="myPayment">
<!-- Form section -->
<form class="bg-gray p-4 border rounded">
<div class="row g-3">
<label class="form-check-label">
Choose the payment method
</label>
<div class="input-group">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="credit-card-payment-button" onclick="paymentRadioCheck()" checked>
<label class="form-check-label" for="credit-card-payment-button">
Credit card
</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="flexRadioDefault" id="cash-at-location-payment-button" onclick="paymentRadioCheck()">
<label class="form-check-label" for="cash-at-location-payment-button">
Cash at location
</label>
</div>
</div>
<div class="col-12">
<label for="name">Card number</label>
<input id="cc-number" type="text" class="form-control" placeholder="" aria-label="Full name">
</div>
<div class="col-12">
<label for="surname">Name on card</label>
<input id="cc-name" type="text" class="form-control" placeholder="" aria-label="Phone number">
</div>
<div class="col-8">
<label for="phone">Expiry date</label>
<input id="cc-date" type="email" class="form-control" placeholder="" aria-label="Email">
</div>
<div class="col-4">
<label for="address">CVC</label>
<a tabindex="0" class="" role="button" data-bs-toggle="popover" data-bs-trigger="focus" title="What's CVC?" data-bs-content="CVV number is printed on the signature panel on the back of the card immediately after the card's account number.">
<i class="fas fa-question-circle"></i>
</a>
<input id="cc-cvc" type="text" class="form-control" placeholder="" aria-label="Location address">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Sidebar section -->
<div class="col-12 col-md-4">
<div class="bg-light-gray border p-4 sticky-top">
<div class="sidebar-title mt-2">
<strong>My order</strong>
</div>
<div class="sidebar-order d-flex justify-content-between mt-2">
<div class="sidebar-order-item">
2 × Hot Coffee
</div>
<div class="sidebar-order-price">
$<strong>40</strong>
</div>
</div>
<div class="sidebar-order d-flex justify-content-between mt-2">
<div class="sidebar-order-item">
3 × Orange Juice
</div>
<div class="sidebar-order-price">
$<strong>135</strong>
</div>
</div>
<hr class="my-4">
<div class="sidebar-order d-flex justify-content-between mt-2">
<div class="sidebar-order-item">
Delivery
</div>
<div class="sidebar-order-price">
$ <strong>5</strong>
</div>
</div>
<div class="sidebar-order d-flex justify-content-between mt-2">
<div class="sidebar-order-item">
<strong>TOTAL</strong>
</div>
<div class="sidebar-order-price">
$<strong>180</strong>
</div>
</div>
<div class="sidebar-button mt-2">
<button class="btn btn-primary w-100 text-light">
Place order now
</button>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer section -->
<footer id="footer" class="d-flex justify-content-center align-items-center bg-gray">
<div class="container">
<!-- Content section -->
<div class="row align-items-center">
<div class="col-12 col-md-6 col-lg-5">
<div class="d-flex align-items-center justify-content-between">
<a class="navbar-brand" href="index.html">
<img src="/src/assets/images/brew-right-logo-dark.png" class="d-block" id="website-logo" alt="Website Logo">
</a>
<div class="social-icons d-flex">
<a class="footer-icon text-primary" href="#">
<i class="fab fa-facebook-square fa-lg"></i>
</a>
<a class="footer-icon text-primary" href="#">
<i class="fab fa-twitter-square fa-lg"></i>
</a>
<a class="footer-icon text-primary" href="#">
<i class="fab fa-whatsapp-square fa-lg"></i>
</a>
</div>
</div>
</div>
<div class="col-12 col-lg-2 d-none d-lg-flex justify-content-center">
<a class="footer-icon text-secondary" href="#">
<i class="fas fa-arrow-alt-circle-up fa-lg"></i>
</a>
</div>
<div class="col-12 col-md-6 col-lg-5">
<div class="d-flex justify-content-around">
<p class="mb-0">Privacy Policy</p>
<p class="mb-0">Terms & Conditions</p>
</div>
</div>
</div>
</div>
</footer>
<!-- Bootstrap Javascript files -->
<script src="/vendor/jquery/jquery.min.js"></script>
<script src="./vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Main Javascript files -->
<script src="src/js/main.js"></script>
</body>
</html>