From 5dae8b1f9e49de8ce519880c63ca9db77c9cb94a Mon Sep 17 00:00:00 2001 From: Henry Camacho Date: Sat, 18 Mar 2017 14:45:12 -0500 Subject: [PATCH] Updated to support domain counts --- html/admin/js/app.js | 1 + html/admin/partials/servers.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/html/admin/js/app.js b/html/admin/js/app.js index 1a0e819..f0e1019 100644 --- a/html/admin/js/app.js +++ b/html/admin/js/app.js @@ -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' diff --git a/html/admin/partials/servers.html b/html/admin/partials/servers.html index 4da684b..2f7808c 100644 --- a/html/admin/partials/servers.html +++ b/html/admin/partials/servers.html @@ -37,6 +37,7 @@ {{ s.source_address }}
+ domains({{ s.domains.length}})
   {{ d.domain_name }}
@@ -45,8 +46,9 @@ {{ s.bytes_in | bytes }}/{{ s.bytes_out | bytes }}
+ domains({{ s.domains.length}})
- {{ d.bytes_in | bytes }}/{{ d.bytes_out | bytes }} +    {{ d.bytes_in | bytes }}/{{ d.bytes_out | bytes }}