open-nomad/ui/app/templates/components/task-group-row.hbs
2020-02-13 17:11:26 -08:00

14 lines
643 B
Handlebars

<td data-test-task-group-name>
{{#link-to "jobs.job.task-group" taskGroup.job taskGroup class="is-primary"}}
{{taskGroup.name}}
{{/link-to}}
</td>
<td data-test-task-group-count>{{taskGroup.count}}</td>
<td data-test-task-group-allocs>
<div class="inline-chart">{{allocation-status-bar allocationContainer=taskGroup.summary isNarrow=true}}</div>
</td>
<td data-test-task-group-volume>{{if taskGroup.volumes.length "Yes"}}</td>
<td data-test-task-group-cpu>{{taskGroup.reservedCPU}} MHz</td>
<td data-test-task-group-mem>{{taskGroup.reservedMemory}} MiB</td>
<td data-test-task-group-disk>{{taskGroup.reservedEphemeralDisk}} MiB</td>