-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (62 loc) · 2.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Employee Management System</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Employee Management System</h1>
</header>
<nav>
<ul>
<li><a href="#add-employee">Add Employee</a></li>
<li><a href="#view-employees">View Employees</a></li>
<li><a href="#department-summary">Department Summary</a></li>
</ul>
</nav>
<section id="add-employee" class="section-container">
<h2>Add Employee</h2>
<form id="employee-form">
<label>Employee ID:</label>
<input type="text" id="emp-id" required>
<label>Name:</label>
<input type="text" id="name" required>
<label>Department:</label>
<input type="text" id="department" required>
<label>Salary:</label>
<input type="number" id="salary" required>
<label>Performance Review:</label>
<input type="text" id="performance">
<button type="submit" class="btn">Submit</button>
</form>
</section>
<section id="view-employees" class="section-container">
<h2>Employees List</h2>
<input type="text" id="search" placeholder="Search by ID, Name, or Department" oninput="searchEmployees()">
<table>
<thead>
<tr>
<th>Employee ID</th>
<th>Name</th>
<th>Department</th>
<th>Salary</th>
<th>Performance</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="employee-table-body"></tbody>
</table>
</section>
<section id="department-summary" class="section-container">
<h2>Department Summary</h2>
<div id="summary-report"></div>
</section>
<footer>
<marquee behavior="alternate"> <p>© Employee Management System.(Project by Om Koli)</p></marquee>
</footer>
<script src="script.js"></script>
</body>
</html>