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

Nodes

{{/block-slot}} {{#block-slot 'toolbar'}} {{#if (gt items.length 0) }} {{catalog-filter filters=healthFilters search=filters.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 }}
    {{#each unhealthy as |item|}} {{healthchecked-resource tagName='li' data-test-node=item.Node href=(href-to 'dc.nodes.show' item.Node) name=item.Node address=item.Address checks=item.Checks }} {{/each}}
{{/if}} {{#if (gt healthy.length 0) }}

Healthy Nodes

{{#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 status=item.Checks.[0].Status }} {{/list-collection}}
{{/if}} {{#if (and (eq healthy.length 0) (eq unhealthy.length 0)) }}

There are no nodes.

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