244157786a
This is the result of running the no-implicit-this-codemod, some manual fixes, and the addition of a linting rule to prevent future ambiguity.
27 lines
996 B
Handlebars
27 lines
996 B
Handlebars
<div class="boxed-section">
|
|
<div class="boxed-section-head">
|
|
Task Groups
|
|
</div>
|
|
<div class="boxed-section-body is-full-bleed">
|
|
<ListTable
|
|
@source={{this.sortedTaskGroups}}
|
|
@sortProperty={{this.sortProperty}}
|
|
@sortDescending={{this.sortDescending}} as |t|>
|
|
<t.head>
|
|
<t.sort-by @prop="name">Name</t.sort-by>
|
|
<t.sort-by @prop="count">Count</t.sort-by>
|
|
<t.sort-by @prop="queuedOrStartingAllocs" @class="is-3">Allocation Status</t.sort-by>
|
|
<t.sort-by @prop="volumes.length">Volume</t.sort-by>
|
|
<t.sort-by @prop="reservedCPU">Reserved CPU</t.sort-by>
|
|
<t.sort-by @prop="reservedMemory">Reserved Memory</t.sort-by>
|
|
<t.sort-by @prop="reservedEphemeralDisk">Reserved Disk</t.sort-by>
|
|
</t.head>
|
|
<t.body as |row|>
|
|
<TaskGroupRow data-test-task-group
|
|
@taskGroup={{row.model}}
|
|
@onClick={{action this.gotoTaskGroup row.model}} />
|
|
</t.body>
|
|
</ListTable>
|
|
</div>
|
|
</div>
|