-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
79 lines (79 loc) · 2.62 KB
/
index.html
File metadata and controls
79 lines (79 loc) · 2.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AMS Shopping Application</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>
<body>
<header>
<h1>AMS Shopping Application</h1>
<div>
<label for="user-select">User:</label>
<select id="user-select">
<option value="alice">alice</option>
<option value="bob">bob</option>
<option value="carol">carol</option>
<option value="">none</option>
</select>
<label for="external-api-checkbox">ExternalOrder (order total < 100)</label>
<input type="checkbox" id="external-api-checkbox">
</div>
</header>
<main>
<section id="products-section">
<h2>Products</h2>
<table id="products-table">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Price</th>
<th>Category</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
<section id="orders-section">
<h2>Orders</h2>
<table id="orders-table">
<thead>
<tr>
<th>ID</th>
<th>Product ID</th>
<th>Product</th>
<th>Price</th>
<th>Quantity</th>
<th>Total Price</th>
<th>Created By</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
<section id="cart-section">
<h2>Shopping Cart</h2>
<table id="cart-table">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Price</th>
<th>Quantity</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
<button id="place-order-btn">Place Order</button>
<button id="reset-cart-btn">Reset Cart</button>
</section>
</main>
<script src="script.js"></script>
</body>
</html>