source: trunk/templates/insert.tmpl@ 935

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

/trunk

Continue adding a generalized block-notice system. See #17 and #23, sort of.

  • followup/acknowledgement/info page after completing an allocation
File size: 1.5 KB
RevLine 
[918]1<TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF>
2
[463]3<TMPL_IF err>
4<div class="err">
[766]5<div class="heading"><TMPL_VAR NAME=err></div>
6<p><TMPL_VAR NAME=errmsg></p>
[463]7<input type="button" value="Back" onclick="history.go(-1)">
8</div>
9<TMPL_ELSE>
10<TMPL_IF staticip>
11<div class="center">
12<div class="heading">The IP <TMPL_VAR NAME=staticip> has been allocated to customer <TMPL_VAR NAME=custid></div>
13<TMPL_IF billinguser>
[839]14<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>
[463]15</TMPL_IF>
16</div>
[766]17<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>
[463]18<TMPL_ELSE>
19<div class="center">
20<div class="heading">The block <TMPL_VAR NAME=fullcidr> was sucessfully added as: <TMPL_VAR NAME=alloctype></div>
21<TMPL_IF billinguser>
[839]22<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>
[463]23</TMPL_IF>
24</div>
[633]25<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>
[463]26</TMPL_IF>
27</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.