-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcustomer_order.html
257 lines (240 loc) · 8.73 KB
/
customer_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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/fb_logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FooBar's beers</title>
<meta name="description"
content="Ready to get the evening started right? Here you can find all about our beers and more!" />
</head>
<body>
<div class="loader-box">
<div class="container">
<div class="keg">
<span class="handle"></span>
<span class="pipe"></span>
</div>
<div class="glass">
<span class="beer-filled"></span>
</div>
</div>
</div>
<header>
<div class="navigation">
<img src="public/foobar_logo.svg" alt="logo" class="logo" />
<input type="checkbox" id="toggle" />
<label for="toggle" class="hamburger"></label>
<div class="slide-in">
<nav>
<ul>
<li>
<a href=""><span class="iconify" data-icon="fluent:home-32-regular"></span>
Home</a>
</li>
<li>
<a href="" class="products active"><span class="iconify" data-inline="false"
data-icon="dashicons:products"></span>
Products</a>
</li>
<li>
<a href=""><span class="iconify" data-inline="false" data-icon="fluent:history-24-regular"></span>
Order history</a>
</li>
<li>
<button class="checkout">
<span class="iconify" data-inline="false" data-icon="ion:beer"></span>
Checkout
</button>
</li>
<li>
<a href="" class="border_section"><span class="iconify" data-inline="false"
data-icon="clarity:settings-outline-alerted"></span>
Settings</a>
</li>
</ul>
</nav>
<div class="log_in">
<button>
<span class="user second">
<span class="table">
<span class="number">1</span>
</span>
<span>Table 1</span>
</span>
<span class="iconify" data-inline="false" data-icon="akar-icons:more-vertical"></span>
</button>
<div class="slide_out">
<ul>
<li>
<a href="/index.html">
<div class="user">
<img src="/foobar_avatar.png" alt="user" />
<span>Foobar</span>
</div>
<span class="iconify" data-inline="false" data-icon="akar-icons:more-vertical"></span>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</header>
<div class="checkout_beer checkout">
<div class="amount_beers hide"></div>
<span class="iconify" data-inline="false" data-icon="ion:beer"></span>
</div>
<main class="products">
<section id="products">
<h1>Ready for beer o'clock?</h1>
<div class="search_filters">
<div class="filters"></div>
<div class="search_bar">
<input type="text" name="search-bar" id="search-bar" placeholder="Search for a beer" />
</div>
</div>
<div class="beers"></div>
</section>
<section id="orders">
<div id="order_modal">
<div class="modal_container_b">
<div class="form-container"></div>
<aside>
<div class="basket-container">
<h1>Basket summary</h1>
<div class="summary"></div>
<div class="total">
<p>Total</p>
<p id="total"></p>
</div>
</div>
<div class="reminder">
<span class="iconify" data-inline="false" data-icon="oi:lightbulb"></span>
<p>
You can see the status of your order in one of our tv screens
or stay in tune with the app’s upcoming notifications.
</p>
</div>
</aside>
</div>
</div>
</section>
</main>
<template id="counter">
<div class="counter">
<input type="button" value="-" class="minus" />
<input type="text" size="1" value="0" class="count" />
<input type="button" value="+" class="plus" />
</div>
</template>
<template id="b_modal">
<div id="beer_modal">
<div class="modal_container">
<div class="modal_inner_readmore">
<span class="close">×</span>
<div class="headline">
<img src="/" alt="" />
<div class="details">
<h2></h2>
<h3></h3>
<p></p>
</div>
</div>
<div class="desc">
<p></p>
</div>
</div>
</div>
</div>
</template>
<template id="checkout">
<h1>Order confirmation</h1>
<div class="form">
<div class="payment_options">
<button class="credit_card active_filter">Credit card</button>
<button class="mobilepay">MobilePay</button>
</div>
<form>
<fieldset>
<label for="username">Username</label>
<p>
Give yourself a cool name with 2 to 10 letters and then try to
find your order on one of our tv screens
</p>
<input id="username" name="username" autocomplete="username" inputmode="text" type="text" minlength="2"
maxlength="10" placeholder="e. g. Foobar Inc." required />
</fieldset>
<fieldset>
<label for="pnumber">Phone-number</label>
<p>This number will only be used to send you your order number</p>
<input id="pnumber" name="phonenumber" inputmode="tel" autocomplete="tel" type="text"
pattern="[\+]\d{2}[\s]?\d{2}[\s]?\d{2}[\s]?\d{2}[\s]?\d{2}" minlength="15" maxlength="15"
placeholder="e. g. +45 00 00 00 00" required />
</fieldset>
<fieldset>
<label for="cardname">Name on the card</label>
<p>Full name as presented on your credit card</p>
<input id="cardname" name="cardname" inputmode="text" type="text" pattern="[a-zA-Z]+"
placeholder="Full name as stated on the card" required />
</fieldset>
<fieldset>
<label for="creditcard">Credit card number</label>
<p>
This information will be used for this purchase only and not
stored anywhere
</p>
<input id="creditcard" name="creditcard" inputmode="numeric" type="text"
pattern="[\s]?\d{4}[\s]?\d{4}[\s]?\d{4}[\s]?\d{4}" minlength="19" maxlength="19"
placeholder="e. g. 9999 9999 9999 9999" required />
</fieldset>
<div class="credit_card_details">
<fieldset>
<label for="expirationdate">Expiration date</label>
<div>
<input id="expirationmonth" name="expirationmonth" inputmode="numeric" type="text" pattern="0[1-9]|1[0-2]"
minlength="2" maxlength="2" max="12" placeholder="Month" required />
<span>/</span>
<input id="expirationyear" name="expirationyear" inputmode="numeric" type="text" pattern="\d+"
minlength="2" maxlength="2" placeholder="Year" required />
</div>
</fieldset>
<fieldset>
<label for="cvv">CVV</label>
<input id="cvv" name="cvv" inputmode="numeric" type="text" pattern="\d+" minlength="3" maxlength="3"
placeholder="e. g. 000" required />
</fieldset>
</div>
<p>
By clicking “Beer me up”, I agree with FooBar’s Terms of Service and
with purchasing the content in the basket summary.
</p>
<div class="buttons">
<button type="reset" class="return">
<span class="iconify arrow" data-inline="false" data-icon="bi:arrow-left"></span>
Return
</button>
<button type="submit" class="submit">
Beer me up
<span class="iconify purchase" data-inline="false" data-icon="bi:bag-check"></span>
</button>
</div>
</form>
</div>
<div id="confirmation_modal" class="hide">
<div class="modal_inner">
<span class="close">×</span>
<h3>Your order has been received</h3>
<div class="beer-icon shake">
<span class="iconify" data-inline="false" data-icon="ion:beer"></span>
</div>
<h4 class="id">Your order number is:</h4>
</div>
</div>
</template>
<template id="beer-order-card"> </template>
<script type="module" src="/order.js"></script>
<script type="module" src="/basket.js"></script>
<script src="https://code.iconify.design/1/1.0.6/iconify.min.js"></script>
</body>
</html>