source: trunk/templates/newrevzone.tmpl@ 491

Last change on this file since 491 was 446, checked in by Kris Deugau, 12 years ago

/trunk

Fine-tune new reverse zone process to support setting a default
location.
Also make sure that an initial new location will be created as a
two-character alphabetic ID, since we're being paranoid about what
tinydns will accept for these.

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