Updated to support domain counts
This commit is contained in:
parent
860580c7c8
commit
5dae8b1f9e
|
@ -66,6 +66,7 @@ app.controller('serverController', function ($scope, $http) {
|
|||
$scope.servers = [];
|
||||
$scope.servers_search = "";
|
||||
$scope.servers_trigger_details = [];
|
||||
$scope.filtered
|
||||
|
||||
var api = '/api/com.daplie.rvpn/servers'
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
<td>
|
||||
{{ s.source_address }}
|
||||
<div ng-hide="checkDetail(s.server_id)">
|
||||
domains({{ s.domains.length}})
|
||||
<div ng-repeat="d in s.domains | orderBy:'domain_name'">
|
||||
   {{ d.domain_name }}
|
||||
</div>
|
||||
|
@ -45,8 +46,9 @@
|
|||
<td>
|
||||
{{ s.bytes_in | bytes }}/{{ s.bytes_out | bytes }}
|
||||
<div ng-hide="checkDetail(s.server_id)">
|
||||
domains({{ s.domains.length}})
|
||||
<div ng-repeat="d in s.domains | orderBy:'domain_name'">
|
||||
{{ d.bytes_in | bytes }}/{{ d.bytes_out | bytes }}
|
||||
   {{ d.bytes_in | bytes }}/{{ d.bytes_out | bytes }}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue