github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/components/task-group-row.hbs (about) 1 <td data-test-task-group-name> 2 <LinkTo @route="jobs.job.task-group" @models={{array this.taskGroup.job this.taskGroup}} class="is-primary"> 3 {{this.taskGroup.name}} 4 </LinkTo> 5 </td> 6 <td data-test-task-group-count class="nowrap"> 7 {{this.count}} 8 {{#if this.taskGroup.scaling}} 9 <div 10 data-test-scale-controls 11 class="button-bar is-shadowless is-text bumper-left {{if (or this.runningDeployment (cannot "scale job" namespace=this.namespace)) "tooltip multiline"}}" 12 aria-label={{this.tooltipText}}> 13 <button 14 data-test-scale="decrement" 15 role="button" 16 aria-label="decrement" 17 class="button is-xsmall is-light" 18 disabled={{or this.isMinimum this.runningDeployment (cannot "scale job" namespace=this.namespace)}} 19 onclick={{action "countDown"}} 20 type="button"> 21 {{x-icon "minus-plain" class="is-text"}} 22 </button> 23 <button 24 data-test-scale-controls-increment 25 data-test-scale="increment" 26 role="button" 27 aria-label="increment" 28 class="button is-xsmall is-light" 29 disabled={{or this.isMaximum this.runningDeployment (cannot "scale job" namespace=this.namespace)}} 30 onclick={{action "countUp"}} 31 type="button"> 32 {{x-icon "plus-plain" class="is-text"}} 33 </button> 34 </div> 35 {{/if}} 36 </td> 37 <td data-test-task-group-allocs> 38 <div class="inline-chart"><AllocationStatusBar @allocationContainer={{this.taskGroup.summary}} @isNarrow={{true}} /></div> 39 </td> 40 <td data-test-task-group-volume>{{if this.taskGroup.volumes.length "Yes"}}</td> 41 <td data-test-task-group-cpu>{{format-scheduled-hertz this.taskGroup.reservedCPU}}</td> 42 <td data-test-task-group-mem>{{format-scheduled-bytes this.taskGroup.reservedMemory start="MiB"}}</td> 43 <td data-test-task-group-disk>{{format-scheduled-bytes this.taskGroup.reservedEphemeralDisk start="MiB"}}</td>