mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
allow selection of ISO during creation and display ISO on vm details page
This commit is contained in:
parent
a2278f59db
commit
ba36af7dd5
5 changed files with 47 additions and 4 deletions
|
@ -41,6 +41,15 @@
|
|||
<label for="disk">Disk</label>
|
||||
<input type="text" name="disk" class="form-control">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="iso">ISO</label>
|
||||
<select name="iso" class="form-control">
|
||||
<option value="none"></option>
|
||||
{% for iso in isos %}
|
||||
<option value="{{ iso }}">{{ iso }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<button class="btn btn-success" type="submit" value="Create">Create</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
|
|
@ -42,6 +42,10 @@
|
|||
{% for disk in vm['disks'] %}
|
||||
<li>{{ disk[0] }}: {{ disk[1] }}</li>
|
||||
{% endfor %}
|
||||
<li class="nav-header">ISO</li>
|
||||
{% for iso in vm['isos'] %}
|
||||
<li>{{ iso[1] }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue