{{title "Task group " model.name " - Job " model.job.name}}

{{model.name}} {{exec/open-button job=model.job taskGroup=model}}

Task Group Details # Tasks {{model.tasks.length}} Reserved CPU {{model.reservedCPU}} MHz Reserved Memory {{model.reservedMemory}} MiB Reserved Disk {{model.reservedEphemeralDisk}} MiB
Allocation Status {{allocations.length}}
{{#allocation-status-bar allocationContainer=model.summary class="split-view" as |chart|}}
    {{#each chart.data as |datum index|}}
  1. {{datum.value}} {{datum.label}}
  2. {{/each}}
{{/allocation-status-bar}}
Allocations {{search-box searchTerm=(mut searchTerm) placeholder="Search allocations..." onChange=(action resetPagination) class="is-inline pull-right" inputClass="is-compact"}}
{{#if sortedAllocations}} {{#list-pagination source=sortedAllocations size=pageSize page=currentPage class="allocations" as |p|}} {{#list-table source=p.list sortProperty=sortProperty sortDescending=sortDescending class="with-foot" as |t|}} {{#t.head}} {{#t.sort-by prop="shortId"}}ID{{/t.sort-by}} {{#t.sort-by prop="createIndex" title="Create Index"}}Created{{/t.sort-by}} {{#t.sort-by prop="modifyIndex" title="Modify Index"}}Modified{{/t.sort-by}} {{#t.sort-by prop="statusIndex"}}Status{{/t.sort-by}} {{#t.sort-by prop="jobVersion"}}Version{{/t.sort-by}} {{#t.sort-by prop="node.shortId"}}Client{{/t.sort-by}} Volume CPU Memory {{/t.head}} {{#t.body as |row|}} {{allocation-row data-test-allocation=row.model.id allocation=row.model context="taskGroup" onClick=(action "gotoAllocation" row.model)}} {{/t.body}} {{/list-table}}
{{/list-pagination}} {{else}} {{#if allocations.length}}

No Matches

No allocations match the term {{searchTerm}}

{{else}}

No Allocations

No allocations have been placed.

{{/if}} {{/if}}
{{#if model.volumes.length}}
Volume Requirements
{{#list-table source=model.volumes as |t|}} {{#t.head}} Name Type Source Permissions {{/t.head}} {{#t.body as |row|}} {{row.model.name}} {{row.model.type}} {{row.model.source}} {{if row.model.readOnly "Read" "Read/Write"}} {{/t.body}} {{/list-table}}
{{/if}}