github.com/hspak/nomad@v0.7.2-0.20180309000617-bc4ae22a39a5/ui/app/templates/components/job-deployment/task-groups.hbs (about)

     1  <div data-test-deployment-task-groups 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        data-test-deployment-task-groups
     8        source=deployment.taskGroupSummaries
     9        class="task-groups" as |t|}}
    10        {{#t.head}}
    11          <th>Name</th>
    12          <th>Needs Promotion?</th>
    13          <th>Auto Revert?</th>
    14          <th>Canaries</th>
    15          <th>Allocs</th>
    16          <th>Healthy Allocs</th>
    17          <th>Unhealthy Allocs</th>
    18        {{/t.head}}
    19        {{#t.body as |row|}}
    20          <tr data-test-deployment-task-group>
    21            <td data-test-deployment-task-group-name>{{row.model.name}}</td>
    22            <td data-test-deployment-task-group-promotion>
    23              {{#if row.model.requiresPromotion}}
    24                {{if row.model.promoted "No" "Yes"}}
    25              {{else}}
    26                N/A
    27              {{/if}}
    28            </td>
    29            <td data-test-deployment-task-group-auto-revert>{{if row.model.autoRevert "Yes" "No"}}</td>
    30            <td data-test-deployment-task-group-canaries>{{or row.model.placedCanaries 0}} / {{row.model.desiredCanaries}}</td>
    31            <td data-test-deployment-task-group-allocs>{{row.model.placedAllocs}} / {{row.model.desiredTotal}}</td>
    32            <td data-test-deployment-task-group-healthy>{{row.model.healthyAllocs}}</td>
    33            <td data-test-deployment-task-group-unhealthy>{{row.model.unhealthyAllocs}}</td>
    34          </tr>
    35        {{/t.body}}
    36      {{/list-table}}
    37    </div>
    38  </div>
    39