Last change
on this file since 823 was 710, checked in by Kris Deugau, 10 years ago |
/trunk
Refine split/shrink result page for case where there is nothing returned
(shrink a master block).
|
File size:
1.4 KB
|
Rev | Line | |
---|
[702] | 1 | <TMPL_IF err>
|
---|
| 2 | <div class="regular err">
|
---|
| 3 | <p><TMPL_VAR NAME=err></p>
|
---|
| 4 | <input type="button" value="Back" onclick="history.go(-1)">
|
---|
| 5 | </div>
|
---|
| 6 | <TMPL_ELSE>
|
---|
| 7 |
|
---|
| 8 | <table class="indent altrows" cellspacing="1" cellpadding="1">
|
---|
[705] | 9 | <tr class="heading"><td colspan="2">Allocation resized:</td></tr>
|
---|
[702] | 10 |
|
---|
| 11 | <tr>
|
---|
| 12 | <td>Original IP block:</td>
|
---|
| 13 | <td><TMPL_VAR NAME=cidr></td>
|
---|
| 14 | </tr>
|
---|
| 15 |
|
---|
| 16 | <TMPL_IF issplit>
|
---|
| 17 | <tr>
|
---|
| 18 | <td>New netblocks:</td>
|
---|
| 19 | <td>
|
---|
[705] | 20 | <TMPL_LOOP NAME=newblocks><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=nid>&basetype=b"><TMPL_VAR NAME=nblock><TMPL_UNLESS __last__><br></TMPL_UNLESS>
|
---|
[702] | 21 | </TMPL_LOOP>
|
---|
| 22 | </td>
|
---|
| 23 | </tr>
|
---|
| 24 | <TMPL_ELSE>
|
---|
| 25 | <tr>
|
---|
[705] | 26 | <td>Shrunk netblock:</td>
|
---|
| 27 | <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=nid>&basetype=b"><TMPL_VAR
|
---|
| 28 | NAME=newblock></a></td>
|
---|
[702] | 29 | </tr>
|
---|
| 30 | <tr>
|
---|
| 31 | <td>New free block:</td>
|
---|
[710] | 32 | <td>
|
---|
| 33 | <TMPL_IF newfb>
|
---|
| 34 | <TMPL_LOOP name=newfb><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR
|
---|
[705] | 35 | NAME=newfree>&fbid=<TMPL_VAR NAME=fbid>&parent=<TMPL_VAR NAME=fbparent>"><TMPL_VAR
|
---|
| 36 | NAME=newfree></a><TMPL_UNLESS __last__><br></TMPL_UNLESS></TMPL_LOOP>
|
---|
[710] | 37 | <TMPL_ELSE>
|
---|
| 38 | N/A
|
---|
| 39 | </TMPL_IF>
|
---|
[705] | 40 | </td>
|
---|
[702] | 41 | </tr>
|
---|
| 42 | </TMPL_IF>
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 | </table>
|
---|
| 46 |
|
---|
| 47 | <br>
|
---|
| 48 | <div class="backlink indent">
|
---|
| 49 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=<TMPL_IF backpool>listpool&pool=<TMPL_ELSE>showsubs&parent=</TMPL_IF><TMPL_VAR NAME=backid>">Back to <TMPL_VAR NAME=backblock></a>
|
---|
| 50 | </div>
|
---|
| 51 | </TMPL_IF>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.