diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-10-16 21:31:40 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-10-16 21:31:40 +0000 |
commit | f0e601a84d9ffb7e70e6d3013d311bdd0480cf34 (patch) | |
tree | f70faabbd47b48866ec9023641e578578e3cb4db /src | |
parent | 57e1c71f68e3d6f24b041915e2e5cba17917a987 (diff) | |
download | bcfg2-f0e601a84d9ffb7e70e6d3013d311bdd0480cf34.tar.gz bcfg2-f0e601a84d9ffb7e70e6d3013d311bdd0480cf34.tar.bz2 bcfg2-f0e601a84d9ffb7e70e6d3013d311bdd0480cf34.zip |
template for adding a new zone
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2438 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html | 66 |
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 %} + |