github.com/emate/nomad@v0.8.2-wo-binpacking/ui/app/templates/components/job-page/parts/evaluations.hbs (about)

     1  <div class="boxed-section-head">
     2    Evaluations
     3  </div>
     4  <div class="boxed-section-body {{if sortedEvaluations.length "is-full-bleed"}} evaluations">
     5    {{#if sortedEvaluations.length}}
     6      {{#list-table source=sortedEvaluations as |t|}}
     7        {{#t.head}}
     8          <th>ID</th>
     9          <th>Priority</th>
    10          <th>Triggered By</th>
    11          <th>Status</th>
    12          <th>Placement Failures</th>
    13        {{/t.head}}
    14        {{#t.body as |row|}}
    15          <tr data-test-evaluation="{{row.model.shortId}}">
    16            <td data-test-id>{{row.model.shortId}}</td>
    17            <td data-test-priority>{{row.model.priority}}</td>
    18            <td data-test-triggered-by>{{row.model.triggeredBy}}</td>
    19            <td data-test-status>{{row.model.status}}</td>
    20            <td data-test-blocked>
    21              {{#if (eq row.model.status "blocked")}}
    22                N/A - In Progress
    23              {{else if row.model.hasPlacementFailures}}
    24                True
    25              {{else}}
    26                False
    27              {{/if}}
    28            </td>
    29          </tr>
    30        {{/t.body}}
    31      {{/list-table}}
    32    {{else}}
    33      <div data-test-empty-evaluations-list class="empty-message">
    34        <h3 data-test-empty-evaluations-list-headline class="empty-message-headline">No Evaluations</h3>
    35        <p class="empty-message-body">This is most likely due to garbage collection.</p>
    36      </div>
    37    {{/if}}
    38  </div>