Ignore:
Timestamp:
10/09/14 12:37:39 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

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

  • Netblock update
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/edit.tmpl

    r586 r634  
    1111<fieldset><legend class="noshow">&nbsp;</legend>
    1212<input type="hidden" name="action" value="update">
    13 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
    14 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
     13<input type="hidden" name="block" value="<TMPL_VAR NAME=id>">
    1514</TMPL_IF>
    1615
     
    6160
    6261<tr class="row0">
    63 <td class=heading>Demarc/tower:</td>
     62<td class=heading>Layer-2/demarc node:</td>
    6463<td class=regular>
    65 <TMPL_IF typesupportsnodes>
    6664<TMPL_IF maychange>
    67 <select name="node"><TMPL_UNLESS havenodeid>
    68         <option selected="selected">--</option></TMPL_UNLESS>
     65<select name="node">
     66        <option selected="selected">--</option>
    6967<TMPL_LOOP NAME=nodelist>
    7068        <option value="<TMPL_VAR NAME=node_id>"<TMPL_IF selme> selected</TMPL_IF>><TMPL_VAR NAME=node_name></option></TMPL_LOOP>
    7169</select>
     70&nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc node</a>
    7271<TMPL_ELSE>
    7372<TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF>
    74 </TMPL_IF>
    75 <TMPL_ELSE>
    76 N/A
    7773</TMPL_IF>
    7874</td>
     
    158154<tr class="row<TMPL_IF nocling>0<TMPL_ELSE>1</TMPL_IF>">
    159155<td colspan="2" class="center">
     156<input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>">
    160157<input type="submit" value=" Update this block " class="regular">
    161158</td>
     
    175172<div class="row<TMPL_IF nocling><TMPL_IF maychange>1<TMPL_ELSE>0</TMPL_IF><TMPL_ELSE><TMPL_IF maychange>0<TMPL_ELSE>1</TMPL_IF></TMPL_IF>">
    176173<input type="hidden" name="action" value="delete">
    177 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>">
    178 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
     174<input type="hidden" name="block" value="<TMPL_VAR NAME=id>">
     175<input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>">
    179176<input type=submit value=" Delete this block ">
    180177</div>
Note: See TracChangeset for help on using the changeset viewer.