1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Add capability to remove UEFI instances: Add option for NVRAM delete

This commit is contained in:
catborise 2019-12-13 16:40:59 +03:00
parent 3a925af3c2
commit 28b001e7cb
2 changed files with 21 additions and 4 deletions

View file

@ -1524,9 +1524,17 @@
<div class="checkbox" style="margin-left: 8px;">
<label>
<input type="checkbox" name="delete_disk" value="true" checked>
<strong>{% trans "Remove Instance's data" %}</strong>
<strong>{% trans "Remove Instance's disks" %}</strong>
</label>
</div>
{% if nvram %}
<div class="checkbox" style="margin-left: 8px;">
<label>
<input type="checkbox" name="delete_nvram" value="true" checked>
<strong>{% trans "Remove Instance's NVRAM" %}</strong>
</label>
</div>
{% endif %}
<button type="submit" class="btn btn-lg btn-success pull-right" name="delete">{% trans "Destroy" %}</button>
</form>
{% endifequal %}