-
Notifications
You must be signed in to change notification settings - Fork 8
/
shopping-carts-7.html
248 lines (228 loc) · 10.3 KB
/
shopping-carts-7.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/bootstrap-shopping-carts.min.css" />
</head>
<body>
<!-- Start your project here-->
<style>
@media (min-width: 1025px) {
.h-custom {
height: 100vh !important;
}
}
</style>
<section class="h-100 h-custom">
<div class="container h-100 py-5">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th scope="col" class="h5">Shopping Bag</th>
<th scope="col">Format</th>
<th scope="col">Quantity</th>
<th scope="col">Price</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">
<div class="d-flex align-items-center">
<img src="https://i.imgur.com/2DsA49b.webp" class="img-fluid rounded-3" style="width: 120px;" alt="Book">
<div class="flex-column ms-4">
<p class="mb-2">Thinking, Fast and Slow</p>
<p class="mb-0">Daniel Kahneman</p>
</div>
</div>
</th>
<td class="align-middle">
<p class="mb-0" style="font-weight: 500;">Digital</p>
</td>
<td class="align-middle">
<div class="d-flex flex-row">
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepDown()">
<i class="fas fa-minus"></i>
</button>
<input id="form1" min="0" name="quantity" value="2" type="number"
class="form-control form-control-sm" style="width: 50px;" />
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepUp()">
<i class="fas fa-plus"></i>
</button>
</div>
</td>
<td class="align-middle">
<p class="mb-0" style="font-weight: 500;">$9.99</p>
</td>
</tr>
<tr>
<th scope="row" class="border-bottom-0">
<div class="d-flex align-items-center">
<img src="https://i.imgur.com/Oj1iQUX.webp" class="img-fluid rounded-3" style="width: 120px;" alt="Book">
<div class="flex-column ms-4">
<p class="mb-2">Homo Deus: A Brief History of Tomorrow</p>
<p class="mb-0">Yuval Noah Harari</p>
</div>
</div>
</th>
<td class="align-middle border-bottom-0">
<p class="mb-0" style="font-weight: 500;">Paperback</p>
</td>
<td class="align-middle border-bottom-0">
<div class="d-flex flex-row">
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepDown()">
<i class="fas fa-minus"></i>
</button>
<input id="form1" min="0" name="quantity" value="1" type="number"
class="form-control form-control-sm" style="width: 50px;" />
<button class="btn btn-link px-2"
onclick="this.parentNode.querySelector('input[type=number]').stepUp()">
<i class="fas fa-plus"></i>
</button>
</div>
</td>
<td class="align-middle border-bottom-0">
<p class="mb-0" style="font-weight: 500;">$13.50</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="card shadow-2-strong mb-5 mb-lg-0" style="border-radius: 16px;">
<div class="card-body p-4">
<div class="row">
<div class="col-md-6 col-lg-4 col-xl-3 mb-4 mb-md-0">
<form>
<div class="d-flex flex-row pb-3">
<div class="d-flex align-items-center pe-2">
<input
class="form-check-input"
type="radio"
name="radioNoLabel"
id="radioNoLabel1v"
value=""
aria-label="..."
checked
/>
</div>
<div class="rounded border w-100 p-3">
<p class="d-flex align-items-center mb-0">
<i class="fab fa-cc-mastercard fa-2x text-dark pe-2"></i>Credit
Card
</p>
</div>
</div>
<div class="d-flex flex-row pb-3">
<div class="d-flex align-items-center pe-2">
<input
class="form-check-input"
type="radio"
name="radioNoLabel"
id="radioNoLabel2v"
value=""
aria-label="..."
/>
</div>
<div class="rounded border w-100 p-3">
<p class="d-flex align-items-center mb-0">
<i class="fab fa-cc-visa fa-2x fa-lg text-dark pe-2"></i>Debit Card
</p>
</div>
</div>
<div class="d-flex flex-row">
<div class="d-flex align-items-center pe-2">
<input
class="form-check-input"
type="radio"
name="radioNoLabel"
id="radioNoLabel3v"
value=""
aria-label="..."
/>
</div>
<div class="rounded border w-100 p-3">
<p class="d-flex align-items-center mb-0">
<i class="fab fa-cc-paypal fa-2x fa-lg text-dark pe-2"></i>PayPal
</p>
</div>
</div>
</form>
</div>
<div class="col-md-6 col-lg-4 col-xl-6">
<div class="row">
<div class="col-12 col-xl-6">
<div class="form-outline mb-4 mb-xl-5">
<input type="text" id="typeName" class="form-control form-control-lg" siez="17"
placeholder="John Smith" />
<label class="form-label" for="typeName">Name on card</label>
</div>
<div class="form-outline mb-4 mb-xl-5">
<input type="text" id="typeExp" class="form-control form-control-lg" placeholder="MM/YY"
size="7" id="exp" minlength="7" maxlength="7" />
<label class="form-label" for="typeExp">Expiration</label>
</div>
</div>
<div class="col-12 col-xl-6">
<div class="form-outline mb-4 mb-xl-5">
<input type="text" id="typeText" class="form-control form-control-lg" siez="17"
placeholder="1111 2222 3333 4444" minlength="19" maxlength="19" />
<label class="form-label" for="typeText">Card Number</label>
</div>
<div class="form-outline mb-4 mb-xl-5">
<input type="password" id="typeText" class="form-control form-control-lg"
placeholder="●●●" size="1" minlength="3" maxlength="3" />
<label class="form-label" for="typeText">Cvv</label>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-xl-3">
<div class="d-flex justify-content-between" style="font-weight: 500;">
<p class="mb-2">Subtotal</p>
<p class="mb-2">$23.49</p>
</div>
<div class="d-flex justify-content-between" style="font-weight: 500;">
<p class="mb-0">Shipping</p>
<p class="mb-0">$2.99</p>
</div>
<hr class="my-4">
<div class="d-flex justify-content-between mb-4" style="font-weight: 500;">
<p class="mb-2">Total (tax included)</p>
<p class="mb-2">$26.48</p>
</div>
<button type="button" class="btn btn-primary btn-block btn-lg">
<div class="d-flex justify-content-between">
<span>Checkout</span>
<span>$26.48</span>
</div>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>