-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtool.html
171 lines (169 loc) · 9.39 KB
/
tool.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0">
<title>OpenNP6 | OpenSource McDonald's Training</title>
<!--Font import-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/styles.css">
<!--JS Import-->
<script src="assets/button.js"></script>
<script src="assets/tool.js"></script>
</head>
<!--
Here we go...
-->
<body class="tool">
<div class="leftColumn">
<div class="orderSpace">
<p id="itemSpace"></p>
<p id="priceSpace"></p>
<p id="totalSpace"></p>
</div>
</div>
<div class="workSpace">
Tip: Hover over any button or "<b>NOTE</b>" text to see more information.
<table>
<tbody>
<!-- Table rows --><tr>
<td id="infoPanel" colspan="10">
<span id="successText">USER LOGGED <img src="resources/POS_Images/checkmark.png" width="25px"></span>
<span id="infoPanel" title="POS 1 represents the POS number for the machine you're using"><b>POS 1</b></span>
<span id="infoPanel" title="Current order time. Should be under 30s"><span id="orderTimer">0</span>s</span>
<span id="infoPanel" title="This is the name of the logged in user."><b>CJS.NZ</b></span>
<span id="infoPanel" title="This represents the type of register you're using: FC, DT(OT), DT(CS), CF, MC, TR, CAFE, CSO">
FC</span>
<span id="infoPanel">
</span>
<span id="infoPanel">1st Jan 1970</span></span>
<span id="infoPanel">09:41:00</span></span>
<span id="infoPanel"><button id="itemNum" onclick="clearNum()"></span></span>
</td>
<td></td>
<td></td>
<td><b>Testing Buttons:</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><img width="80px" height="80px" onclick="changeImage(this)" src="resources/POS_Images/BLK_MGR.png" title="Opens the manager menu. Disabled in this software"></td><td></td>
<td></td>
<td id="optionFunction"><button onclick="wipeOrder()">TEST_Wipe Order</button></td>
</tr>
<tr>
<td><img width="80px" height="80px" name="0" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/00.png"></td>
<td><img width="80px" height="80px" name="1" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/01.png"></td>
<td><img width="80px" height="80px" name="2" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/02.png"></td>
<td><img width="80px" height="80px" name="3" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/03.png"></td>
<td><img width="80px" height="80px" name="4" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/04.png"></td>
<td><img width="80px" height="80px" name="5" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/05.png"></td>
<td><img width="80px" height="80px" name="6" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/06.png"></td>
<td><img width="80px" height="80px" name="7" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/07.png"></td>
<td><img width="80px" height="80px" name="8" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/08.png"></td>
<td><img width="80px" height="80px" name="9" onclick="changeImage(this);addNum(this)" src="resources/POS_Images/09.png"></td>
<td></td>
<td></td>
<td id="optionFunction"><button onclick="clearNum()">TEST_Clear Num</button></td>
</tr>
<tr>
<td><h1>Lunch</h1></td>
<td><h1>Menu</h1></td>
<td id="menu">Breakfast Menu</td>
<td id="menu">Chicken Menu</td>
<td id="menu">McCafé Menu</td>
<td id="menu">Drinks</td>
<td id="menu">Desserts</td>
<td id="menu">Condiments Menu</td>
<td id="menu">Local Store Menu</td>
<td><img width="80px" height="80px" src="resources/POS_Images/Modifiers_VoidLine.png" title="Void the selected line." onclick="voidLine()"></td>
<td></td>
<td></td>
<td id="optionFunction"><button onclick="window.location.reload()">TEST_Restart App</button></td>
</tr>
<tr>
<td id="item"><button name="Hamburger" value=3 onclick="addItemToOrder(this)">Hamburger</button></td>
<td id="item"><button name="Cheeseburger" value=4.50 onclick="addItemToOrder(this)">CHEESE BURGER</button></td>
<td id="item"><button name="DOUBLE CHEESE" value=5.50 onclick="addItemToOrder(this)">DOUBLE CHEESE</button></td>
<td id="item">TRIPLE CHEESE</td>
<td></td>
<td id="bundle">Cheese Snack Meal</td>
<td></td>
<td id="subMenu">Dinner Box</td>
<td id="subMenu">Happy Meal</td>
<td><img width="80px" title="Promo Selected Item (Make Free). Note: This normally has a store-set limit that has been removed." height="80px" src="resources/POS_Images/Modifiers_PromoItem.png"></td>
</tr>
<tr>
<td id="item"><img width="100%" height="100%" onclick="changeImage(this)" src="resources/POS_Images/NP6_Condiment_BunBigMac.png"></td>
<td id="item">DBL MAC</td>
<td id="item">QTR POUNDER</td>
<td id="item">DOUBLE QTR</td>
<td id="item">THE BOSS</td>
<td id="item">DELUXE CHEESE</td>
<td id="bundle">Cheese DBL UP</td>
<td></td>
<td id="subMenu">Wraps & Salads</td>
<td><img width="80px" title="Clear a subchoice" height="80px" src="resources/POS_Images/Modifiers_ClearChoice.png"></td>
</tr>
<tr>
<td id="side">FRIES</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td id="subMenu">Hunger<br>Buster</td>
<td></td>
<td id="subMenu">Gourmet<br>Menu</td>
<td><img title="Open Side Choices Mini Menu" width="80px" height="80px" src="resources/POS_Images/Modifiers_SideChoice.png"></td>
<td><p title="In most editions, this now says 'REMOVE OFFER' for GMAL (MyMaccas) Loyalty Rewards."><b><-- NOTE</b> (Hover)</p></td>
</tr>
<tr>
<td id="sizeModifier">Value</td>
<td id="sizeModifier">Mini</td>
<td id="sizeModifier">Small</td>
<td id="sizeModifier">Medium</td>
<td id="sizeModifier">Large</td>
<td id="sizeModifier">$1</td>
<td id="sizeModifier">$2</td>
<td id="menu">RHMC<br>Charity</td>
<td id="optionFunction">SHOW PRICES</td>
<td id="optionFunction">Special Functions Employee Options</td>
</tr>
<tr>
<td id="drinkItem">Coke</td>
<td id="drinkItem">Raspberry</td>
<td id="drinkItem">Coke No Sugar</td>
<td id="drinkItem">Fanta</td>
<td id="drinkItem">Sprite</td>
<td id="drinkLSM">$1 HOT CHOC</td>
<td id="subMenu">Frozen Drinks</td>
<td id="subMenu">McFloats</td>
<td id="optionFunction">Make Meal</td>
<td id="cashMenu">Eat In Total</td>
</tr>
<tr>
<td id="drinkItem">L&P</td>
<td></td>
<td></td>
<td id="drinkItem">OJ</td>
<td id="drinkItem">Hot Choc</td>
<td id="subMenu">Shake Menu</td>
<td id="subMenu">Trials</td>
<td id="subMenu">McDelivery Deals</td>
<td id="optionFunction">Remove Meal</td>
<td id="cashMenu">Take Out Total</td>
</tr>
</tbody>
</table>
</div>
</body>