-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdirectory.html
48 lines (40 loc) · 1.55 KB
/
directory.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
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Employees</h3>
</div>
<div class="panel-body">
<div class="tableFilters">
<input type="text" placeholder="search" ng-model="search.name" class="form-control pull-left" style="width:160px;" />
<select ng-model="search.series" class="form-control pull-left" style="width:130px;">
<option value="">Old/New</option>
<option value="Old">Old</option>
<option value="New">New</option>
</select>
</div>
<div class="pull-right tableFilters">
<button class="btn btn-success"><span class="glyphicon glyphicon-print"></span> Print</button>
<button class="btn btn-success"><span class="glyphicon glyphicon-user"></span> Add Employee</button>
</div>
<div class="clearfix"></div>
<div>
<table angular-table class="table" table-items-per-page="10" table-items="filteredEmployees" table-sort-field="lastName" table-pagination="1" table-empty-message="No Employees Found">
<thead>
<tr>
<th table-sort="id">Id</th>
<th table-sort="firstName">First Name</th>
<th table-sort="lastName">Last Name</th>
<th>Series</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="employee in filteredEmployees = (employees | filter:filterEmployees) | orderBy:sortField | skip:currentPage:itemsPerPage | limitTo:itemsPerPage">
<td>{{employee.id}}</td>
<td>{{employee.firstName}}</td>
<td>{{employee.lastName}}</td>
<td>{{employee.series}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>