mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 12:04:15 +00:00
some text converted to trans, progres bar enhanced and band views of tables changed
This commit is contained in:
parent
aba92e30b5
commit
f300c1156f
1 changed files with 9 additions and 9 deletions
|
@ -3,18 +3,18 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>Name<br>Description</th>
|
<th>{% trans "Name" %}<br>{% trans "Description" %}</th></th>
|
||||||
<th>User</th>
|
<th>{% trans "User"%}</th>
|
||||||
<th>Status</th>
|
<th>{% trans "Status" %}</th>
|
||||||
<th>VCPU</th>
|
<th>{% trans "VCPU" %}</th>
|
||||||
<th>Memory</th>
|
<th>{% trans "Memory" %}</th>
|
||||||
<th data-sortable="false" style="width:205px;">Actions & Mem Usage</th>
|
<th data-sortable="false" style="width:205px;">{% trans "Actions & Mem Usage" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="searchable">
|
<tbody class="searchable">
|
||||||
{% for host, inst in all_host_vms.items %}
|
{% for host, inst in all_host_vms.items %}
|
||||||
<tr class="success" style="font-size:16px">
|
<tr class="active" style="font-weight: bold;border-bottom: 2px solid darkgray;border-top: 2px solid darkgray;">
|
||||||
<td>{{ forloop.counter }}</td>
|
<td><span class="fa fa-server"></span> </td>
|
||||||
<td><a href="{% url 'overview' host.0 %}">{{ host.1 }}</a></td>
|
<td><a href="{% url 'overview' host.0 %}">{{ host.1 }}</a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<td style="text-align:center;">{{ host.3 }}</td>
|
<td style="text-align:center;">{{ host.3 }}</td>
|
||||||
<td style="text-align:right;">{{ host.4|filesizeformat }}</td>
|
<td style="text-align:right;">{{ host.4|filesizeformat }}</td>
|
||||||
<td style="text-align:left;">
|
<td style="text-align:left;">
|
||||||
<div class="progress-bar-success" role="progressbar" style="width: {{ host.5 }}%"
|
<div class="progress-bar progress-bar-success" role="progressbar" style="width: {{ host.5 }}%"
|
||||||
aria-valuenow="{{ host.5 }}" aria-valuemin="0" aria-valuemax="100">{{ host.5 }}%
|
aria-valuenow="{{ host.5 }}" aria-valuemin="0" aria-valuemax="100">{{ host.5 }}%
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue