source: trunk/templates/insert.tmpl@ 718

Last change on this file since 718 was 633, checked in by Kris Deugau, 10 years ago

/trunk

Commit 7/mumble for work done intermittently over the past ~year.
See #5, comment 25:

  • Netblock assignment
    • Update several supporting data-grabber subs in IPDB.pm
    • Update assignment sub
    • Update data-entry, confirmation, and acceptance/error page templates and related main.cgi sections
File size: 1.4 KB
Line 
1<TMPL_IF err>
2<div class="err">
3<p><TMPL_VAR NAME=err></p>
4<input type="button" value="Back" onclick="history.go(-1)">
5</div>
6<TMPL_ELSE>
7<TMPL_IF staticip>
8<div class="center">
9<div class="heading">The IP <TMPL_VAR NAME=staticip> has been allocated to customer <TMPL_VAR NAME=custid></div>
10<TMPL_IF billinguser>
11<div><a href="https://billing.example.com/radius.pl?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>
12</TMPL_IF>
13</div>
14<div class="center">IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR
15NAME=parent>"><TMPL_VAR NAME=pool></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="https://billing.example.com/radius.pl?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.