-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (89 loc) · 4.4 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
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12 text-center">
<h1>Product Management System</h1>
</div>
<div class="col-lg-4 col-md-6 col-sm-12">
<div class="row">
<div class="col-12">
<h3>Add Category</h3>
</div>
<hr>
<form>
<div class="row form-group">
<label for="CategoryName" class="col-4">Category Name</label>
<div class="col-8">
<input type="text" class="form-control" id="CategoryName" required>
</div>
<button class="btn btn-success col-12 mt-3" id="addCategory">Add Category</button>
</div>
</form>
</div>
<div class="row mt-5">
<div class="col-12">
<h3>Add Product</h3>
</div>
<hr>
<form>
<div class="row form-group">
<label for="SelectCategory" class="col-4 mb-3">Select Category</label>
<div class="col-8 mb-3">
<select class="form-control" id="SelectCategory" required>
<option disabled value selected> -- Select Category --</option>
</select>
</div>
<label for="ProductName" class="col-4 mb-3">Product Name</label>
<div class="col-8 mb-3">
<input type="text" class="form-control " id="ProductName" required>
</div>
<label for="ProductPrice" class="col-4 mb-3">Product Price</label>
<div class="col-8 mb-3">
<input type="number" class="form-control " id="ProductPrice" required>
</div>
<label for="ProductStock" class="col-4 mb-3">Product Stock</label>
<div class="col-8 mb-3">
<input type="number" class="form-control " id="ProductStock" required>
</div>
<button class="btn btn-success col-12 mt-3" id="addProduct">Add Product</button>
</div>
</form>
</div>
</div>
<div class="col-lg-8 col-md-6 col-sm-12 ps-5">
<div class="row">
<div class="col-12">
<h3>Product List</h3>
</div>
<hr>
</div>
<table class="table table-border table-hover">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Price</th>
<th>Stock</th>
<th>Settings</th>
</tr>
</thead>
<tbody id="ProductList">
</tbody>
</table>
</div>
</div>
</div>
<script src="assets/js/script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" crossorigin="anonymous"></script>
</body>
</html>