Readded hostingplans
This commit is contained in:
parent
8017fbb90f
commit
752e11bcea
9 changed files with 148 additions and 96 deletions
|
|
@ -11,27 +11,22 @@
|
|||
<form method="POST" action="">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
Select VM:
|
||||
Select VM Template:
|
||||
<select name="vm_template_id">
|
||||
{% for template in templates %}
|
||||
|
||||
<option value="{{template.id}}">
|
||||
CORE: {{template.cores}},
|
||||
RAM: {{template.memory}} GiB,
|
||||
SSD: {{template.disk_size}} GiB
|
||||
</option>
|
||||
|
||||
<option value="{{template.id}}">{{template.name}} </option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
Select VM Configuration:
|
||||
<select name="vm_image_id">
|
||||
<option value="-1" selected> None </option>
|
||||
{% for image in images %}
|
||||
|
||||
<option value="{{image.id}}"> {{image.name}} </option>
|
||||
|
||||
<select name="configuration">
|
||||
{% for config in configuration_options %}
|
||||
<option value="{{config.id}}">
|
||||
CORE: {{config.cpu|floatformat}},
|
||||
RAM: {{config.memory|floatformat}} GiB,
|
||||
SSD: {{config.disk_size|floatformat}} GiB
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue