API Integration
Please review carefully.
This commit is contained in:
parent
b7e8eceb25
commit
130c00c8ee
19 changed files with 310 additions and 890 deletions
|
|
@ -12,10 +12,14 @@
|
|||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
Select VM:
|
||||
<select name="vm_template">
|
||||
{% for vm in vm_types %}
|
||||
<select name="vm_template_id">
|
||||
{% for template in templates %}
|
||||
|
||||
<option value="{{vm.id}}">CORE: {{vm.cores}}, RAM: {{vm.memory}}, SSD: {{vm.disk_size}} </option>
|
||||
<option value="{{template.id}}">
|
||||
CORE: {{template.cores}},
|
||||
RAM: {{template.memory}},r
|
||||
SSD: {{template.disk_size}}
|
||||
</option>
|
||||
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
|
@ -42,4 +46,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
{%endblock%}
|
||||
{%endblock%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue