github.com/blixtra/nomad@v0.7.2-0.20171221000451-da9a1d7bb050/ui/app/templates/components/job-deployment/task-groups.hbs (about)

     1  <div class="boxed-section">
     2    <div class="boxed-section-head">
     3      Task Groups
     4    </div>
     5    <div class="boxed-section-body is-full-bleed">
     6      {{#list-table
     7        source=deployment.taskGroupSummaries
     8        class="task-groups" as |t|}}
     9        {{#t.head}}
    10          <th>Name</th>
    11          <th>Needs Promotion?</th>
    12          <th>Auto Revert?</th>
    13          <th>Canaries</th>
    14          <th>Allocs</th>
    15          <th>Healthy Allocs</th>
    16          <th>Unhealthy Allocs</th>
    17        {{/t.head}}
    18        {{#t.body as |row|}}
    19          <tr>
    20            <td>{{row.model.name}}</td>
    21            <td>
    22              {{#if row.model.requiresPromotion}}
    23                {{if row.model.promoted "No" "Yes"}}
    24              {{else}}
    25                N/A
    26              {{/if}}
    27            </td>
    28            <td>{{if row.model.autoRevert "Yes" "No"}}</td>
    29            <td>{{or row.model.placedCanaries 0}} / {{row.model.desiredCanaries}}</td>
    30            <td>{{row.model.placedAllocs}} / {{row.model.desiredTotal}}</td>
    31            <td>{{row.model.healthyAllocs}}</td>
    32            <td>{{row.model.unhealthyAllocs}}</td>
    33          </tr>
    34        {{/t.body}}
    35      {{/list-table}}
    36    </div>
    37  </div>
    38