From 259b1c8bbb3617c65a9ed073ed340acade32c543 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 19 May 2020 15:37:44 +0200 Subject: [locations] Show colored bars for used/idle/offline in overview --- modules-available/locations/templates/locations.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'modules-available/locations/templates/locations.html') diff --git a/modules-available/locations/templates/locations.html b/modules-available/locations/templates/locations.html index e2224bc0..7adfe2fc 100644 --- a/modules-available/locations/templates/locations.html +++ b/modules-available/locations/templates/locations.html @@ -71,10 +71,10 @@ {{/havestatistics}} - - {{#havestatistics}} - {{clientLoad}} - {{/havestatistics}} + + {{#clientCount}} + {{clientLoad}} % + {{/clientCount}} {{#havebaseconfig}} @@ -125,8 +125,10 @@ - - {{unassignedLoad}} + + {{#unassignedCount}} + {{unassignedLoad}} % + {{/unassignedCount}} {{#unassignedOverrides}} -- cgit v1.2.3-55-g7522