source: trunk/templates/addmaster.tmpl@ 862

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

/trunk

Pass VRF in to add master page, and include it in the database checks. See #54.
Add missing breadcrumb links on add master entry and confirmation pages.

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