-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.html
129 lines (122 loc) · 4.52 KB
/
inventory.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Inventory</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous" />
</head>
<body>
<input type="checkbox" id="check" />
<!--header area start-->
<header class="border">
<label for="check">
<i class="fas fa-bars" id="sidebar_btn"></i>
</label>
<div class="left_area">
<h3>Payment <span>System</span></h3>
</div>
<div class="right_area">
<a href="Login.html" class="logout_btn">Logout</a>
</div>
</header>
<!--header area end-->
<!--sidebar start-->
<div class="sidebar border">
<center>
<img src="resources/manager.png" class="profile_image" alt="" />
<h4>Admin</h4>
<h4 id="time"></h4>
</center>
<a href="admin_page.html"><i class="fas fa-desktop"></i><span>Dashboard</span></a>
<a href="inventory.html"><i class="fas fa-cogs"></i><span>Inventory</span></a>
<a href="employee.html"><i class="fas fa-table"></i><span>Add new employee</span></a>
<a href="analytics.html"><i class="fas fa-chart-line"></i><span>Analytics</span></a>
<a href="About_us.html"><i class="fas fa-info-circle"></i><span>About</span></a>
<a href="#"><i class="fas fa-sliders-h"></i><span>Settings</span></a>
</div>
<!--sidebar end-->
<div class="content border" id="newUser">
<div class="container">
<div class="row">
<div class="col">
<button id="addItem" class="btn btn-info">Add new Item</button>
</div>
</div>
<div class="row mt-3">
<div class="col" id="addForm">
<form>
<div class="form-row">
<div class="form-group col-md-3">
<label for="item">Item</label>
<input type="text" class="form-control" id="item" />
</div>
<div class="form-group col-md-3">
<label for="quantity">Quantity</label>
<input type="text" class="form-control" id="quantity" />
</div>
<div class="form-group col-md-3">
<label for="price">Price per Unit(in Rs.)</label>
<input type="text" class="form-control" id="price" />
</div>
<div class="form-group col-md-3 mt-4">
<button id="addBtn" class="btn btn-success">Add</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="container mt-5">
<div class="row">
<div class="col">
<table class="table table-hover text-center">
<thead>
<tr class="table-dark">
<th scope="col">#</th>
<th scope="col">Item</th>
<th scope="col">Quantity</th>
<th scope="col">Price per unit (in ₹)</th>
<th scope="col">Update</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Rice</td>
<td>100</td>
<td>₹ 100</td>
<td><button class="btn btn-secondary">Update</button></td>
</tr>
<tr>
<th scope="row">2</th>
<td>Wheat</td>
<td>140</td>
<td>₹ 150</td>
<td><button class="btn btn-secondary">Update</button></td>
</tr>
<tr>
<th scope="row">3</th>
<td>Sugar</td>
<td>125</td>
<td>₹ 180</td>
<td><button class="btn btn-secondary">Update</button></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script type="text/javascript" src="inventory.js"></script>
<script>
document.getElementById("time").textContent = localStorage.getItem("time");
</script>
</body>
</html>