-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathorder.html
327 lines (268 loc) · 15.9 KB
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="css/custom.css">
<title>Bethany's Pie Shop</title>
</head>
<body>
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-violet">
<div class="container">
<a class="navbar-brand" href="index.html">
<img src="images/bethanylogo.png" width="30" height="30" class="ms-3 d-inline-block align-top"
alt="">
Bethany's Pie Shop
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNavDarkDropdown" aria-controls="navbarNavDarkDropdown" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDarkDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Pies
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" href="#">Fruit Pies</a></li>
<li><a class="dropdown-item" href="#">Cheese cakes</a></li>
<li><a class="dropdown-item" href="#">Seasonal Pies</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">All Pies</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="order.html">Order</a>
</li>
<li class="nav-item">
<a class="nav-link" href="piesubscription.html">Pie subscription</a>
</li>
<li class="nav-item">
<a class="nav-link" href="events.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
</nav>
</header>
<main role="main">
<div class="container">
<div class="row my-3">
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Order</li>
</ol>
</nav>
</div>
<div class="text-center my-5">
<h1 class="fw-light">Your details</h1>
</div>
<form class="needs-validation" action="done.html" novalidate >
<div class="row">
<div class="col-md-8">
<h4>Your address</h4>
<div class="row">
<div class="col-md-6">
<label for="firstName" class="form-label">First name</label>
<input type="text" class="form-control mb-3" aria-label="First name" id="firstName" required>
<div class="invalid-feedback">
Please enter First Name.
</div>
</div>
<div class="col-md-6">
<label for="lastName" class="form-label">Last name</label>
<input type="text" class="form-control mb-3" aria-label="Last name" id="lastName" required>
<div class="invalid-feedback">
Please enter Last Name.
</div>
</div>
<div class="col-md-12">
<label for="username" class="form-label">Username</label>
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon1">@</span>
<input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1" id="username" required>
<div class="invalid-feedback">
Please enter Username.
</div>
</div>
</div>
<div class="col-md-12">
<label for="email" class="form-label">Email <span
class="text-secondary">(Optional)</span></label>
<div class="input-group mb-3">
<input type="email" class="form-control" placeholder="[email protected]" aria-label="Email" aria-describedby="basic-addon1" id="email">
</div>
</div>
<div class="col-md-12">
<label for="address" class="form-label">Address</label>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="1234 Main St" aria-label="Email" aria-describedby="basic-addon1" id="address" required>
<div class="invalid-feedback">
Please enter Address.
</div>
</div>
</div>
<div class="col-md-12">
<label for="address2" class="form-label">Address 2 <span
class="text-secondary">(Optional)</span></label>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Apartment or suite" aria-label="Email" aria-describedby="basic-addon1" id="address2">
</div>
</div>
<div class="col-md-4">
<label for="country" class="form-label">Country</label>
<select class="form-select" aria-label="Default select example" id="country" required>
<option selected disabled>Choose...</option>
<option value="spain">Spain</option>
<option value="portugal">Portugal</option>
<option value="italy">Italy</option>
</select>
<div class="invalid-feedback">
Please enter Country.
</div>
</div>
<div class="col-md-4">
<label for="state" class="form-label">State</label>
<select class="form-select" aria-label="Default select example" id="state" required>
<option selected disabled>Choose...</option>
<option value="andalucia">Andalucía</option>
<option value="canarias">Islas Canarias</option>
<option value="valencia">Valencia</option>
</select>
<div class="invalid-feedback">
Please enter State.
</div>
</div>
<div class="col-md-4">
<label for="zip" class="form-label">Zip</label>
<input type="number" class="form-control mb-2" aria-label="Zip" id="zip" required>
<div class="invalid-feedback">
Please enter Zip.
</div>
</div>
</div>
<hr>
<div class="row">
<div class="col-md">
<div class="form-label">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="isSameShippingBilling" id="isSameShippingBilling">
<label class="form-check-label" for="isSameShippingBilling">
Shipping addres is the same as my billing address
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="isSaveNextTime" id="isSaveNextTime">
<label class="form-check-label" for="isSaveNextTime">
Save this information for next time
</label>
</div>
</div>
</div>
</div>
<hr>
<h4>Payment</h4>
<div class="row">
<div class="col-md-12">
<div class="form-label">
<div class="form-check">
<input class="form-check-input" type="radio" name="payment" id="creditCard" checked>
<label class="form-check-label" for="creditCard">
Credit card
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="payment" id="debitCard">
<label class="form-check-label" for="debitCard">
Debit card
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="payment" id="paypal">
<label class="form-check-label" for="paypal">
PayPal
</label>
</div>
</div>
</div>
<div class="col-md-6 my-2">
<div class="form-floating">
<input type="text" class="form-control" id="cardName" placeholder="Name on card" required>
<label for="cardName">Name on card</label>
<div id="cardHelpBlock" class="form-text">
Full name as displayed on card
</div>
<div class="invalid-feedback">
Please enter Card Name.
</div>
</div>
</div>
<div class="col-md-6 my-2">
<div class="form-floating mb-3">
<input type="number" class="form-control" id="cardNumber" placeholder="Credit card number" pattern="[0-9]{13,19}" required>
<label for="cardNumber">Credit card number</label>
<div class="invalid-feedback">
Please enter Card Number.
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-floating mb-3">
<input class="form-control" id="cardExpiration" placeholder="Expiration" onfocus="(this.type='date')" onfocusout="(this.type='text')" required>
<label for="cardExpiration">Expiration</label>
<div class="invalid-feedback">
Please enter Card Expiration.
</div>
</div>
</div>
<div class="col-md-3">
<div class="form-floating mb-3">
<input type="number" class="form-control" id="cardCvv" placeholder="CVV" pattern="[0-9]{3,4}" required>
<label for="cardCvv">CVV</label>
<div class="invalid-feedback">
Please enter Card CVV.
</div>
</div>
</div>
</div>
<hr>
</div>
<div class="col-md-4 my-2">
<h4>Redeem coupon</h4>
<div class="card p-2">
<div class="input-group ">
<input type="text " class="form-control" placeholder="Promo code" aria-label="Promo code" aria-describedby="promoCode">
<button class="btn btn-secondary" type="button" id="promoCode">Reedem</button>
</div>
</div>
</div>
<div class="col-md-8">
<hr class="d-md-none">
<div class="d-grid">
<button class="btn btn-success mt-3" type="submit">Place order</button>
</div>
</div>
</div>
</form>
</div>
</main>
<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>
<script src="js/custom.js"></script>
<script src="js/form-validation.js"></script>
</body>
</html>