proxadmin/app/templates/admin/addr2pool.html

62 lines
1.4 KiB
HTML
Raw Normal View History

2017-07-24 06:33:33 -04:00
{% extends "base.html" %}
{% block title %}Add IP address to ip pool{% endblock %}
{% block page_content %}
<div class="container-fluid">
<div class="row">
{% include "admin/admin_tasks.html" %}
<div class="col-md-12">
<div class="panel panel-info">
<div class="panel-heading">Add IP address to the pool</div>
<div class="panel-body">
<form method="POST" action="{{ url_for('admin.addr2pool') }}">
<p>
{{ form.ip.label }} {{ form.ip }}<br />
{% for error in form.ip.errors %}
{{ error }}<br />
{% endfor %}
</p>
<p>
{{ form.region.label }} {{ form.region }}<br />
{% for error in form.region.errors %}
{{ error }}<br />
{% endfor %}
</p>
<p>
{{ form.reserved.label }} {{ form.reserved }}<br />
{% for error in form.reserved.errors %}
{{ error }}<br />
{% endfor %}
</p>
<p>
{{ form.csrf_token() }}
{{ form.submit }}
</p>
</div>
</div>
</div>
<div class="col-md-12">
<div class="panel panel-info">
<div class="panel-heading">Current IP Pool</div>
<div class="panel-body">
{% for addr in alladdresses %}
{{ addr }}<br />
{% endfor %}
</div>
</div>
</div>
</div>
</div>
{% endblock %}