Changeset 638 for trunk/templates


Ignore:
Timestamp:
10/09/14 18:13:22 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

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

  • Update block delete. Includes a little current work to fix outstanding edge case issues
Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/delete.tmpl

    r590 r638  
    22<div class="heading">Please confirm removal of:</div>
    33<br>
     4<TMPL_VAR NAME=err>
    45
    56<form action="main.cgi" method="POST" class="regular">
     
    6970<td class="center" colspan="2">
    7071<input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm">
    71 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
    72 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
     72<input type="hidden" name="block" value="<TMPL_VAR NAME=blockid>">
     73<input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>">
    7374<input type="hidden" name="action" value="finaldelete">
    7475</td>
  • trunk/templates/finaldelete.tmpl

    r591 r638  
    66<div class="heading">Success!  <TMPL_VAR NAME=block> deallocated.</div>
    77<TMPL_IF genwarn><br><div><TMPL_VAR NAME=genwarn></div></TMPL_IF>
    8 <TMPL_IF bparent><br><div>
     8<TMPL_IF parent_id><br><div>
    99Warning: 
    10 <TMPL_IF mergeip>IPs in <TMPL_VAR NAME=block> were released as available static IPs in <TMPL_VAR NAME=bparent>
    11 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=bparent>&amp;rdepth=<TMPL_VAR NAME=brdepth>"><TMPL_VAR NAME=bparent></a>,<br>
     10<TMPL_IF mergeip>IPs in <TMPL_VAR NAME=block> were released as available static IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=parent_id>"><TMPL_VAR NAME=parent></a>,<br>
    1211not released for general netblock assignment under
    13 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;block=<TMPL_VAR NAME=delparent>&amp;rdepth=<TMPL_VAR NAME=prdepth>"><TMPL_VAR NAME=delparent></a>.
     12<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent></a>.
    1413<TMPL_ELSE>
    15 <TMPL_VAR NAME=block> was released as free and merged with blocks under
    16 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;block=<TMPL_VAR NAME=bparent>&amp;rdepth=<TMPL_VAR NAME=brdepth>"><TMPL_VAR NAME=bparent></a>,
    17 not <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;block=<TMPL_VAR NAME=delparent>&amp;rdepth=<TMPL_VAR NAME=prdepth>"><TMPL_VAR NAME=delparent></a>.
     14<TMPL_VAR NAME=block> was released as free and merged with blocks under <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=parent_id>"><TMPL_VAR NAME=parent></a>,
     15not <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent></a>.
    1816</TMPL_IF>
    1917</div>
    2018<TMPL_ELSE>
    21 <TMPL_IF delparent><div>Return to <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;block=<TMPL_VAR NAME=delparent>&amp;rdepth=<TMPL_VAR NAME=prdepth>"><TMPL_VAR NAME=delparent></a></div></TMPL_IF>
     19<TMPL_IF delparent_id>
     20<TMPL_IF returnpool>
     21<div>Return to <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent></a></div>
     22<TMPL_ELSE>
     23<div>Return to <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=delparent_id>"><TMPL_VAR NAME=delparent></a></div>
     24</TMPL_IF>
     25</TMPL_IF>
    2226</TMPL_IF>
    2327</TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.