-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
86 lines (79 loc) · 3.77 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
<link rel="manifest" href="assets/site.webmanifest">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chemical Supplies</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="table-wrapper">
<div class="flexContainer">
<h1>Chemical Supplies</h1>
<span id="addItem" class="material-symbols-outlined" style="color: #F0EAD6; margin-right:10px;"
onclick="addItemForm()">
add
</span>
<span id="deleteButton" class="material-symbols-outlined" style="color: #ff0202;margin-right:10px;">
delete
</span>
<span id="refreshAll" class="material-symbols-outlined" style="color: #0000ff;">
refresh
</span>
</div>
<table class="fl-table">
<thead>
<tr>
<th><input type="checkbox" id="selectAll" onclick="toggleSelectAll()"></th>
<th>Id </th>
<th>Chemical name</th>
<th>Vender</th>
<th>Density (g/m²)</th>
<th>Viscosity (m²/s)</th>
<th>Packaging</th>
<th>Pack size</th>
<th>Unit</th>
<th>Quantity</th>
</tr>
</thead>
<tbody id="tableData">
<tr id="emptyMessageRow">
<td colspan="10" style="text-align: center; color: #888;">
Add chemicals data to see them listed here.
</td>
</tr>
</tbody>
</table>
<!-- Add new chemical form -->
<form id="addNewChemicalForm" style="display: none;">
<label for="name">Chemical Name:</label>
<input type="text" id="name" name="name" required><br>
<label for="vendor">Vendor:</label>
<input type="text" id="vendor" name="vendor" required><br>
<label for="density">Density (g/m²):</label>
<input type="number" id="density" name="density" step="any" required><br>
<label for="viscosity">Viscosity (m²/s):</label>
<input type="number" id="viscosity" name="viscosity" step="any" required><br>
<label for="packaging">Packaging:</label>
<input type="text" id="packaging" name="packaging" required><br>
<label for="packSize">Pack Size:</label>
<input type="number" id="packSize" name="packSize" step="any" required><br>
<label for="unit">Unit:</label>
<input type="text" id="unit" name="unit" required><br>
<label for="quantity">Quantity:</label>
<input type="number" id="quantity" name="quantity" step="any" required><br>
<button type="submit">Add New</button>
</form>
</div>
<script src="script.js"></script>
</body>
</html>