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

network interface model selection added for new instance and new interface

This commit is contained in:
cserma 2023-08-15 15:35:23 +03:00 committed by catborise
parent b47ec2e8f9
commit 7d1cfb69b0
6 changed files with 50 additions and 6 deletions

View file

@ -45,6 +45,16 @@
</select>
</div>
</div>
<div class="row">
<label class="col-sm-4 col-form-label">{% trans "Model" %} </label>
<div class="col-sm-6">
<select class="form-select" name="add-net-model">
{% for model in net_models_host %}
<option value="{{ model }}" {% if model == 'default' %} selected {% endif %}>{{ model }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans "Close" %}</button>