-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (78 loc) · 3.62 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
<html>
<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" />
<!-- bootstrap link -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"/>
<!-- bootstrap link end -->
<link rel="stylesheet" href="style.css" />
<title>CRUDS</title>
</head>
<body>
<!-- all content -->
<div class="cruds">
<!-- animation boxes -->
<div class="box-anime"><p id="boxAnime">Your System Include (0) Products</p></div>
<div class="right-anime" id="right-animeBox"><p id="right-anime">enter your data</p></div>
<!-- animation boxes end -->
<!-- header -->
<div class="head">
<h1>cruds</h1>
<p>product management system</p>
</div>
<!-- header end -->
<!-- all form inputs -->
<div class="operations">
<div class="input">
<input id="title" placeholder="title" type="text" />
<div class="price">
<input onkeyup="getTotal()" type="number" id="price" placeholder="price" />
<input onkeyup="getTotal()" type="number" id="taxes" placeholder="taxes" />
</div>
<div class="price">
<input onkeyup="getTotal()" type="number" id="ads" placeholder="ads" />
<input onkeyup="getTotal()" type="number" id="discount" placeholder="discount"/>
</div>
<div class="price">
<small id="total"></small>
</div>
<input id="count" placeholder="count" type="number" />
<input id="category" placeholder="category" type="text" />
<div class="submitBtn"><button id="submit">Create</button></div>
</div>
<div class="output">
<input onkeyup="searchPro(this.value)" id="search" placeholder="search" type="text" />
<div class="btnsearch">
<button onclick="getSearchID(this.id)" id="searchTitle">Search By Title</button>
<button onclick="getSearchID(this.id)" id="searchCategory">Search By Category</button>
</div>
<div id="deleteAll"></div>
</div>
</div>
<!-- all form inputs end -->
<!-- table desplay data -->
<table class="style-table">
<thead>
<tr>
<th>index</th>
<th>title</th>
<th>price</th>
<th>taxes</th>
<th>ads</th>
<th>discout</th>
<th>total</th>
<th>category</th>
<th>update</th>
<th>delete</th>
</tr>
</thead>
<tbody id="demo">
</tbody>
</table>
<!-- table desplay data end -->
</div>
<!-- all content end -->
<script src="main.js"></script>
</body>
</html>