{{#app-view class="node list"}} {{#block-slot 'header'}}

Nodes {{format-number items.length}} total

{{/block-slot}} {{#block-slot 'toolbar'}} {{#if (gt items.length 0) }} {{catalog-filter searchable=(array searchableHealthy searchableUnhealthy) search=s status=filters.status onchange=(action 'filter')}} {{/if}} {{/block-slot}} {{#block-slot 'content'}} {{#if (gt unhealthy.length 0) }}

Unhealthy Nodes

{{! think about 2 differing views here }}
{{/if}} {{#if (gt healthy.length 0) }}

Healthy Nodes

{{#changeable-set dispatcher=searchableHealthy}} {{#block-slot 'set' as |healthy|}} {{#list-collection cellHeight=92 items=healthy as |item index|}} {{healthchecked-resource data-test-node=item.Node href=(href-to 'dc.nodes.show' item.Node) name=item.Node address=item.Address checks=item.Checks }} {{/list-collection}} {{/block-slot}} {{#block-slot 'empty'}}

There are no healthy nodes for that search.

{{/block-slot}} {{/changeable-set}}
{{/if}} {{#if (and (eq healthy.length 0) (eq unhealthy.length 0)) }}

There are no nodes.

{{/if}} {{/block-slot}} {{/app-view}}