diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-11-16 22:44:58 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-11-16 22:44:58 +0000 |
commit | 60d1e22e17b0065daeebe446e58e2c023e650bb7 (patch) | |
tree | c172b0aa25245b966e4660ae42b8768b7691a8ff /src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html | |
parent | 71f47d076cde79880f895616f12c2f8dd009b515 (diff) | |
download | bcfg2-60d1e22e17b0065daeebe446e58e2c023e650bb7.tar.gz bcfg2-60d1e22e17b0065daeebe446e58e2c023e650bb7.tar.bz2 bcfg2-60d1e22e17b0065daeebe446e58e2c023e650bb7.zip |
updated backend code for zone views in Hostbase
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2501 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html')
-rw-r--r-- | src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html | 60 |
1 files changed, 18 insertions, 42 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html b/src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html index b3d12f9f8..a085b1433 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/zonenew.html @@ -14,54 +14,30 @@ {% endblock %} {% block content %} - -<form name="zonedata" action="?sub=true" method="post"> +<form name="zonedata" action="" 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> - +<tr><td><label for="id_zone">zone:</label></td> <td>{{ form.zone }}</td></tr> +<tr><td><label for="id_admin">admin:</label></td> <td>{{ form.admin }}</td></tr> +<tr><td><label for="id_primary_master">primary_master:</label></td> <td>{{ form.primary_master }}</td></tr> +<tr><td><label for="id_expire">expire:</label></td> <td>{{ form.expire }}</td></tr> +<tr><td><label for="id_retry">retry:</label></td> <td>{{ form.retry }}</td></tr> +<tr><td><label for="id_refresh">refresh:</label></td> <td>{{ form.refresh }}</td></tr> +<tr><td><label for="id_ttl">ttl:</label></td> <td>{{ form.ttl }}</td></tr> +<tr><td><label for="id_name">nameserver:</label> <td>{{ nsform.name }}</td></tr> +<tr><td><label for="id_name">nameserver:</label> <td>{{ nsform.name }}</td></tr> +<tr><td><label for="id_name">nameserver:</label> <td>{{ nsform.name }}</td></tr> +<tr><td><label for="id_name">nameserver:</label> <td>{{ nsform.name }}</td></tr> +<tr><td><label for="id_mx">mx:</label> <td>{{ mxform.priority }} {{ mxform.mx }}</td></tr> +<tr><td><label for="id_mx">mx:</label> <td>{{ mxform.priority }} {{ mxform.mx }}</td></tr> +<tr><td><label for="id_mx">ip address:</label> <td>{{ aform.ip_addr }}</td></tr> +<tr><td><label for="id_mx">ip address:</label> <td>{{ aform.ip_addr }}</td></tr> +<tr><td><label for="id_aux">aux:<br> +(information not generated from Hostbase)</label></td> <td>{{ form.aux }}</td></tr> </table> <p><input type="submit" value="Submit"> </form> - {% endblock %} |