github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/ui/app/templates/components/allocation-stat.hbs (about)

     1  {{#if allocation.isRunning}}
     2    {{#if (and (not stat) isLoading)}}
     3      …
     4    {{else if error}}
     5      <span class="tooltip is-small text-center" role="tooltip" aria-label="Couldn't collect stats">
     6        {{x-icon "warning" class="is-warning"}}
     7      </span>
     8    {{else}}
     9      <div class="inline-chart tooltip" role="tooltip" aria-label="{{formattedStat}} / {{formattedReserved}}">
    10        <progress
    11          class="progress is-small {{statClass}}"
    12          value="{{stat.percent}}"
    13          max="1">
    14          {{stat.percent}}
    15        </progress>
    16      </div>
    17    {{/if}}
    18  {{/if}}