mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
fix layout to show correctly 'not connected' panels
This commit is contained in:
parent
2058395081
commit
c37ae1dca7
1 changed files with 5 additions and 2 deletions
|
@ -36,15 +36,18 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-4 col-sm-4">
|
<div class="col-xs-3">
|
||||||
<p><strong>{% trans "Status" %}:</strong></p>
|
<p><strong>{% trans "Status" %}:</strong></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-4 col-sm-6">
|
<div class="col-xs-9">
|
||||||
{% ifequal compute.status 1 %}
|
{% ifequal compute.status 1 %}
|
||||||
<p>{% trans "Connected" %}</p>
|
<p>{% trans "Connected" %}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>{% trans "Not Connected" %}</p>
|
<p>{% trans "Not Connected" %}</p>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-offset-3 col-sm-8">
|
||||||
{% if compute.details %}
|
{% if compute.details %}
|
||||||
<p>{% trans compute.details %}</p>
|
<p>{% trans compute.details %}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue