blob: b3d12f9f8ab3316f534905a009ab2fde38c3deea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
{% extends "base.html" %}
{% block pagebanner %}
<div class="header">
<h2>Zones</h2>
<p>Enter information for a new zone to be generated by Hostbase
</div>
<br/>
{% endblock %}
{% block sidebar %}
{% include "navbar" %}
{% include "logout" %}
{% endblock %}
{% block content %}
<form name="zonedata" action="?sub=true" method="post">
<table border="0" width="100%">
<colgroup>
<col width="200">
<col width="*">
<tr> <td> <b>zone</b></td>
<td> <input name="zone" type="text" size="32"></td></tr>
<tr> <td> <b>admin</b></td>
<td> <input name="admin" type="text" size="32"></td></tr>
<tr> <td> <b>primary_master</b></td>
<td> <input name="primary_master" type="text" size="32"></td></tr>
<tr> <td> <b>expire</b></td>
<td> <input name="expire" type="text" size="32"></td></tr>
<tr> <td> <b>retry</b></td>
<td> <input name="retry" type="text" size="32" ></td></tr>
<tr> <td> <b>refresh</b></td>
<td> <input name="refresh" type="text" size="32"></td></tr>
<tr> <td> <b>ttl</b></td>
<td> <input name="ttl" type="text" size="32"></td></tr>
<tr><td valign="top"> <b>nameservers</b></td>
<td>
{% for nameserver in nameservers %}
<input name="nameserver{{ forloop.counter0 }}" type="text" size="32"><br>
{% endfor %}
</td></tr>
<tr><td valign="top"> <b>mxs</b></td>
<td>
{% for mx in mxs %}
<input name="priority{{ forloop.counter0 }}" type="text" size="6" >
<input name="mx{{ forloop.counter0 }}" type="text" size="32" ><br>
{% endfor %}
</td></tr>
<tr><td valign="top"> <b>A records</b></td>
<td>
{% for address in addresses %}
<input name="address{{ forloop.counter0 }}" type="text" ><br>
{% endfor %}
</td></tr>
<tr> <td valign="top"> <b>aux</b> (for information not generated by the database)</td>
<td> <textarea rows="20" cols="80" name="aux">{{ zone.aux }}</textarea></td></tr>
</td></tr>
</table>
<p><input type="submit" value="Submit">
</form>
{% endblock %}
|