|
Last change
on this file since 918 was 918, checked in by Kris Deugau, 8 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
|
| Line | |
|---|
| 1 | <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF>
|
|---|
| 2 |
|
|---|
| 3 | <TMPL_IF err>
|
|---|
| 4 | <div class="err">
|
|---|
| 5 | <div class="heading"><TMPL_VAR NAME=err></div>
|
|---|
| 6 | <p><TMPL_VAR NAME=errmsg></p>
|
|---|
| 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>
|
|---|
| 14 | <div><a href="<TMPL_VAR NAME=billinglink>?action=new_radius_user&custid=<TMPL_VAR NAME=custid>&userid=<TMPL_VAR NAME=billinguser>&ipdb=1&ip=<TMPL_VAR NAME=staticip>">Add this IP to RADIUS user table</a></div>
|
|---|
| 15 | </TMPL_IF>
|
|---|
| 16 | </div>
|
|---|
| 17 | <div class="center">IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=parentid>"><TMPL_VAR NAME=parentblock></a></div>
|
|---|
| 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>
|
|---|
| 22 | <div><a href="<TMPL_VAR NAME=billinglink>?action=new_radius_user&custid=<TMPL_VAR NAME=custid>&userid=<TMPL_VAR NAME=billinguser>&route_subnet=<TMPL_VAR NAME=netaddr>&subnet_slash=<TMPL_VAR NAME=masklen>&include_routed_subnet=1&ipdb=1">Add this netblock to RADIUS user table</a></div>
|
|---|
| 23 | </TMPL_IF>
|
|---|
| 24 | </div>
|
|---|
| 25 | <div class="center">Allocations in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=parentid>"><TMPL_VAR NAME=parentblock></a></div>
|
|---|
| 26 | </TMPL_IF>
|
|---|
| 27 | </TMPL_IF>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.