-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (53 loc) · 2.81 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
<!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>M2 Lab 2</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<style>
h1 {margin-bottom: 30px;}
label {font-weight: bold;}
input, select {margin-bottom: 10px;}
form {width: 30%; padding: 20px;}
</style>
</head>
<body class="mt-2 ml-4">
<h1>Employee Management System</h1>
<form id="empForm" class="border border-2 border-warning bg-secondary bg-opacity-25">
<div class="mb-3">
<label for="id" class="form-label">8-Digit Employee ID</label>
<input type="text" class="form-control w-50 border border-1 border-warning" id="id" maxlength="8" required>
</div>
<div class="mb-3">
<label for="name" class="form-label">Full Name</label>
<input type="text" id="name" class="form-control w-50 border border-1 border-warning" maxlength="none" required>
</div>
<div class="mb-3">
<label for="ext" class="form-label">4-Digit Extension</label>
<input type="text" class="form-control w-50 border border-1 border-warning" id="ext" maxlength="4" required>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control w-50 border border-1 border-warning" id="email" maxlength="none" required>
</div>
<div class="mb-3">
<label for="Department" class="form-label">Department</label>
<select class="form-select w-50 border border-1 border-warning" id="department" aria-label="Department" required>
<option value="Administrative">Administrative</option>
<option value="Engineering">Engineering</option>
<option value="Executive">Executive</option>
<option value="Marketing">Marketing</option>
<option value="Quality Assurance">Quality Assurance</option>
<option value="Sales">Sales</option>
</select>
</div>
<div class="mb-3">
<input class="btn btn-primary" type="submit" id="submit" value="Add Employee">
</div>
</form>
</body>
</html>