-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (76 loc) · 3.37 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
<!DOCTYPE html>
<html lang="en">
<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">
<link rel="stylesheet" href="./css/style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<title>Employee Crud App</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-12">
<h1 class="text-center display-4 py-2 text-white">CRUD</h1>
<hr>
</div>
<div class="col-sm-12">
<form action="" class="row p-3 my-3" id="formEmp">
<div class="col-sm-12">
<h2 class="text-center text-white">Add New Employee</h2>
</div>
<div class="col-sm-4">
<div class="form-group">
<input type="text" name="" id="name" class="form-control" required placeholder="Name..">
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<input type="text" name="" id="email" class="form-control" required placeholder="Email..">
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<input type="text" name="" id="mobile" class="form-control" required placeholder="Mobile..">
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<input type="submit" name="" id="submit"
class="form-control btn btn-success mt-3 btn-block" required value="Store This Data">
<input type="hidden" name="" id='contIdEdit'>
</div>
</div>
</form>
</div>
<div class="col-sm-12">
<h1 class="text-center display-4 py-2 text-white">All Employees</h1>
<table id="example" class="table table-striped table-bordered">
<thead>
<tr role="row">
<th>Name</th>
<th>Email</th>
<th>Mobile</th>
<th>Action</th>
</tr>
</thead>
<tbody class="text-white">
<!-- <tr class="odd" role='row'>
<td>Reham Hesham </td>
<td>[email protected]</td>
<td>01007217557</td>
<td>
<button class="btn btn-info edit">Edit</button>
<button class="btn btn-danger delete">Delete</button>
</td>
</tr> -->
</tbody>
</table>
</div>
</div>
</div>
<script src="./js/index.js"></script>
</body>
</html>