source: trunk/templates/newrevzone.tmpl@ 621

Last change on this file since 621 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: 1.9 KB
RevLine 
[589]1<body>
2<div id="main">
3
[260]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
[493]9<form action="<TMPL_VAR NAME=script_self>">
[260]10<fieldset>
11
12<input type="hidden" name="page" value="addrevzone" />
13<input type="hidden" name="newrevzone" value="yes" />
14
15<table class="container" width="450">
16<tr><td>
17 <table border="0" cellspacing="2" cellpadding="2" width="100%">
[270]18<TMPL_IF errmsg> <tr><td class="errhead" colspan="2">Error adding reverse zone <TMPL_VAR NAME=revzone>:
[260]19<TMPL_VAR NAME=errmsg></td></tr></TMPL_IF>
20 <tr class="darkrowheader"><td colspan="2" align="center">Add Reverse Zone</td></tr>
21
22 <tr class="datalinelight">
23 <td>CIDR network or reverse zone name:</td>
24 <td align="left"><input type="text" name="revzone" value="<TMPL_VAR NAME=revzone>" /></td>
25 </tr>
26 <tr class="datalinelight">
27 <td>Default reverse hostname pattern:</td>
28 <td align="left"><input type="text" name="revpatt" value="<TMPL_VAR NAME=revpatt>" /></td>
29 </tr>
30 <tr class="datalinelight">
31 <td>Add reverse zone to group:</td>
32 <td><select name="group">
33<TMPL_LOOP name=grouplist> <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
34</TMPL_LOOP>
35 </select></td>
36 </tr>
37 <tr class="datalinelight">
38 <td>Make reverse zone active on next DNS propagation</td><td><input type="checkbox" name="makeactive" checked="checked" /></td>
39 </tr>
[516]40<TMPL_IF location_view><TMPL_IF record_locchg>
41 <tr class="datalinelight">
42 <td>Location/view:</td>
43 <td align="left">
44 <select name="location">
45 <TMPL_LOOP loclist>
46 <option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected="selected"</TMPL_IF>><TMPL_VAR NAME=locname></option>
47 </TMPL_LOOP>
48 </select>
49 </td>
50 </tr>
51</TMPL_IF></TMPL_IF>
[260]52 <tr><td colspan="2" class="tblsubmit"><input type="submit" value="Add reverse zone" /></td></tr>
53 </table>
54 </td>
55</tr>
56</table>
57
58</fieldset>
59</form>
60
61</td></tr>
62</table>
Note: See TracBrowser for help on using the repository browser.