-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (85 loc) · 3.44 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
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chemical Supplies</title>
<link rel="stylesheet" href="./style.css">
<script src="./script.js" defer></script> <!-- Will load after the html -->
</head>
<body>
<h1>Chemical Supplies</h1>
<div class="tableContainer">
<div class="icon-container">
<span class="icon" onclick="addRow()">Add</span>
<span class="icon" onclick="editRow()">Edit</span>
<span class="icon" onclick="changeRowPosition('down')">Down</span>
<span class="icon" onclick="changeRowPosition('up')">Up</span>
<span class="icon" onclick="deleteRows()">Delete</span>
<span class="icon" onclick="refreshData()">Refresh</span>
<span class="icon" onClick="saveData()">Save</span>
</div>
<table>
<thead class="tableHeading">
<th>S No.</th>
<th onclick="changeOrder(event)" key="chemical_name">
<div class="thStyle1">
<span>Chemical Name</span>
<span class="arrow"></span>
</div>
</th>
<th onclick="changeOrder(event)" key="vendor">
<div class="thStyle1">
<span>Vendor</span>
<span class="arrow"></span>
</div>
</th>
<th onclick="changeOrder(event)" key="density">
<div class="thStyle1">
<span>
<div>Density</div>
<div style="color: rgba(128, 128, 128, 0.516);font-weight: 300;">g/m³</div>
</span>
<span class="arrow"></span>
</div>
</th>
<th onclick="changeOrder(event)" key="viscosity">
<div class="thStyle1">
<span>
<div>Viscosity</div>
<div style="color: rgba(128, 128, 128, 0.516);font-weight: 300;">m²/s</div>
</span>
<span class="arrow"></span>
</div>
</th>
<th onclick="changeOrder(event)" key="packaging">
<div class="thStyle1">
<span>Packaging</span>
<span class="arrow"></span>
</div>
</th>
<th onclick="changeOrder(event)" key="pack_size">
<div class="thStyle1">
<span>Pack size</span>
<span class="arrow"></span>
</div>
</th>
<th onclick="changeOrder(event)" key="unit">
<div class="thStyle1">
<span>Unit</span>
<span class="arrow"></span>
</div>
</th>
<th onclick="changeOrder(event)" key="quantity">
<div class="thStyle1">
<span>Quantity</span>
<span class="arrow"></span>
</div>
</th>
</thead>
<tbody id="tableContent">
</tbody>
</table>
</div>
</body>
</html>