{{title "Clients"}}
{{#if isForbidden}} {{partial "partials/forbidden-message"}} {{else}}
{{#if nodes.length}} {{search-box searchTerm=(mut searchTerm) onChange=(action resetPagination) placeholder="Search clients..."}} {{/if}}
{{multi-select-dropdown data-test-class-facet label="Class" options=optionsClass selection=selectionClass onSelect=(action setFacetQueryParam "qpClass")}} {{multi-select-dropdown data-test-state-facet label="State" options=optionsState selection=selectionState onSelect=(action setFacetQueryParam "qpState")}} {{multi-select-dropdown data-test-datacenter-facet label="Datacenter" options=optionsDatacenter selection=selectionDatacenter onSelect=(action setFacetQueryParam "qpDatacenter")}}
{{#if sortedNodes}} {{#list-pagination source=sortedNodes size=pageSize page=currentPage as |p|}} {{#list-table source=p.list sortProperty=sortProperty sortDescending=sortDescending class="with-foot" as |t|}} {{#t.head}} {{#t.sort-by prop="id"}}ID{{/t.sort-by}} {{#t.sort-by class="is-200px is-truncatable" prop="name"}}Name{{/t.sort-by}} {{#t.sort-by prop="compositeStatus"}}State{{/t.sort-by}} Address {{#t.sort-by prop="datacenter"}}Datacenter{{/t.sort-by}} # Allocs {{/t.head}} {{#t.body as |row|}} {{client-node-row data-test-client-node-row node=row.model onClick=(action "gotoNode" row.model)}} {{/t.body}} {{/list-table}}
{{/list-pagination}} {{else}}
{{#if (eq nodes.length 0)}}

No Clients

The cluster currently has no client nodes.

{{else if (eq filteredNodes.length 0)}}

No Matches

No clients match your current filter selection.

{{else if searchTerm}}

No Matches

No clients match the term {{searchTerm}}

{{/if}}
{{/if}} {{/if}}