From 1ee0014fcf0ec56af6af5937258d065ba3ee1cc9 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 13 Sep 2016 19:42:09 +0200 Subject: [locations] Show percent of occupied machines per location --- modules-available/locations/templates/locations.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 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 99fb59fd..9dcc6db1 100644 --- a/modules-available/locations/templates/locations.html +++ b/modules-available/locations/templates/locations.html @@ -3,12 +3,15 @@ {{lang_thisListBySubnet}}

{{lang_locationsMainHeading}}

- +
+ @@ -32,6 +35,11 @@ {{/havestatistics}} + + @@ -129,7 +140,7 @@ function slxOpenLocation(e, lid) { } return; } - var td = $('').attr('id', 'location-details-' + lid); tr.append(td); $(e).closest('tr').addClass('active slx-bold').after(tr); -- cgit v1.2.3-55-g7522
{{lang_locationName}} {{#havestatistics}}{{lang_machineCount}}{{/havestatistics}} + {{#havestatistics}}{{lang_machineLoad}}{{/havestatistics}} + {{#havebaseconfig}}{{lang_editConfigVariables}}{{/havebaseconfig}} + {{#havestatistics}} + {{clientLoad}} + {{/havestatistics}} + {{#havebaseconfig}}
@@ -63,6 +71,9 @@
+ {{clientLoad}} + {{defaultConfig}}
').attr('colspan', '4').css('padding', '0px 0px 12px'); + var td = $('').attr('colspan', '5').css('padding', '0px 0px 12px'); var tr = $('