-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (105 loc) · 3.46 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!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">
<title>Employee Information System</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<fieldset>
<legend>Employee's Information System Version 1.0</legend>
<div class="flex-container">
<div class="flex-child">
<form onsubmit="event.preventDefault();" id="emp-form">
<table>
<tr>
<td>
<label for="id">Employee Number</label>
</td>
<td>
<input type="number" id="emp_id" required>
</td>
<tr>
<td>
<label for="name">Employee Name</label>
</td>
<td>
<input type="text" id="emp_name" required>
</td>
</tr>
<tr>
<td>
<label for="city">City Address</label>
</td>
<td>
<input type="text" id="emp_city" required>
</td>
</tr>
<tr>
<td>
<label for="dob">Date of Birth</label>
</td>
<td>
<input type="date" id="emp_dob" required>
</td>
</tr>
<tr>
<td>
<label for="tele">Telephone Number</label>
</td>
<td>
<input type="tel" id="emp_tel" required>
</td>
</tr>
<tr>
<td>
<label for="dept">Department</label>
</td>
<td>
<input type="text" id="emp_dept" required>
</td>
</tr>
</table>
</form>
</div>
<div class="flex-child">
<div class="container">
<button type="submit" name="submit" class="registerbtn" id="add" onclick="addEmployee()">ADD</button>
<button id="delete" onclick="deleteEmployee()">DELETE</button>
<button id="update" onclick="updateEmployee()">UPDATE</button>
<button id="search" onclick="searchEmployee()">SEARCH</button>
<button id="about" onclick="aboutEmployee()">ABOUT</button>
<button id="quit">QUIT</button>
</div>
</div>
</div>
<br>
<div class="row">
<button id="first">Move First</button>
<button id="next">Move Next</button>
<button id="prev">Move Previous</button>
<button id="last">Move Last</button>
</div>
</fieldset>
<br><br>
<div class="output">
<table class="u-full-width" id="empTable">
<thead>
<tr>
<th>Emp Id</th>
<th>Emp Name</th>
<th>Emp City</th>
<th>Emp DOB</th>
<th>Emp Telephone</th>
<th>Emp Department</th>
</tr>
</thead>
<tbody id="employee-list">
</tbody>
</table>
</div>
<script src="app.js"></script>
</body>
</html>