{{#global-header class="page-header"}}
  • {{#link-to "clients.index" data-test-breadcrumb="clients"}}Clients{{/link-to}}
  • {{#link-to "clients.client" model.id data-test-breadcrumb="client"}}{{model.shortId}}{{/link-to}}
  • {{/global-header}} {{#gutter-menu class="page-body"}}

    {{or model.name model.shortId}} {{model.id}}

    Client Details Status {{model.status}} Address {{model.httpAddr}} Datacenter {{model.datacenter}} Drivers {{#if model.unhealthyDrivers.length}} {{x-icon "warning" class="is-text is-warning"}} {{model.unhealthyDrivers.length}} of {{model.detectedDrivers.length}} {{pluralize "driver" model.detectedDrivers.length}} unhealthy {{else}} All healthy {{/if}}
    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="with-foot" as |t|}} {{#t.head}} {{#t.sort-by prop="shortId"}}ID{{/t.sort-by}} {{#t.sort-by prop="modifyIndex" title="Modify Index"}}Modified{{/t.sort-by}} {{#t.sort-by prop="name"}}Name{{/t.sort-by}} {{#t.sort-by prop="statusIndex"}}Status{{/t.sort-by}} {{#t.sort-by prop="job.name"}}Job{{/t.sort-by}} {{#t.sort-by prop="jobVersion"}}Version{{/t.sort-by}} CPU Memory {{/t.head}} {{#t.body as |row|}} {{allocation-row allocation=row.model context="node" onClick=(action "gotoAllocation" row.model) data-test-allocation=row.model.id}} {{/t.body}} {{/list-table}}
    {{/list-pagination}}
    Attributes
    {{attributes-table data-test-attributes attributes=model.attributes.attributesStructured class="attributes-table"}}
    Meta
    {{#if model.meta.attributesStructured}}
    {{attributes-table data-test-meta attributes=model.meta.attributesStructured class="attributes-table"}}
    {{else}}

    No Meta Attributes

    This client is configured with no meta attributes.

    {{/if}}
    {{/gutter-menu}}