source: trunk/templates/addmaster.tmpl@ 687

Last change on this file since 687 was 687, checked in by Kris Deugau, 9 years ago

/trunk

CSS and layout cleanup, sort of. Convert tables with alternating row
colours to pure CSS (mainly to make addition of future fields, and future
*optional* or restricted-access fields, much easier). Play a little loose
with table structure to let headings and in-page "titles" continue to show
the main background colour instead of the "first line of the table" colour.

File size: 1016 bytes
Line 
1<div class="indent">
2<form method="POST" action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi">
3<fieldset><legend class="noshow">&nbsp;</legend>
4<table class="regular altrows" cellspacing="1" cellpadding="1">
5<tr class="heading"><td>Add new master IP block</td></tr>
6<tr>
7<td>Master block to add: (CIDR)</td>
8<td><input type="text" name="cidr"></td>
9</tr>
10<tr>
11<td>Default VRF:</td>
12<td><input type="text" name="vrf"></td>
13</tr>
14<tr>
15<td>Default rDNS pattern:</td>
16<td><input type="text" name="rdns"><input type="button" value=" ? " onclick="helpRDNS()" class="regular"></td>
17</tr>
18<tr>
19<TMPL_IF loclist>
20<td>Default DNS scope:</td>
21<td>
22<select name="loc">
23<TMPL_LOOP loclist>
24<option value="<TMPL_VAR NAME=loc>"<TMPL_IF selected> selected</TMPL_IF>><TMPL_VAR NAME=locname></option>
25</TMPL_LOOP>
26</select>
27</td>
28</tr>
29<tr>
30<TMPL_ELSE>
31</TMPL_IF>
32<td class="center" colspan="2"><input type="submit" value=" Assign "></td>
33</tr>
34</table>
35<input type="hidden" name="action" value="newmaster">
36</fieldset>
37</form>
38</div>
Note: See TracBrowser for help on using the repository browser.