source: trunk/templates/insert.tmpl @ 839

Last change on this file since 839 was 839, checked in by Kris Deugau, 7 years ago

/trunk

Convert a lingering custom patch to another configuration knob. See #26.

File size: 1.4 KB
Line 
1<TMPL_IF err>
2<div class="err">
3<div class="heading"><TMPL_VAR NAME=err></div>
4<p><TMPL_VAR NAME=errmsg></p>
5<input type="button" value="Back" onclick="history.go(-1)">
6</div>
7<TMPL_ELSE>
8<TMPL_IF staticip>
9<div class="center">
10<div class="heading">The IP <TMPL_VAR NAME=staticip> has been allocated to customer <TMPL_VAR NAME=custid></div>
11<TMPL_IF billinguser>
12<div><a href="<TMPL_VAR NAME=billinglink>?action=new_radius_user&amp;custid=<TMPL_VAR NAME=custid>&amp;userid=<TMPL_VAR NAME=billinguser>&amp;ipdb=1&amp;ip=<TMPL_VAR NAME=staticip>">Add this IP to RADIUS user table</a></div>
13</TMPL_IF>
14</div>
15<div class="center">IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=parentid>"><TMPL_VAR NAME=parentblock></a></div>
16<TMPL_ELSE>
17<div class="center">
18<div class="heading">The block <TMPL_VAR NAME=fullcidr> was sucessfully added as: <TMPL_VAR NAME=alloctype></div>
19<TMPL_IF billinguser>
20<div><a href="<TMPL_VAR NAME=billinglink>?action=new_radius_user&amp;custid=<TMPL_VAR NAME=custid>&amp;userid=<TMPL_VAR NAME=billinguser>&amp;route_subnet=<TMPL_VAR NAME=netaddr>&amp;subnet_slash=<TMPL_VAR NAME=masklen>&amp;include_routed_subnet=1&amp;ipdb=1">Add this netblock to RADIUS user table</a></div>
21</TMPL_IF>
22</div>
23<div class="center">Allocations in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=parentid>"><TMPL_VAR NAME=parentblock></a></div>
24</TMPL_IF>
25</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.