Allocations {{model.allocations.length}}
{{search-box
searchTerm=(mut searchTerm)
placeholder="Search allocations..."
class="is-inline pull-right"
inputClass="is-compact"}}
{{#list-pagination
source=sortedAllocations
size=pageSize
page=currentPage as |p|}}
{{#list-table
source=p.list
sortProperty=sortProperty
sortDescending=sortDescending
class="allocations with-foot" as |t|}}
{{#t.head}}
{{#t.sort-by prop="shortId"}}ID{{/t.sort-by}}
{{#t.sort-by prop="name"}}Name{{/t.sort-by}}
{{#t.sort-by prop="clientStatus"}}Status{{/t.sort-by}}
{{#t.sort-by prop="job.name"}}Job{{/t.sort-by}}
CPU |
Memory |
{{/t.head}}
{{#t.body as |row|}}
{{allocation-row allocation=row.model context="node" onClick=(action "gotoAllocation" row.model)}}
{{/t.body}}
{{/list-table}}
{{/list-pagination}}