-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
131 lines (128 loc) · 4.62 KB
/
index.html
File metadata and controls
131 lines (128 loc) · 4.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous" />
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
<title>Inventify | Product Manager</title>
<link rel="shortcut icon" href="/Images/inventory.png" type="image/x-icon" />
<script src="https://code.jquery.com/jquery-3.6.4.min.js"
integrity="sha384-oL1G8i/XlZ8+0teqOqUwDAIimjQvT51EBbviL0jjqjGcvqfg2jT4FMI1KZaUjEMf"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@floating-ui/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/@floating-ui/[email protected]"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.3.2/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-database.js"></script>
</head>
<body>
<div class="snackbar">
<li>
<a href="index.html"><img src="/Images/carbon.svg" class="dashboard" width="25px"
height="25px" /><br />Dashboard</a>
</li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
<li><a href="#"></a></li>
</div>
<div class="container">
<div class="header">
<h1>In stock</h1>
</div>
<div class="add-btn">
<input type="button" class="add" onclick="openStockModal()" value=" + New Stock " />
</div>
</div>
<div id="stock-modal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<form id="newStockForm">
<label for="product-id">Product ID:</label>
<br />
<input type="number" id="product-id" name="product-id" min="0" required />
<br />
<label for="product-name">Product Name:</label>
<br />
<input type="text" id="product-name" name="product-name" required />
<br />
<label for="product-category">Category:</label>
<br />
<input type="text" id="product-category" name="product-category" required />
<br />
<label for="product-brand">Brand:</label>
<br />
<input type="text" id="product-brand" name="product-brand" required />
<br />
<label for="product-notes">Notes:</label>
<br />
<input type="text" id="product-notes" name="product-notes" />
<br />
<label for="product-count">Count:</label>
<br />
<input type="number" id="product-count" name="product-count" min="0" required />
<br />
<br />
<input type="submit" value="Add Item" />
<br />
<br />
</form>
</div>
</div>
<div id="edit-stock-modal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeEditModal()">×</span>
<form id="editStockForm">
<label for="product-name">Product Name:</label>
<br />
<input type="text" id="edit-product-name" name="product-name" required />
<br />
<label for="product-category">Category:</label>
<br />
<input type="text" id="edit-product-category" name="product-category" required />
<br />
<label for="product-brand">Brand:</label>
<br />
<input type="text" id="edit-product-brand" name="product-brand" required />
<br />
<label for="product-notes">Notes:</label>
<br />
<input type="text" id="edit-product-notes" name="product-notes" />
<br />
<label for="product-count">Count:</label>
<br />
<input type="number" id="edit-product-count" name="product-count" min="0" required />
<br />
<br />
<input type="submit" id="editSubmitButton" value="Save Changes" />
<br />
<br />
</form>
</div>
</div>
<div id="hor-line"></div>
<div id="hor-line"></div>
<div class="container3">
<div class="view">
<table class="table">
<tr class="table-header">
<th>Product ID</th>
<th>Product Name</th>
<th>Category</th>
<th>Brand</th>
<th>Notes</th>
<th>Count</th>
<th>Status</th>
<th></th>
</tr>
</table>
</div>
</div>
</body>
</html>