1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-01-12 08:25:18 +00:00

show snapshot list while instance is running. User wanto to see list of running snapshot and delete it.

This commit is contained in:
catborise 2020-01-17 16:14:28 +03:00
parent 59dcdacffc
commit 0c8a0523a8

View file

@ -549,7 +549,6 @@
{% endifequal %} {% endifequal %}
</div> </div>
<div role="tabpanel" class="tab-pane tab-pane-bordered" id="managesnapshot"> <div role="tabpanel" class="tab-pane tab-pane-bordered" id="managesnapshot">
{% ifequal status 5 %}
{% if snapshots %} {% if snapshots %}
<p>{% trans "Choose a snapshot for restore/delete" %}</p> <p>{% trans "Choose a snapshot for restore/delete" %}</p>
<div class="table-responsive"> <div class="table-responsive">
@ -572,7 +571,8 @@
<span class="glyphicon glyphicon-save"></span> <span class="glyphicon glyphicon-save"></span>
</button> </button>
{% else %} {% else %}
<button type="button" class="btn btn-sm btn-default disabled"> <button type="button" class="btn btn-sm btn-default disabled"
title="{% trans "To restore snapshots you need Power Off the instance." %}">
<span class="glyphicon glyphicon-save"></span> <span class="glyphicon glyphicon-save"></span>
</button> </button>
{% endifequal %} {% endifequal %}
@ -594,9 +594,6 @@
{% else %} {% else %}
<p>{% trans "You do not have any snapshots" %}</p> <p>{% trans "You do not have any snapshots" %}</p>
{% endif %} {% endif %}
{% else %}
<p>{% trans "To restore snapshots you need Power Off the instance." %}</p>
{% endifequal %}
</div> </div>
</div> </div>
</div> </div>