-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrud.html
67 lines (58 loc) · 2.17 KB
/
crud.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Css_Page.css">
<title>CRUD-Project</title>
</head>
<body>
<div class="crud">
<div class="head">
<h1>Crud</h1>
<p>Product Management System</p>
</div>
<div class="inputs">
<input type="text" id="title" placeholder="title">
<div class="price">
<input onkeyup="getTotal()" type="number" id="price" placeholder="price">
<input onkeyup="getTotal()" type="number" id="taxes" placeholder="taxes">
<input onkeyup="getTotal()" type="number" id="ads" placeholder="ads">
<input onkeyup="getTotal()" type="number" id="discount" placeholder="discount">
<small id="total"></small>
</div>
<input type="number" id="count" placeholder="count">
<input type="text" id="category" placeholder="category">
<button id="submit">Create</button>
</div>
<div class="outputs">
<div class="searchBlock">
<input onkeyup="searchData(this.value)" type="text" id="search" placeholder="Search">
<div class="btnSearch">
<button onclick="getSearchMood(this.id)" id="searchTitle">Search By Title</button>
<button onclick="getSearchMood(this.id)" id="searchCategory">Search By Categoty</button>
</div>
</div>
<div id="deleteAll">
</div>
<table>
<tr>
<th>Id</th>
<th>Title</th>
<th>Price</th>
<th>Taxes</th>
<th>Ads</th>
<th>Discount</th>
<th>Total</th>
<th>Category</th>
<th>Update</th>
<th>Delete</th>
</tr>
<tbody id="tbody">
</tbody>
</table>
</div>
</div>
<script src="main.js"></script>
</body>
</html>