-
Notifications
You must be signed in to change notification settings - Fork 0
/
employees-list.html
221 lines (203 loc) · 9.68 KB
/
employees-list.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-CuOF+2SnTUfTwSZjCXf01h7uYhfOBuxIhGKPbfEJ3+FqH/s6cIFN9bGr1HmAg4fQ" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Employee-List</title>
</head>
<body>
<!--NavBar-->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand" href="dash.html">Hi!, Guys</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="employees-list.html">Employess</a>
</li>
<li class="nav-item">
<a class="nav-link" href="job-list.html">Jobs</a>
</li>
</ul>
<form class="d-flex">
<div class="input-group">
<input type="search" class="form-control form-control-sm" placeholder="Search..." aria-label="Recipient's username" aria-describedby="button-addon2">
<button class="btn btn-sm btn-success" type="submit" id="button-addon2"><i class="fa fa-search"></i></button>
</div>
</form>
<a href="#" class="btn btn-sm btn-warning ml-3"> Log Out</a>
</div>
</div>
</nav>
<!--NavBar-->
<!--DashBoard Content-->
<div class="container-fluid">
<div class="row mt-3">
<div class="col-lg-3 col-md-3">
<div class="list-group-item active">Employee Data</div>
<a href="#" class="list-group-item" data-toggle="modal" data-target="#add_employee">Add Employee</a>
<a href="employees-list.html" class="list-group-item">View All Employee</a>
</div>
<div class="col-lg-9 col-md-9">
<table class="table table-striped table-hover bg-light">
<tr class="table-dark">
<th>ID</th>
<th>Name</th>
<th>Email ID</th>
<th>Details</th>
<th>Edit</th>
<th>Delete</th>
</tr>
<tr>
<td>1</td>
<td>Abhishek Bangar</td>
<td>[email protected]</td>
<td><a href="#" data-toggle="modal" data-target="#employeedetail1" class="btn btn-sm btn-block btn-info">Details</a></td>
<td><a href="#" data-toggle="modal" data-target="#employee_edit_detail1" class="btn btn-sm btn-block btn-warning">Edit</a></td>
<td><a href="#" class="btn btn-sm btn-block btn-danger" onclick="confirm('Are you sure you want to delete \'Abhishek Bangar\' ?')">Delete</a></td>
</tr>
<tr>
<td>2</td>
<td>Abhishek Bangar</td>
<td>[email protected]</td>
<td><a href="#" data-toggle="modal" data-target="#employeedetail1" class="btn btn-sm btn-block btn-info">Details</a></td>
<td><a href="#" data-toggle="modal" data-target="#employee_edit_detail1" class="btn btn-sm btn-block btn-warning">Edit</a></td>
<td><a href="#" class="btn btn-sm btn-block btn-danger">Delete</a></td>
</tr>
<tr>
<td>3</td>
<td>Abhishek Bangar</td>
<td>[email protected]</td>
<td><a href="#" data-toggle="modal" data-target="#employeedetail1" class="btn btn-sm btn-block btn-info">Details</a></td>
<td><a href="#" data-toggle="modal" data-target="#employee_edit_detail1" class="btn btn-sm btn-block btn-warning">Edit</a></td>
<td><a href="#" class="btn btn-sm btn-block btn-danger">Delete</a></td>
</tr>
</table>
</div>
</div>
<!--DashBoard Content-->
<!-- Button trigger modal -->
<!--Add Employee Modal -->
<div class="modal fade" id="add_employee" tabindex="-1" aria-labelledby="add_employeeLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="add_employeeLabel">Add Employee Details</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form>
<div class="mb-3">
<input type="date" class="form-control form-control-sm" required>
</div>
<div class="mb-3">
<input type="text" class="form-control form-control-sm" placeholder="Employee Name" required>
</div>
<div class="mb-3">
<input type="email" class="form-control form-control-sm" placeholder="Employee Email ID" required>
</div>
<div class="mb-3">
<input type="tel" class="form-control form-control-sm" placeholder="Employee Phone Number" required>
</div>
<div class="mb-3">
<select class="form-control form-control-sm">
<option value="Graphic Designer">1. Graphic Designer</option>
<option value="Web Designer">2. Web Designer</option>
<option value="Web Developer">3. Web Developer</option>
</select>
</div>
<div class="mb-3">
<button type="submit" class="btn btn-sm btn-block btn-success">Add New Employee</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!--Details Model-->
<div class="modal fade" id="employeedetail1" tabindex="-1" aria-labelledby="add_employeeLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="add_employeeLabel">Employee Details</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<table class="table table-bordered">
<tr>
<th>ID</th>
<td>1</td>
</tr>
<tr>
<th>Joining Date</th>
<td>29 July 2020</td>
</tr>
<tr>
<th>Name</th>
<td>Abhishek Bangar</td>
</tr>
<tr>
<th>Email ID</th>
<td>[email protected]</td>
</tr>
<tr>
<th>Phone Number</th>
<td>+919834928840</td>
</tr>
<tr>
<th>Job</th>
<td>Graphic Designer</td>
</tr>
</table>
</div>
</div>
</div>
<!--Edit Employee Data-->
<div class="modal fade" id="employee_edit_detail1" tabindex="-1" aria-labelledby="add_employeeLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="add_employeeLabel">Add Employee Details</h5>
<button type="button" class="btn-close" data-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form>
<div class="mb-3">
<input type="text" value="23-12-2020" class="form-control form-control-sm" required>
</div>
<div class="mb-3">
<input type="text" class="form-control form-control-sm" value="Abhishek Bangar" placeholder="Employee Name" required>
</div>
<div class="mb-3">
<input type="email" class="form-control form-control-sm" value="[email protected]" placeholder="Employee Email ID" required>
</div>
<div class="mb-3">
<input type="tel" class="form-control form-control-sm" value="+919834928840" placeholder="Employee Phone Number" required>
</div>
<div class="mb-3">
<input type="tel" class="form-control form-control-sm" value="Graphic Designer" placeholder="Job" required>
</div>
<div class="mb-3">
<button type="submit" class="btn btn-sm btn-block btn-success">Confirm</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper.js-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-popRpmFF9JQgExhfw5tZT4I9/CI5e2QcuUZPOVXb1m7qUmeR2b50u+YFEYe1wgzy" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper.js and Bootstrap JS
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-t6I8D5dJmMXjCsRLhSzCltuhNZg6P10kE0m0nAncLUjH6GeYLhRU1zfLoW3QNQDF" crossorigin="anonymous"></script>
-->
</body>
</html>