Adding Network info and edition

This commit is contained in:
root
2024-04-11 11:06:52 +02:00
parent 843555a9d5
commit e2fcc56ce0
18 changed files with 170 additions and 198 deletions

View File

@@ -109,6 +109,31 @@
</div>
</div>
<br>
<div class="card">
<div class="card-header">
Networking for {{ vm_name }}
</div>
<div class="card-body">
Attach new network<hr>
<div class="row">
<div class="col-sm">
<form action="/addnetvm" method="post">
<input type="hidden" name="vm_name" value="{{ vm_name }}">
<label for="new_net_vm">Network</label>
<select id="new_net_vm" class="form-control" name="new_net_vm" placeholder="Profile" required>
{%for net in list_net %}
<option value={{ net }}>{{ net }}</option>
{%endfor%}
</select><br>
<button type="submit" class="btn btn-outline-info btn-hype"><i class="fa-solid fa-plus"></i> Add</button>
</form>
</div>
</div>
</div>
</div>
</div>
{% endblock %}