/
machine.list.html
44 lines (43 loc) · 1.83 KB
/
machine.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
<pagination ng-show="machinecount > machinesPerPage"
previous-text="{{ 'Previous'|translate }}"
next-text="{{ 'Next'|translate }}"
last-text="{{ 'Last'|translate }}"
first-text="{{ 'First'|translate }}"
total-items="machinecount" ng-model="params.page"
items-per-page="{{ machinesPerPage }}"
max-size="5"
boundary-links="true" ng-change="pageChanged()"></pagination>
<div class="table-responsive">
<table class="table table-bordered table-striped" id="tablemachinelist">
<thead>
<tr>
<th class="pifilter"><translate>hostname</translate>
<pi-filter ng-model="params.hostnameFilter"
ng-change="_getMachines()"></pi-filter>
</th>
<th class="pifilter"><translate>IP Address</translate>
<pi-filter ng-model="params.ipFilter"
ng-change="_getMachines()"></pi-filter>
</th>
<th class="pifilter"><translate>Id</translate>
<pi-filter ng-model="params.idFilter"
ng-change="_getMachines()"></pi-filter>
</th>
<th class="pifilter"><translate>Machine Resolver</translate>
<pi-filter ng-model="params.resolverFilter"
ng-change="_getMachines()"></pi-filter>
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="machine in machinelist">
<td><a ui-sref="machine.details({machineid:machine.id,
machineresolver:machine.resolver_name})">
{{ machine.hostname }}</a></td>
<td>{{ machine.ip }}</td>
<td>{{ machine.id }}</td>
<td>{{ machine.resolver_name }}</td>
</tr>
</tbody>
</table>
</div>