1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

patch for old libvirts to populate video graphics type. - 2

This commit is contained in:
catborise 2018-09-18 09:58:10 +03:00
parent 33f334289c
commit be6c1e91f8

View file

@ -388,6 +388,10 @@
<label class="col-sm-3 control-label">{% trans "Video" %}</label> <label class="col-sm-3 control-label">{% trans "Video" %}</label>
<div class="col-sm-6"> <div class="col-sm-6">
<select name="video" class="form-control"> <select name="video" class="form-control">
{% if not videos %}
<option value="vga">vga</option>
<option value="cirrus">cirrus</option>
{% endif %}
{% for video in videos %} {% for video in videos %}
<option value="{{ video }}">{{ video }}</option> <option value="{{ video }}">{{ video }}</option>
{% endfor %} {% endfor %}