proxadmin/app/templates/vmanager/activate.html

38 lines
814 B
HTML
Raw Normal View History

{% extends "base.html" %}
2017-07-15 00:13:57 -04:00
{% block title %}Activatei deployment #{{ deploy.machine_id }}{% endblock %}
{% block page_content %}
<div class="row">
<div class="col-md-12">
<div class="panel panel-info">
<div class="panel-heading">Activate</div>
<div class="panel-body">
2017-07-15 00:13:57 -04:00
<form method="POST" action"{{ url_for('vmanager.activate', itemid=deploy.machine_id) }}">
<h3>
CPU x {{ deploy.machine_cpu }} cores = {{ cpu_cost }}<br />
Memory x {{ deploy.machine_mem }} MB = {{ mem_cost }}<br />
Storage x {{ deploy.machine_hdd }} GB = {{ hdd_cost }}<br />
{{ form.period.label }} {{ form.period }}<br />
{% for error in form.period.errors %}
{{ error }}<br />
{% endfor %}
2017-07-15 00:13:57 -04:00
---<br />
Total = {{ total }}
</h3>
<p>
{{ form.csrf_token() }}
{{ form.submit }}
</p>
</div>
</div>
</div>
{% endblock %}