-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
95 lines (80 loc) · 3.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="index.css">
</head>
<body>
<nav class="navbar-dark p-3 d-flex justify-content-between px-5 p-5 bg-secondary-subtle">
<!-- getall -->
<div class="show_all_div">
<div class="btn btn-primary" id="showall_id">show all items</div>
</div>
<!-- get by id -->
<div class="serach_item_div">
<form>
<input type="text" id="getspecific_ids">
<button class="btn btn-success" id="serach_button_id">
search
<i class="bi bi-search ms-3"></i>
</button>
</form>
</div>
</nav>
<!-- notificatoin section -->
<div class="notification_div" id="notification_outerdiv">
<div class="notification_innerdiv" id="notification_innerdiv_id"></div>
</div>
<!-- post data -->
<section class="section1 m-5">
<div class="first_section_main d-flex justify-content-center">
<div class="first_section_left col-8 ms-3 card-body">
<form method="DELETE" onsubmit="" style="display: flex; gap:10px;">
<input type="text" class="inputs" id="name_id" placeholder="name"/>
<input type="text" class="inputs" id="discription_id" placeholder="discription" />
<input type="number" class="inputs" id="price_id" placeholder="price"/>
<button id="postdata_id" type="button">add</button>
</form>
<div id="name-label-id" class="text-danger"></div>
</div>
<div class="first_section_right col-4 card-body">
<div id="get_specific_element_id">
<table id="second-table" class="table">
<thead>
<tr>
<th scope="col">name</th>
<th scope="col">discription</th>
<th scope="col">price</th>
</tr>
</thead>
<tbody id="specific_id_tbody">
</tbody>
</table>
</div>
</div>
</div>
</section>
<section class="col-6 m-5">
<div>
<table class="table" id="table_id">
<thead>
<tr id="specific_element">
<th scope="col">id</th>
<th scope="col">Name</th>
<th scope="col">discription</th>
<th scope="col">price</th>
</tr>
</thead>
<tbody id="tablebody_ids">
</tbody>
</table>
</div>
</section>
<script src="index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>