-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
90 lines (73 loc) · 2.95 KB
/
home.html
File metadata and controls
90 lines (73 loc) · 2.95 KB
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
<!DOCTYPE html>
<html lang="en">
<head onload="test()">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<meta charset="UTF-8">
<link rel="stylesheet" href="main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<title>API DATA</title>
</head>
<body onload="allData()">
<div id="container">
<br><br>
<center><h1>All User Data</h1></center><br><br>
<div id="allList">
<table class="table">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Title</th>
<th scope="col">Body</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody id="all">
<td><span class="material-symbols-outlined">
delete
</span></td>
</tbody>
</table>
</div>
<div id="insert" class="insert">
<h2>Update User Data</h2>
<form id="myForm" enctype="multipart/form-data">
<div class="mb-3">
<label for="name" class="form-label">Title <span class="text-danger">*</span></label>
<input type="text" name="name" id="title" class="form-control" placeholder="Enter Title" />
</div>
<div class="mb-3">
<label for="email" class="form-label">Body <span class="text-danger">*</span></label>
<input type="email" name="email" id="email" class="form-control"
placeholder="Enter body Message" />
</div>
<button id="InsertDa" type="button" onclick="insertData()" class="btn btn-primary mb-3 bg-success">Insert Data</button>
</form>
</div>
<div id="delete" class="delete">
<h2>Delete User Data</h2>
<div class="mb-3">
<label for="name" class="form-label">ID <span class="text-danger">*</span></label>
<input type="text" placeholder="Enter id To Delete Data" id="id1" class="form-control">
</div>
<button id="delDa" type="button" onclick="deleteData()" class="btn btn-primary mb-3 bg-warning">Delete Data</button>
</div>
<nav aria-label="..." class="nav">
<ul class="pagination">
<li class="page-item disabled">
<a class="page-link" href="#" tabindex="-1">Previous</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item active">
<a class="page-link" href="#">2 <span class="sr-only">(current)</span></a>
</li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#">Next</a>
</li>
</ul>
</nav>
</div>
<script src="script.js"></script>
</body>
</html>