-
Notifications
You must be signed in to change notification settings - Fork 1
/
update.html
62 lines (54 loc) · 3.16 KB
/
update.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<link rel="stylesheet" href="skeleton.css" />
<link rel="stylesheet" href="update.css">
<title>Hardware City</title>
</head>
<body>
<div style="display: flex;width: 100%;height: 900px;margin: auto;">
<div class="sidebar" style="padding-top:182px; width: 12%;border: 0px solid red;">
<a id="sidenav" class="fa fa-fw fa-home"></a>
<a href="admin.html"> Home</a>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<a id="sidenav" class="fa fa-fw fa-wrench"></a>
<a href="update.html">Add/Update</a>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<a id="sidenav" class="fa fa-fw fa-user"></a>
<a href="client.html"><i></i> Clients</a>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<a id="sidenav" class="fa fa-fw fa-envelope"></a>
<a href="adminProduct.html"><i></i> Products</a>
</div>
<div style="width: 88%;">
<div id="update" style="padding:5px 20px;margin-left: 200px; width:28%; gap: 20px;border: 0px solid rgb(151, 82, 82);">
<div>
<h4>Add Products</h4>
<input type="text" id="employee-name" class="u-full-width" placeholder="Name" required/>
<input type="text" id="employee-image" class="u-full-width" placeholder="Image Url" />
<input type="text" id="employee-dept" class="u-full-width" placeholder="Description" />
<input type="number" id="employee-salary" class="u-full-width" placeholder="Price" />
<button id="add-employee" class="u-full-width button button-primary"> Add Product </button>
</div>
<div>
<h4>Update Product</h4>
<input type="text" id="update-employee-id" class="u-full-width" placeholder="ID" />
<input type="text" id="update-employee-name" class="u-full-width" placeholder="Name" />
<input type="text" id="update-employee-image" class="u-full-width" placeholder="Image Url" />
<input type="text" id="update-employee-dept" class="u-full-width" placeholder="Description" />
<input type="number" id="update-employee-salary" class="u-full-width" placeholder="Price" />
<button id="update-employee" class="u-full-width button button-primary" > Update Product </button>
</div>
</div>
<div id="products" style="border: 0px solid rgb(3, 3, 3);width: 60%;margin-left:180px ;">
</div>
</div>
</div>
<script src="update.js"></script>
</body>
</html>