From e21a2a03b23d0426e3e1d6fe531b9b4b2cfa8c2c Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Sat, 10 Oct 2020 17:10:12 -0700 Subject: [PATCH] More information about clients in the info panel --- ui/app/templates/topology.hbs | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/ui/app/templates/topology.hbs b/ui/app/templates/topology.hbs index e7e618f3a..4d562e0ed 100644 --- a/ui/app/templates/topology.hbs +++ b/ui/app/templates/topology.hbs @@ -29,21 +29,35 @@
{{#if this.activeNode}} + {{#let this.activeNode.node as |node|}}

{{this.activeNode.allocations.length}} Allocations

Client: - - {{this.activeNode.node.shortId}} + + {{node.shortId}}

-

Name: {{this.activeNode.node.name}}

-

Address: {{this.activeNode.node.httpAddr}}

+

Name: {{node.name}}

+

Address: {{node.httpAddr}}

+

Status: {{node.status}}

+
+
+

+ Draining? {{if node.isDraining "Yes" "No"}} +

+

+ Eligible? {{if node.isEligible "Yes" "No"}} +

-

{{this.nodeUtilization.totalMemoryFormatted}} {{this.nodeUtilization.totalMemoryUnits}} of memory

+

+ {{this.nodeUtilization.totalMemoryFormatted}} + {{this.nodeUtilization.totalMemoryUnits}} + of memory +

@@ -84,6 +98,7 @@ {{this.nodeUtilization.totalReservedCPU}} Mhz / {{this.nodeUtilization.totalCPU}} Mhz reserved
+ {{/let}} {{else if this.activeAllocation}}