-
Notifications
You must be signed in to change notification settings - Fork 0
/
shop.html
205 lines (191 loc) · 11.5 KB
/
shop.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="./style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.js"></script>
<title>The Wild Bee</title>
</head>
<body>
<nav class="navbar fixed-top navbar-expand-md navbar-light bg-light mb-4">
<a href="index.html" class="navbar-left"><img src="./images/A-01-01.jpg" height="50" width="50"></a>
<a class="navbar-brand" href="index.html">
The Wild Bee
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse"
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link active" href="shop.html">Shop</a>
</li>
<li class="nav-item">
<a class="nav-link" href="gallery.html">Gallery</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
</ul>
<span class="navbar-right">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact</a>
</li>
</ul>
</span>
</div>
</nav>
<!-- Main Body -->
<main role="main" class="shop-container">
<div class="px-4 px-lg-0">
<!-- For demo purpose -->
<div class="container text-white py-5 text-center">
<h1 class="display-4">The Wild Bee</h1>
<p class="lead mb-0">Our shop</p>
</div>
<!-- End -->
<div class="pb-5">
<div class="container">
<div class="row">
<div class="col-lg-12 p-5 bg-white rounded shadow-sm mb-5">
<!-- Shopping cart table -->
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th scope="col" class="border-0 bg-light">
<div class="p-2 px-3 text-uppercase">Product</div>
</th>
<th scope="col" class="border-0 bg-light">
<div class="py-2 text-uppercase">Price</div>
</th>
<th scope="col" class="border-0 bg-light">
<div class="py-2 text-uppercase">Quantity</div>
</th>
<th scope="col" class="border-0 bg-light">
<div class="py-2 text-uppercase"></div>
</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="item border-0">
<div class="p-2">
<a href="./images/feature-1.jpg" data-toggle="lightbox"
data-title="Honey Bee" data-footer="Taken in our garden.">
<div class="item-hyperlink-container">
<img src="./images/feature-1.jpg" alt="" width="70"
class="img-fluid">
<h5 class="text-dark d-inline-block align-middle">Creamed Honey (12 oz)</h5>
<p class="text-dark d-inline-block align-middle">Find
out
more</p>
</div>
</a>
</div>
</th>
<td class="item-price border-0 align-middle">
<strong>6.99</strong>
</td>
<td class="item-quantity border-0 align-middle">
<input style="font-weight: bold; width: 50px;" type="number" value="1" min="0"
max="50" step="1" onchange="refreshShop()"
oninput="refreshShop()" />
</td>
<td class="border-0 align-middle">
<a onclick="deleteItem(this)">
<img src="./images/icons/trash-solid.svg" alt="delete" width="20px">
</td>
</tr>
<tr>
<th scope="row" class="item border-0">
<div class="p-2">
<a href="./images/feature-2.jpg" data-toggle="lightbox"
data-title="Honey Bee" data-footer="Taken in our garden.">
<div class="item-hyperlink-container">
<img src="./images/feature-2.jpg" alt="" width="70"
class="img-fluid">
<h5 class="text-dark d-inline-block align-middle">Clear Honey (12 oz)</h5>
<p class="text-dark d-inline-block align-middle">Find
out
more</p>
</div>
</a>
</div>
</th>
<td class="item-price border-0 align-middle">
<strong>5.99</strong>
</td>
<td class="item-quantity border-0 align-middle">
<input style="font-weight: bold;width: 50px;" type="number" value="0" min="0"
max="50" step="1" onchange="refreshShop()"
oninput="refreshShop()" />
</td>
<td class="border-0 align-middle">
<a onclick="deleteItem(this)">
<img src="./images/icons/trash-solid.svg" alt="delete" width="20px">
</td>
</tr>
</tbody>
</table>
</div>
<!-- End -->
</div>
</div>
<div class="row py-5 p-4 bg-white rounded shadow-sm">
<div class="col-lg-6">
<div class="bg-light rounded-pill px-4 py-3 text-uppercase font-weight-bold">Instructions
for us</div>
<div class="p-4">
<p class="font-italic mb-4">If you have any special requests, please let us know below.
</p>
<textarea name="" cols="30" rows="2" class="form-control"></textarea>
</div>
</div>
<div class="col-lg-6">
<div class="bg-light rounded-pill px-4 py-3 text-uppercase font-weight-bold">Order summary
</div>
<div class="p-4">
<ul class="list-unstyled mb-4">
<li class="d-flex justify-content-between py-3 border-bottom"><strong
class="text-muted sub-total">Order Subtotal </strong><strong
class="sub-total-value">£0.00</strong></li>
<li class="d-flex justify-content-between py-3 border-bottom"><strong
class="text-muted">Postage and Packaging</strong><strong
class="postage-and-packaging">5.00</strong>
</li>
<li class="d-flex justify-content-between py-3 border-bottom"><strong
class="text-muted">Total</strong>
<h5 class="font-weight-bold total-value">$400.00</h5>
</li>
</ul><a href="#" class="btn btn-dark rounded-pill py-2 btn-block">Proceed to
checkout</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- FOOTER -->
<footer class="container">
<p class="float-right"><a href="#">Back to top</a></p>
<p>© 2017-2019 The Wild Bee. · <a href="#">Privacy</a> · <a href="#">Terms</a></p>
</footer>
</main>
<script src="./js/shop.js"></script>
<script>
$(document).on('click', '[data-toggle="lightbox"]', function (event) {
event.preventDefault();
$(this).ekkoLightbox();
});
</script>
</body>
</html>