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:
parent
59dcdacffc
commit
0c8a0523a8
1 changed files with 43 additions and 46 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue