1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

allinstances.html: fix identation. Remove redundant div blocks

This commit is contained in:
catborise 2020-01-22 14:50:12 +03:00
parent 57665c2ab9
commit d95b5a4017

View file

@ -24,15 +24,13 @@
{% include 'errors_block.html' %} {% include 'errors_block.html' %}
<div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="table-responsive">
{% if request.user.is_superuser %} {% if request.user.is_superuser %}
{% if not all_host_vms %} {% if not all_host_vms %}
<div class="col-lg-12"> <div class="col-lg-12">
<div class="alert alert-warning alert-dismissable"> <div class="alert alert-warning alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times</button>
<i class="fa fa-exclamation-triangle"></i> <strong>{% trans "Warning:" %}</strong> {% trans "You don't have any Instance" %} <i class="fa fa-exclamation-triangle"></i> <strong>{% trans "Warning" %}:</strong> {% trans "You don't have any Instance" %}
</div> </div>
</div> </div>
{% else %} {% else %}
@ -138,8 +136,6 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
</div> </div>
</div>
</div>
{% endblock %} {% endblock %}
{% block script %} {% block script %}
<script src="{% static "js/sortable.min.js" %}"></script> <script src="{% static "js/sortable.min.js" %}"></script>