github.com/hernad/nomad@v1.6.112/ui/app/templates/components/job-client-status-row.hbs (about) 1 {{! 2 Copyright (c) HashiCorp, Inc. 3 SPDX-License-Identifier: MPL-2.0 4 ~}} 5 6 <tr data-test-client={{this.row.node.id}} class="job-client-status-row is-interactive" {{on "click" (fn @onClick this.row.node)}}> 7 <td data-test-short-id> 8 <LinkTo @route="allocations.allocation" @model={{this.allocation}} class="is-primary"> 9 {{this.row.node.shortId}} 10 </LinkTo> 11 </td> 12 <td data-test-name class="is-200px is-truncatable"> 13 {{this.row.node.name}} 14 </td> 15 <td data-test-create-time> 16 {{#if this.row.createTime}} 17 <span class="tooltip" role="tooltip" aria-label="{{format-month-ts this.row.createTime}}"> 18 {{moment-from-now this.row.createTime}} 19 </span> 20 {{else}} 21 - 22 {{/if}} 23 </td> 24 <td data-test-modify-time> 25 {{#if this.row.modifyTime}} 26 <span class="tooltip" role="tooltip" aria-label="{{format-month-ts this.row.modifyTime}}"> 27 {{moment-from-now this.row.modifyTime}} 28 </span> 29 {{else}} 30 - 31 {{/if}} 32 </td> 33 <td data-test-job-status class="is-one-line"> 34 <span class="color-swatch {{this.jobStatusClass}}"></span> 35 {{this.humanizedJobStatus}} 36 </td> 37 <td data-test-job-alloc-summary class="allocation-summary is-one-line"> 38 {{#if this.shouldDisplayAllocationSummary}} 39 <div class="inline-chart"> 40 <AllocationStatusBar @allocationContainer={{this.allocationContainer}} @isNarrow={{true}} /> 41 </div> 42 {{else}} 43 <div class="is-faded">{{this.allocationSummaryPlaceholder}}</div> 44 {{/if}} 45 </td> 46 </tr>