Last change
on this file since 708 was 705, checked in by Kris Deugau, 10 years ago |
/trunk
- Complete internal handling for "shrink block". See #7 (more or less).
- Add "breadcrumb" navigation fragments to split/shrink prep and do pages
- Add link to pool IP list on edit and split/shrink prep pages
- Shave off some useless code showing the split results
- Catch the theoretically impossible case of "no subact value" on
submitting split/shrink form
Still need to add calls to monkey rDNS on split/shrink changes
|
File size:
1.3 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>
|
---|
[705] | 32 | <td><TMPL_LOOP name=newfb><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR
|
---|
| 33 | NAME=newfree>&fbid=<TMPL_VAR NAME=fbid>&parent=<TMPL_VAR NAME=fbparent>"><TMPL_VAR
|
---|
| 34 | NAME=newfree></a><TMPL_UNLESS __last__><br></TMPL_UNLESS></TMPL_LOOP>
|
---|
| 35 | </td>
|
---|
[702] | 36 | </tr>
|
---|
| 37 | </TMPL_IF>
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | </table>
|
---|
| 41 |
|
---|
| 42 | <br>
|
---|
| 43 | <div class="backlink indent">
|
---|
| 44 | <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>
|
---|
| 45 | </div>
|
---|
| 46 | </TMPL_IF>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.