open-consul/ui-v2/app/components/healthcheck-info/index.hbs

10 lines
436 B
Handlebars
Raw Normal View History

{{#if (and (lt passing 1) (lt warning 1) (lt critical 1) )}}
<span title="No Healthchecks" class="zero">0</span>
{{else}}
<dl class="healthcheck-info">
<HealthcheckStatus @width={{passingWidth}} @name="passing" @value={{passing}} />
<HealthcheckStatus @width={{warningWidth}} @name="warning" @value={{warning}} />
<HealthcheckStatus @width={{criticalWidth}} @name="critical" @value={{critical}} />
</dl>
{{/if}}