-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
65 lines (65 loc) · 2.37 KB
/
admin.html
File metadata and controls
65 lines (65 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div>
<label>Token:</label>
<input type="text" value="" id="token" style="width: 50%" />
<button id="join">Join</button>
</div>
<div>
<h3>Update Order</h3>
<form id="updateOrderForm">
<label for="">Order Id:</label>
<input type="text" name="" id="orderId" /> <br />
<label for="">clientState:</label>
<select name="" id="clientState">
<option value="PENDING">Pending</option>
<option value="CONFIRMED">Confirm</option>
<option value="REJECT">Reject</option>
<option value="UPDATE_FOOD">Update Food</option></select
><br />
<label for="">overallFoodStatus:</label>
<select name="" id="overallFoodStatus">
<option value="PENDING">Pending</option>
<option value="ALL_SERVED">All Served</option></select
><br />
<label for="">orderStatus:</label>
<select name="" id="orderStatus">
<option value="NOT_CHECKOUT">Not checkout</option>
<option value="BILLING">Billing</option>
<option value="PAID">Paid</option>
<option value="CANCEL">CANCEL</option></select
><br />
<label for="">deleteFoodList:</label>
<input id="deleteFoodOrderList" type="text" /> <br />
<label for="">update food order id:</label>
<input id="updateFoodOrderId" type="text" /> <br />
<select name="" id="foodOrderStatus">
<option value="COOKING">COOKING</option>
<option value="SERVED">SERVED</option>
<option value="PENDING">PENDING</option>
<option value="CANCEL">CANCEL</option>
</select>
<label for="">TransferTable id:</label>
<input id="transferTableId" type="text" /> <br />
<input type="submit" />
</form>
</div>
<div>
<p>order list:</p>
<ol id="orders"></ol>
</div>
<script
src="https://cdn.socket.io/4.5.0/socket.io.min.js"
integrity="sha384-7EyYLQZgWBi67fBtVxw60/OWl1kjsfrPFcaU0pp0nAh+i8FD068QogUvg85Ewy1k"
crossorigin="anonymous"
></script>
<script src="./admin.js"></script>
</body>
</html>