Commit 0106178e by Oláh István Gergely

dashboard: fix cpu progressbar

parent 7ed87388
{%load sizefieldtags %}
{% load sizefieldtags %}
{% load i18n %}
<i class="icon-gears"></i> {% trans "CPU" %}
<div class="progress pull-right">
<div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="{{ record.cpu_usage }}" aria-valuemin="0" aria-valuemax="1" style="width: 80%">
aria-valuenow="{{ record.cpu_usage }}" aria-valuemin="0" aria-valuemax="1" >
<span class="progress-bar-text">
{% if record.cpu_usage != None %}
{{ record.cpu_usage|floatformat:1 }} %
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment