github.com/hernad/nomad@v1.6.112/ui/app/templates/components/client-node-row.hbs (about) 1 {{! 2 Copyright (c) HashiCorp, Inc. 3 SPDX-License-Identifier: MPL-2.0 4 ~}} 5 6 <td data-test-icon class="is-narrow"> 7 {{#if this.node.unhealthyDrivers.length}} 8 <span class="tooltip text-center" role="tooltip" aria-label="Client has unhealthy drivers"> 9 {{x-icon "alert-triangle" class="is-warning"}} 10 </span> 11 {{/if}} 12 </td> 13 <td data-test-client-id><LinkTo @route="clients.client" @model={{this.node.id}} class="is-primary">{{this.node.shortId}}</LinkTo></td> 14 <td data-test-client-name class="is-200px is-truncatable" title="{{this.node.name}}">{{this.node.name}}</td> 15 <td data-test-client-composite-status> 16 <span class="tooltip" aria-label="{{this.node.status}} / {{if this.node.isDraining "draining" "not draining"}} / {{if this.node.isEligible "eligible" "not eligible"}}"> 17 <span class="{{this.compositeStatusClass}}">{{this.node.compositeStatus}}</span> 18 </span> 19 </td> 20 <td data-test-client-address class="is-200px is-truncatable">{{this.node.httpAddr}}</td> 21 <td data-test-client-node-pool title="{{this.node.nodePool}}"> 22 {{#if this.node.nodePool}}{{this.node.nodePool}}{{else}}-{{/if}} 23 </td> 24 <td data-test-client-datacenter>{{this.node.datacenter}}</td> 25 <td data-test-client-version>{{this.node.version}}</td> 26 <td data-test-client-volumes>{{if this.node.hostVolumes.length this.node.hostVolumes.length}}</td> 27 <td data-test-client-allocations> 28 {{#if this.node.allocations.isPending}} 29 ... 30 {{else}} 31 {{this.node.runningAllocations.length}} 32 {{/if}} 33 </td>