source: trunk/templates/editsoa.tmpl@ 596

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