-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (49 loc) · 1.87 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
<html>
<head>
<link rel="stylesheet" href="css/all.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/index_style.css">
<link rel="stylesheet" href="css/animate.css">
</head>
<body>
<div class="container py-5">
<div class="form-group">
<label>productName :</label>
<input id="productNameInp" type="text" class="my-1 form-control">
</div>
<div class="form-group">
<label>productPrice :</label>
<input id="productPriceInp" type="text" class="my-1 form-control">
</div>
<div class="form-group">
<label>productCategory :</label>
<input id="productCategoryInp" type="text" class="my-1 form-control">
</div>
<div class="form-group">
<label>productDesc :</label>
<textarea id="productDescInp" type="text" class="my-1 form-control">
</textarea>
</div>
<button onclick="addProduct()" id="addBtn" class="btn btn-info">add product</button>
</div>
<div class="container">
<div class="w-50 m-auto py-3">
<input onkeyup="searchProducts(this.value)" placeholder="search" class="form-control">
</div>
<table class="table text-center w-75 m-auto">
<thead>
<th>index </th>
<th>ProductName </th>
<th>ProductPrice </th>
<th>ProductCategory </th>
<th>ProductDesc </th>
<th>update </th>
<th>delete </th>
</thead>
<tbody id="tableBody">
</tbody>
</table>
</div>
<script src="js/index.js"></script>
</body>
</html>