66 lines
1.5 KiB
HTML
66 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Add IP address to ip pool{% endblock %}
|
|
|
|
{% block page_content %}
|
|
<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.region.label }} {{ form.region }}<br />
|
|
{% for error in form.region.errors %}
|
|
{{ error }}<br />
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ form.ip.label }} {{ form.ip }}<br />
|
|
{% for error in form.ip.errors %}
|
|
{{ error }}<br />
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ form.rdns.label }} {{ form.rdns }}<br />
|
|
{% for error in form.rdns.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>
|
|
|
|
{% endblock %}
|
|
|