-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (50 loc) · 2.37 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<title>
Inventory Manager
</title>
</head>
<body>
<nav class="navbar navbar-light bg-light">
<div class="container-fluid">
<span class="navbar-brand mb-0 h1">Inventory Manager</span>
</div>
</nav>
<div class="container">
<form id="addInventory">
<p class="msg"></p>
<div class="form-group col-xs-4 col-md-4">
<label for="name" class="control-label">Name</label>
<input type="text" placeholder="Item Name"class="form-control" id="name">
</div>
<div class="form-group col-xs-4 col-md-4">
<label for="description" class="control-label">Description</label>
<input type="text" placeholder="Item Description" class="form-control" id="description">
</div>
<div class="form-group col-xs-4 col-md-4">
<label for="price" class="control-label">Price</label>
<input type="number" placeholder='item price' class="form-control" id="price">
</div>
<div class="form-group col-xs-4 col-md-4">
<label for="quantity" class="control-label">Quantity</label>
<input type="number" placeholder='Item Quantity' class="form-control" id="quantity">
<button type="submit" class="btn btn-primary">Add Item</button>
<!-- <button type="button" class="btn btn-primary" id="getItemList">Get Items</button> -->
</div>
</form>
</div>
<div class="d-flex justify-content-center">
<div class="card">
<ul class="list-group" id="itemList">
</ul>
</div>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script type="module"src="async_main.mjs"></script>
</html>