summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/templates/locations.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locations/templates/locations.html')
-rw-r--r--modules-available/locations/templates/locations.html14
1 files changed, 8 insertions, 6 deletions
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 @@
</span>
{{/havestatistics}}
</td>
- <td class="text-nowrap" align="right">
- {{#havestatistics}}
- {{clientLoad}}
- {{/havestatistics}}
+ <td class="text-nowrap load-col" {{#clientCount}} style="background:linear-gradient(to right, #f97, #f97 {{clientLoad}}%, #6fa {{clientLoad}}%, #6fa {{clientIdle}}%, #eee {{clientIdle}}%)"{{/clientCount}}>
+ {{#clientCount}}
+ {{clientLoad}}&thinsp;%
+ {{/clientCount}}
</td>
<td class="text-nowrap {{overriddenClass}}">
{{#havebaseconfig}}
@@ -125,8 +125,10 @@
</a>
<span style="display:inline-block;width:5ex"></span>
</td>
- <td class="text-nowrap" align="right">
- {{unassignedLoad}}
+ <td class="text-nowrap load-col"{{#unassignedCount}} style="background:linear-gradient(to right, #f97, #f97 {{unassignedLoad}}%, #6fa {{unassignedLoad}}%, #6fa {{unassignedIdle}}%, #eee {{unassignedIdle}}%)"{{/unassignedCount}}>
+ {{#unassignedCount}}
+ {{unassignedLoad}}&thinsp;%
+ {{/unassignedCount}}
</td>
<td>
{{#unassignedOverrides}}