proxadmin/app/templates/vmanager/activate.html

37 lines
814 B
HTML

{% extends "base.html" %}
{% 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">
<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 %}
---<br />
Total = {{ total }}
</h3>
<p>
{{ form.csrf_token() }}
{{ form.submit }}
</p>
</div>
</div>
</div>
{% endblock %}