2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-task-group-name>
|
2020-07-09 20:19:07 +00:00
|
|
|
<LinkTo @route="jobs.job.task-group" @models={{array this.taskGroup.job this.taskGroup}} class="is-primary">
|
|
|
|
{{this.taskGroup.name}}
|
2020-06-01 19:03:56 +00:00
|
|
|
</LinkTo>
|
2017-10-20 05:30:10 +00:00
|
|
|
</td>
|
2020-06-17 07:20:57 +00:00
|
|
|
<td data-test-task-group-count class="nowrap">
|
2020-07-09 20:19:07 +00:00
|
|
|
{{this.count}}
|
|
|
|
{{#if this.taskGroup.scaling}}
|
2020-06-18 05:45:21 +00:00
|
|
|
<div
|
|
|
|
data-test-scale-controls
|
2020-07-09 20:19:07 +00:00
|
|
|
class="button-bar is-shadowless is-text bumper-left {{if (or this.runningDeployment (cannot "scale job")) "tooltip multiline"}}"
|
|
|
|
aria-label={{this.tooltipText}}>
|
2020-06-17 08:48:41 +00:00
|
|
|
<button
|
2020-06-18 05:45:21 +00:00
|
|
|
data-test-scale="decrement"
|
2020-06-17 08:48:41 +00:00
|
|
|
role="button"
|
2020-06-29 22:57:15 +00:00
|
|
|
aria-label="decrement"
|
2020-06-17 08:48:41 +00:00
|
|
|
class="button is-xsmall is-light"
|
2020-07-09 20:19:07 +00:00
|
|
|
disabled={{or this.isMinimum this.runningDeployment (cannot "scale job")}}
|
2020-07-09 17:30:11 +00:00
|
|
|
onclick={{action "countDown"}}
|
|
|
|
type="button">
|
2020-06-17 08:48:41 +00:00
|
|
|
{{x-icon "minus-plain" class="is-text"}}
|
|
|
|
</button>
|
|
|
|
<button
|
2020-06-18 05:45:21 +00:00
|
|
|
data-test-scale="increment"
|
2020-06-17 08:48:41 +00:00
|
|
|
role="button"
|
2020-06-29 22:57:15 +00:00
|
|
|
aria-label="increment"
|
2020-06-17 08:48:41 +00:00
|
|
|
class="button is-xsmall is-light"
|
2020-07-09 20:19:07 +00:00
|
|
|
disabled={{or this.isMaximum this.runningDeployment (cannot "scale job")}}
|
2020-07-09 17:30:11 +00:00
|
|
|
onclick={{action "countUp"}}
|
|
|
|
type="button">
|
2020-06-17 08:48:41 +00:00
|
|
|
{{x-icon "plus-plain" class="is-text"}}
|
|
|
|
</button>
|
2020-06-17 07:20:57 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</td>
|
2018-01-05 20:59:36 +00:00
|
|
|
<td data-test-task-group-allocs>
|
2020-07-09 20:19:07 +00:00
|
|
|
<div class="inline-chart"><AllocationStatusBar @allocationContainer={{this.taskGroup.summary}} @isNarrow={{true}} /></div>
|
2017-09-19 14:47:10 +00:00
|
|
|
</td>
|
2020-07-09 20:19:07 +00:00
|
|
|
<td data-test-task-group-volume>{{if this.taskGroup.volumes.length "Yes"}}</td>
|
|
|
|
<td data-test-task-group-cpu>{{this.taskGroup.reservedCPU}} MHz</td>
|
|
|
|
<td data-test-task-group-mem>{{this.taskGroup.reservedMemory}} MiB</td>
|
|
|
|
<td data-test-task-group-disk>{{this.taskGroup.reservedEphemeralDisk}} MiB</td>
|