proxadmin/app/templates/panel/order_vm.html

42 lines
928 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}Request new Server{% endblock %}
{% block page_content %}
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">Request new Server</div>
<div class="panel-body">
<form method="POST" action="{{ url_for('panel.ordervm') }}">
<p>
{{ form.cpu.label }}<br /> {{ form.cpu(min=2, max=16, step=2) }}<br />
{% for error in form.cpu.errors %}
{{ error }}<br />
{% endfor %}
</p>
<p>
{{ form.memory.label }}<br /> {{ form.memory(min=512, max=16384, step=512) }}<br />
{% for error in form.memory.errors %}
{{ error }}<br />
{% endfor %}
</p>
<p>
{{ form.storage.label }}<br /> {{ form.storage(min=10, max=100, step=10) }}<br />
{% for error in form.storage.errors %}
{{ error }}<br />
{% endfor %}
</p>
<p>
{{ form.csrf_token() }}
{{ form.submit }}
</p>
</div>
</div>
</div>
{% endblock %}