summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html b/src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html
new file mode 100644
index 000000000..12ea3e484
--- /dev/null
+++ b/src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html
@@ -0,0 +1,66 @@
+{% 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" %}
+{% 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 %}
+