Commit ed20ed7b by Kálmán Viktor

dashboard: reindent node monitor column html

parent 9795bd83
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{% load i18n %} {% load i18n %}
<i class="fa fa-gears"></i> {% trans "CPU" %} <i class="fa fa-gears"></i> {% trans "CPU" %}
<div class="progress pull-right"> <div class="progress pull-right">
<div class="progress-bar progress-bar-success" role="progressbar" <div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="{{ record.cpu_usage|stringformat:"f" }}" aria-valuenow="{{ record.cpu_usage|stringformat:"f" }}"
aria-valuemin="0" aria-valuemax="1" aria-valuemin="0" aria-valuemax="1"
...@@ -15,10 +15,12 @@ ...@@ -15,10 +15,12 @@
{% endif %} {% endif %}
</span> </span>
</div> </div>
</div> </div>
<br> <br>
<i class="fa fa-ticket"></i> {% trans "Memory" %} <i class="fa fa-ticket"></i> {% trans "Memory" %}
<div class="progress pull-right"> <div class="progress pull-right">
<div class="progress-bar" role="progressbar" <div class="progress-bar" role="progressbar"
aria-valuenow="{{ record.ram_usage|stringformat:"f" }}" aria-valuenow="{{ record.ram_usage|stringformat:"f" }}"
aria-valuemin="0" aria-valuemax="100" aria-valuemin="0" aria-valuemax="100"
...@@ -31,4 +33,4 @@ ...@@ -31,4 +33,4 @@
{% endif %} {% endif %}
</span> </span>
</div> </div>
</div> </div>
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