ef891a23b5
1. The grid based unhealthy cards are now clamped to only four wide maximum. This means that on larger screen the cards are much wider meaning you can view more information. Grid gutters are also clamped at a certain ideal width screen, remaining responsive for anything below this. 2. The healthy node columns are finally responsive following the same column rules as unhealthy nodes
32 lines
1,009 B
Handlebars
32 lines
1,009 B
Handlebars
<header class={{if service 'with-service' }}>
|
|
<strong>{{address}}</strong>
|
|
<a href={{href}}>
|
|
<span>{{name}}</span>
|
|
<em>{{service}}</em>
|
|
</a>
|
|
</header>
|
|
{{! its important to keep this <ul> with no whitespace so we can use :empty in css }}
|
|
<ul>{{#if status }}
|
|
<li class={{status}}>
|
|
<a href={{href}}>
|
|
<strong>{{status}}</strong>
|
|
</a>
|
|
</li>
|
|
{{ else }}
|
|
{{#each unhealthy as |check| }}
|
|
<li class={{check.Status}}>
|
|
<a href={{href}}>
|
|
<strong>{{ check.Status }}</strong>
|
|
<span>{{ check.Name }}</span>
|
|
</a>
|
|
</li>
|
|
{{/each}}
|
|
{{#if (gt healthy.length 0)}}
|
|
<li class="passing">
|
|
<a href={{href}}>
|
|
<strong>{{healthy.length}}</strong>
|
|
<span>other passing {{pluralize healthy.length 'check' without-count=true}}</span>
|
|
</a>
|
|
</li>
|
|
{{/if}}
|
|
{{/if}}</ul> |