chore: prettify task-groups template
This commit is contained in:
parent
179103f2b6
commit
458100a0f9
|
@ -6,21 +6,38 @@
|
|||
<ListTable
|
||||
@source={{this.sortedTaskGroups}}
|
||||
@sortProperty={{this.sortProperty}}
|
||||
@sortDescending={{this.sortDescending}} as |t|>
|
||||
@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.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
|
||||
<TaskGroupRow
|
||||
data-test-task-group
|
||||
@taskGroup={{row.model}}
|
||||
@onClick={{action this.gotoTaskGroup row.model}} />
|
||||
@onClick={{action this.gotoTaskGroup row.model}}
|
||||
/>
|
||||
</t.body>
|
||||
</ListTable>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue