-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathwindow.html
More file actions
462 lines (441 loc) · 22.9 KB
/
window.html
File metadata and controls
462 lines (441 loc) · 22.9 KB
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
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<!DOCTYPE html>
<html>
<head>
<title>SalesPoint</title>
<link rel="stylesheet" type="text/css" href="styles/main.css">
<link rel="stylesheet" type="text/css" href="styles/startup.css">
<link rel="stylesheet" type="text/css" href="styles/flipper.css">
<link rel="stylesheet" type="text/css" href="styles/stillthere.css">
<script src="scripts/lib/jquery-2.1.1.min.js"></script>
<script src="scripts/lib/jquery.velocity.min.js"></script>
<script src="scripts/lib/flipper.js"></script>
<script src="scripts/lib/spreadsheet.js"></script>
<script src="scripts/lib/sandbox.js"></script>
<script src="scripts/lib/scanner.js"></script>
<script src="scripts/lib/swiper.js"></script>
<script src="scripts/lib/stripe.js"></script>
<script src="scripts/lib/stillthere.js"></script>
<script src="scripts/data.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/startup.js"></script>
<script src="scripts/locales.js"></script>
<script src="scripts/scale.js"></script>
<script src="scripts/objects/session.js"></script>
<script src="scripts/objects/receipt.js"></script>
<script src="scripts/objects/receiptItem.js"></script>
<script src="scripts/objects/product.js"></script>
</head>
<body>
<div id="flipper" class="flipper">
<div class="page" id="page-startup">
<div class="page-container">
<header>SalesPoint</header>
<div class="content">
<div class="test">
<header>Hardware Tests (Optional)</header>
<p>Test each of the following hardware devices to ensure proper usage</p>
<div class="barcode">
<span class="title"><strong>Barcode Reader</strong> (Scan an Item)</span>
<span class="status"></span>
</div>
<div class="swiper">
<span class="title"><strong>Card Reader</strong> (Swipe a Card)</span>
<span class="status"></span>
</div>
<div class="scaleconnect">
<span class="title"><strong>Scale Connected</strong></span>
<span class="status"></span>
</div>
<div class="scalepermission">
<span class="title"><strong>Scale Permission</strong> (Tap the Screen)</span>
<span class="status"></span>
</div>
<div class="scaleadd">
<span class="title"><strong>Scale Add Item</strong> (Place Item on Scale)</span>
<span class="status"></span>
</div>
<div class="scaleweight">
<span class="title"><strong>Scale Stable Weight</strong> (Wait for Weight)</span>
<span class="status"></span>
</div>
<div class="scaleremove">
<span class="title"><strong>Scale Remove Item</strong> (Remove Item from Scale)</span>
<span class="status"></span>
</div>
</div>
<button class="start">Touch to Start App</button>
</div>
<footer></footer>
</div>
</div>
<div class="page" id="page-initial">
<div class="page-container">
<header>
<span class="store-name">I/O Mart</span>
<span class="page-title"></span>
</header>
<div class="content">
<video poster="images/market_poster.png" id="background-video" loop>
<source src="videos/Food_Market_-_Tomatoes_-_Free_Stock_Video_Footage_.webm" type="video/webm">
</video>
<div class="user-options">
<button class="start-button english">Start English</button>
<button class="start-button spanish">Comience Español</button>
</div>
</div>
<footer></footer>
</div>
</div>
<div class="page" id="page-checkout">
<div class="page-container">
<header>
<span class="store-name">I/0 Mart</span>
<span class="page-title">Checkout(caja)</span>
</header>
<div class="content">
<div class="receipt-container">
<header>My Items(mis artículos)</header>
<div class="receipt"></div>
<div class="receipt-divider"></div>
<div class="receipt-totals">
<div class="receipt-subtotal total">
<span class="title">Subtotal</span>
<span class="amount"></span>
</div>
<div class="receipt-tax total">
<span class="title">Sales Tax</span>
<span class="amount"></span>
</div>
<div class="receipt-total total">
<span class="title">Total</span>
<span class="amount"></span>
</div>
</div>
</div>
<div class="page-actions-container">
<div class="helper-images">
</div>
<div class="instructions">
<p>Scan an item, or choose an option below</p>
</div>
<div class="checkout-options">
<button id="lookup-item" class="checkout-option">
<img class="icon" src="images/lookup-item.png" width="100" height="100" />
<div class="title">Lookup Item</div>
<div class="description">Browse through our products and find an item by name.</div>
</button>
<button id="large-item" class="checkout-option">
<img class="icon" src="images/large-item.png" width="100" height="100" />
<div class="title">Large Item</div>
<div class="description">Call an attendant to scan a large or heavy item in your cart.</div>
</button>
<button id="type-in-sku" class="checkout-option">
<img class="icon" src="images/enter-sku.png" width="100" height="100" />
<div class="title">Type in SKU</div>
<div class="description">Add an item using the products SKU number.</div>
</button>
</div>
<div class="payment-options">
<button id="pay-now">Pay Now</button>
</div>
</div>
</div>
<footer>
<button class="call-attendant">
<img src="images/call-attendant.png" width="25" height="25" /><span class="title">Call Attendant</span>
</button>
<button class="return-main-menu">
<img src="images/cancel.png" width="25" height="25" /><span class="title">Cancel Transaction</span>
</button>
</footer>
</div>
</div>
<div class="page" id="page-lookup">
<div class="page-container">
<header>
<span class="store-name">I/0 Mart</span>
<span class="page-title">Product Search</span>
</header>
<footer>
<button class="call-attendant">
<img src="images/call-attendant.png" width="25" height="25" /><span class="title">Call Attendant</span>
</button>
<button class="return-checkout">
<img src="images/return.png" width="25" height="25" /><span class="title">Return to Checkout</span>
</button>
<button class="return-main-menu">
<img src="images/cancel.png" width="25" height="25" /><span class="title">Cancel Transaction</span>
</button>
</footer>
<div class="content">
<div class="search-controls">
<div class="instructions">
<p>Use the on-screen keyboard to find a product by searching for the product name.</p>
</div>
<input type="text" id="item-search-query" placeholder="Touch to Type" />
<progress id="search-timer-progress" value="0" max="200"></progress>
</div>
<div class="search-results"></div>
</div>
</div>
</div>
<div class="page" id="page-payment-options">
<div class="page-container">
<header>
<span class="store-name">I/0 Mart</span>
<span class="page-title">Payment Method</span>
</header>
<div class="content">
<div class="receipt-container">
<header>My Items(mis artículos)</header>
<div class="receipt"></div>
<div class="receipt-divider"></div>
<div class="receipt-totals">
<div class="receipt-subtotal total">
<span class="title">Subtotal</span>
<span class="amount"></span>
</div>
<div class="receipt-tax total">
<span class="title">Sales Tax</span>
<span class="amount"></span>
</div>
<div class="receipt-total total">
<span class="title">Total</span>
<span class="amount"></span>
</div>
</div>
</div>
<div class="page-actions-container">
<div class="helper-images"></div>
<div class="instructions">
<p>Select your method of payment.</p>
</div>
<div class="payment-methods">
<button class="payment-method card">
<img class="icon" src="images/cards.png" width="100" height="100" />
<div class="title">Card</div>
<div class="description">Credit/Debit</div>
</button>
<button class="payment-method cash invalid">
<img class="icon" src="images/cash.png" width="100" height="100" />
<div class="title">Cash</div>
<div class="description">Bills and Coins</div>
</button>
<button class="payment-method check invalid">
<img class="icon" src="images/checks.png" width="100" height="100" />
<div class="title">Check</div>
<div class="description">Paper or Electronic</div>
</button>
<button class="payment-method other invalid">
<img class="icon" src="images/other.png" width="100" height="100" />
<div class="title">Other</div>
<div class="description">Gift Card, WIC, etc...</div>
</button>
</div>
</div>
</div>
<footer>
<button class="call-attendant">
<img src="images/call-attendant.png" width="25" height="25" /><span class="title">Call Attendant</span>
</button>
<button class="return-checkout">
<img src="images/return.png" width="25" height="25" /><span class="title">Return to Checkout</span>
</button>
<button class="return-main-menu">
<img src="images/cancel.png" width="25" height="25" /><span class="title">Cancel Transaction</span>
</button>
</footer>
</div>
</div>
<div class="page" id="page-invalid-payment-type">
<div class="page-container">
<header>
<span class="store-name">I/0 Mart</span>
<span class="page-title">Payment</span>
</header>
<div class="content">
<div class="helper-images"></div>
<div class="instructions">
<p>We're sorry, this device is currently set to only accept Credit Card or Debit as payment types. We apologize for the inconvenience.</p>
<p>Please select "Back to Payment Types" to choose a valid payment type, or wait for an attendant to complete your transaction.</p>
</div>
<button class="return-payment-methods">Back to Payment Types</button>
</div>
<footer>
<button class="call-attendant">
<img src="images/call-attendant.png" width="25" height="25" /><span class="title">Call Attendant</span>
</button>
<button class="return-checkout">
<img src="images/return.png" width="25" height="25" /><span class="title">Return to Checkout</span>
</button>
<button class="return-main-menu">
<img src="images/cancel.png" width="25" height="25" /><span class="title">Cancel Transaction</span>
</button>
</footer>
</div>
</div>
<div class="page" id="page-payment">
<div class="page-container">
<header>
<span class="store-name">I/0 Mart</span>
<span class="page-title">Payment</span>
</header>
<div class="content">
<div class="receipt-container">
<header>My Items(mis artículos)</header>
<div class="receipt"></div>
<div class="receipt-divider"></div>
<div class="receipt-totals">
<div class="receipt-subtotal total">
<span class="title">Subtotal</span>
<span class="amount"></span>
</div>
<div class="receipt-tax total">
<span class="title">Sales Tax</span>
<span class="amount"></span>
</div>
<div class="receipt-total total">
<span class="title">Total</span>
<span class="amount"></span>
</div>
</div>
</div>
<div class="page-actions-container">
<img src="images/pinpad-device.jpg" />
<div class="instructions">Use the Pinpad device to complete your transaction</div>
<div class="loading-container">
<div class="loading-animation">
<span id="bubble_1">
</span>
<span id="bubble_2">
</span>
<span id="bubble_3">
</span>
</div>
</div>
<button class="return-payment-methods">Back to Payment Types</button>
</div>
</div>
<footer>
<button class="simulate card">
<span class="title">Simulate Card Swipe</span>
</button>
<button class="call-attendant">
<img src="images/call-attendant.png" width="25" height="25" /><span class="title">Call Attendant</span>
</button>
<button class="return-checkout">
<img src="images/return.png" width="25" height="25" /><span class="title">Return to Checkout</span>
</button>
<button class="return-main-menu">
<img src="images/cancel.png" width="25" height="25" /><span class="title">Cancel Transaction</span>
</button>
</footer>
</div>
</div>
<div class="page" id="page-complete">
<div class="page-container">
<header>
<span class="store-name">I/0 Mart</span>
<span class="page-title">Transaction Complete</span>
</header>
<div class="content">
<video poster="images/video_poster.png" id="complete-video" loop>
<source src="videos/Green_Leaves_Bokeh_with_Lens_Flare_-_Free_HD_Stock.webm" type="video/webm">
</video>
<div class="instructions">
<div class="complete-thanks">Thank you for shopping with us!</div>
<div class="complete-remove-bags">Please remove your bags from the bagging area, and take you receipt.</div>
</div>
</div>
<footer>
</footer>
</div>
</div>
</div>
<div id="overlay" class="overlay">
<div class="background"></div>
<div class="foreground">
<div class="foreground-container"></div>
</div>
</div>
<div class="hidden">
<div id="overlays">
<div id="overlay-large-item" class="overlay-content">
<img class="image" src="images/large-item.png" width="200" height="200" alt=""/>
<div class="content">
<p class="message">Please wait and an attendant will be with you shortly to scan your large item.</p>
<div class="actions">
<button class="cancel">Cancel</button>
</div>
</div>
</div>
<div id="overlay-type-in-sku" class="overlay-content">
<img class="image" src="images/enter-sku.png" width="200" height="200" alt=""/>
<div class="content">
<p class="message">Use the on screen keyboard to enter a product's SKU, then select "Continue" to add it to your items.</p>
<div class="user-input">
<input id="sku-query" type="text" placeholder="Touch to Type" />
<div class="actions">
<button class="cancel">Cancel</button>
<button class="continue">Continue</button>
</div>
</div>
</div>
</div>
<div id="overlay-call-attendant" class="overlay-content">
<img class="image" src="images/call-attendant.png" width="200" height="200" alt=""/>
<div class="content">
<p class="message">An attendant has been notified and will be with you shortly. Select "Continue" to resume checking out.</p>
<div class="actions">
<button class="continue">Continue</button>
</div>
</div>
</div>
<div id="overlay-scale" class="overlay-content">
<img class="image" src="images/large-item.png" width="200" height="200" alt=""/>
<div class="content">
<p class="message">Please place your item on the scale.</p>
<div class="wait hidden">
<p>Please wait one moment...</p>
<div class="loading-animation white">
<span id="bubble_1"></span>
<span id="bubble_2"></span>
<span id="bubble_3"></span>
</div>
</div>
<div class="actions">
<button class="cancel">Cancel</button>
</div>
</div>
</div>
<div id="overlay-cancel" class="overlay-content">
<img class="image" src="images/call-attendant.png" width="200" height="200" alt=""/>
<div class="content">
<p class="message">Are you sure you wish to cancel your transaction?</p>
<div class="actions">
<button class="return">Return to Checkout</button>
<button class="confirm">Confirm Cancel</button>
</div>
</div>
</div>
<div id="overlay-error" class="overlay-content">
<img class="image" src="images/cancel.png" width="200" height="200" alt=""/>
<div class="content">
<p class="error"></p>
<div class="actions">
<button class="continue">Continue</button>
</div>
</div>
</div>
</div>
<div id="modules">
<div class="loading-animation">
<span id="bubble_1"></span>
<span id="bubble_2"></span>
<span id="bubble_3"></span>
</div>
</div>
</div>
<iframe id="sandbox-scripts" class="hidden" src="scripts/sandbox-scripts.html"></iframe>
</body>
</html>