1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-22 18:44:49 +00:00

Fix instance bottom bar overlapping main content

This commit is contained in:
Real-Gecko 2020-05-25 17:32:36 +06:00 committed by catborise
parent d95e60e2ad
commit d8b0246a78
3 changed files with 5 additions and 5 deletions

View file

@ -1701,8 +1701,8 @@
</div> </div>
</div> </div>
</div> </div>
{% if bottom_bar == 'True' %} {% if bottom_bar %}
{% include 'bottombar.html' %} {% include 'bottom_bar.html' %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View file

@ -82,9 +82,9 @@
<td><a class="text-secondary" href="{% url 'instance' host.0 inst %}">{{ inst }}</a><br><small><em>{{ vm.title }}</em></small></td> <td><a class="text-secondary" href="{% url 'instance' host.0 inst %}">{{ inst }}</a><br><small><em>{{ vm.title }}</em></small></td>
<td class="d-none d-md-table-cell"><small><em>{% if vm.userinstances.count > 0 %}{{ vm.userinstances.first_user.user.username }}{% if vm.userinstances.count > 1 %} (+{{ vm.userinstances.count|add:"-1" }}){% endif %}{% endif %}</em></small></td> <td class="d-none d-md-table-cell"><small><em>{% if vm.userinstances.count > 0 %}{{ vm.userinstances.first_user.user.username }}{% if vm.userinstances.count > 1 %} (+{{ vm.userinstances.count|add:"-1" }}){% endif %}{% endif %}</em></small></td>
<td> <td>
{% ifequal vm.status 1 %}<span class="text-success">{% trans "Active" %}</span>{% endifequal %} {% if vm.status == 1 %}<span class="text-success">{% trans "Active" %}</span>{% endif %}
{% ifequal vm.status 5 %}<span class="text-danger">{% trans "Off" %}</span>{% endifequal %} {% if vm.status == 5 %}<span class="text-danger">{% trans "Off" %}</span>{% endif %}
{% ifequal vm.status 3 %}<span class="text-warning">{% trans "Suspend" %}</span>{% endifequal %} {% if vm.status == 3 %}<span class="text-warning">{% trans "Suspend" %}</span>{% endif %}
</td> </td>
<td>{{ vm.vcpu }}</td> <td>{{ vm.vcpu }}</td>
<td>{{ vm.memory|filesizeformat }}</td> <td>{{ vm.memory|filesizeformat }}</td>