proxadmin/app/templates/admin/addr2pool.html

66 lines
1.5 KiB
HTML
Raw Permalink 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="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') }}">
2018-03-15 19:38:50 -04:00
<p>
{{ form.region.label }} {{ form.region }}<br />
{% for error in form.region.errors %}
{{ error }}<br />
{% endfor %}
</p>
2017-07-24 06:33:33 -04:00
<p>
{{ form.ip.label }} {{ form.ip }}<br />
{% for error in form.ip.errors %}
{{ error }}<br />
{% endfor %}
</p>
<p>
2018-03-15 19:38:50 -04:00
{{ form.rdns.label }} {{ form.rdns }}<br />
{% for error in form.rdns.errors %}
2017-07-24 06:33:33 -04:00
{{ 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 %}