source: trunk/templates/editsoa.tmpl@ 793

Last change on this file since 793 was 589, checked in by Kris Deugau, 11 years ago

/trunk

Le sigh. Move a small fragment of HTML from the header back to all the
individual pages that need it, so we can selectively load and use
Javascript, and do some initial tweaking with body.onload.

File size: 2.3 KB
RevLine 
[589]1<body>
2<div id="main">
3
[2]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
[100]7<td align="center" valign="top">
[39]8
[2]9<TMPL_IF update_failed><div class="errmsg">Error updating SOA record: <TMPL_VAR NAME=msg></div></TMPL_IF>
[39]10
[100]11<div>Edit SOA</div>
[39]12
[2]13<div id="tableholder">
[39]14
[493]15<form action="<TMPL_VAR NAME=script_self>" method="post">
[39]16<fieldset>
17<input type="hidden" name="page" value="updatesoa" />
18<input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
19<input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
[277]20<input type="hidden" name="revrec" value="<TMPL_VAR NAME=revrec>" />
[39]21
22<table border="0" cellspacing="2" cellpadding="1" width="100%">
[2]23<tr class="darkrowheader">
[39]24 <td colspan="2" class="title"><TMPL_IF NAME=isgrp>Edit default SOA record for group <TMPL_ELSE>Edit SOA record for </TMPL_IF><TMPL_VAR NAME=parent></td>
[277]25 <td class="title">System defaults:</td>
[2]26</tr>
27<tr class="datalinelight">
28 <td class="inputlabel">Primary Name Server</td>
[39]29 <td><input name="prins" value="<TMPL_VAR NAME=prins>" /></td>
[2]30 <td class="data"><TMPL_VAR NAME=defns></td>
31</tr>
32<tr class="datalinelight">
33 <td class="inputlabel">Contact Address</td>
[39]34 <td><input name="contact" value="<TMPL_VAR NAME=contact>" /></td>
[2]35 <td class="data"><TMPL_VAR NAME=defcontact></td>
36</tr>
37<tr class="datalinelight">
38 <td class="inputlabel">SOA TTL</td>
[39]39 <td><input name="ttl" value="<TMPL_VAR NAME=ttl>" /></td>
[2]40 <td class="data"><TMPL_VAR NAME=defsoattl></td>
41</tr>
42<tr class="datalinelight">
43 <td class="inputlabel">Refresh</td>
[39]44 <td><input name="refresh" value="<TMPL_VAR NAME=refresh>" /></td>
[2]45 <td class="data"><TMPL_VAR NAME=defrefresh></td>
46</tr>
47<tr class="datalinelight">
48 <td class="inputlabel">Retry</td>
[39]49 <td><input name="retry" value="<TMPL_VAR NAME=retry>" /></td>
[2]50 <td class="data"><TMPL_VAR NAME=defretry></td>
51</tr>
52<tr class="datalinelight">
53 <td class="inputlabel">Expire</td>
[39]54 <td><input name="expire" value="<TMPL_VAR NAME=expire>" /></td>
[2]55 <td class="data"><TMPL_VAR NAME=defexpire></td>
56</tr>
57<tr class="datalinelight">
58 <td class="inputlabel">Minimum TTL</td>
[39]59 <td><input name="minttl" value="<TMPL_VAR NAME=minttl>" /></td>
[2]60 <td class="data"><TMPL_VAR NAME=defminttl></td>
61</tr>
62<tr class="datalinelight">
[39]63 <td colspan="3" align="center"><input type="submit" value=" Update record " /></td>
[2]64</tr>
65</table>
66
[39]67</fieldset>
[2]68</form>
69
70</div>
71
[39]72</td>
73</tr>
[2]74</table>
75
Note: See TracBrowser for help on using the repository browser.