mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
patch for old libvirts to populate video graphics type. - 2
This commit is contained in:
parent
33f334289c
commit
be6c1e91f8
1 changed files with 4 additions and 0 deletions
|
@ -388,6 +388,10 @@
|
|||
<label class="col-sm-3 control-label">{% trans "Video" %}</label>
|
||||
<div class="col-sm-6">
|
||||
<select name="video" class="form-control">
|
||||
{% if not videos %}
|
||||
<option value="vga">vga</option>
|
||||
<option value="cirrus">cirrus</option>
|
||||
{% endif %}
|
||||
{% for video in videos %}
|
||||
<option value="{{ video }}">{{ video }}</option>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue