github.com/anuvu/nomad@v0.8.7-atom1/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 {{#if inProgress}} 19 <th>Progress Deadline</th> 20 {{/if}} 21 {{/t.head}} 22 {{#t.body as |row|}} 23 <tr data-test-deployment-task-group> 24 <td data-test-deployment-task-group-name>{{row.model.name}}</td> 25 <td data-test-deployment-task-group-promotion> 26 {{#if row.model.requiresPromotion}} 27 {{if row.model.promoted "No" "Yes"}} 28 {{else}} 29 N/A 30 {{/if}} 31 </td> 32 <td data-test-deployment-task-group-auto-revert>{{if row.model.autoRevert "Yes" "No"}}</td> 33 <td data-test-deployment-task-group-canaries>{{or row.model.placedCanaries 0}} / {{row.model.desiredCanaries}}</td> 34 <td data-test-deployment-task-group-allocs>{{row.model.placedAllocs}} / {{row.model.desiredTotal}}</td> 35 <td data-test-deployment-task-group-healthy>{{row.model.healthyAllocs}}</td> 36 <td data-test-deployment-task-group-unhealthy>{{row.model.unhealthyAllocs}}</td> 37 {{#if inProgress}} 38 <td data-test-deployment-task-group-progress-deadline> 39 <span class="nowrap">{{moment-format row.model.requireProgressBy "MM/DD/YY HH:mm:ss"}}</span> 40 </td> 41 {{/if}} 42 </tr> 43 {{/t.body}} 44 {{/list-table}} 45 </div> 46 </div> 47