Show a warning icon on client node rows that have unhealthy drivers
This commit is contained in:
parent
446e26ea07
commit
00d97f6c6a
|
@ -23,6 +23,7 @@
|
|||
sortDescending=sortDescending
|
||||
class="with-foot" as |t|}}
|
||||
{{#t.head}}
|
||||
<th class="is-narrow"></th>
|
||||
{{#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="status"}}Status{{/t.sort-by}}
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
<td data-test-icon class="is-narrow">
|
||||
{{#if node.unhealthyDrivers.length}}
|
||||
<span class="tooltip text-center" aria-label="Client has unhealthy drivers">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</td>
|
||||
<td data-test-client-id>{{#link-to "clients.client" node.id class="is-primary"}}{{node.shortId}}{{/link-to}}</td>
|
||||
<td data-test-client-name class="is-200px is-truncatable" title="{{node.name}}">{{node.name}}</td>
|
||||
<td data-test-client-status>{{node.status}}</td>
|
||||
|
|
Loading…
Reference in a new issue