Ignore:
Timestamp:
10/08/14 18:01:55 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

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

  • Netblock assignment
    • Update several supporting data-grabber subs in IPDB.pm
    • Update assignment sub
    • Update data-entry, confirmation, and acceptance/error page templates and related main.cgi sections
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/assign.tmpl

    r585 r633  
    1616</TMPL_IF>
    1717<td><TMPL_VAR NAME=allocfrom><input type="hidden" name="allocfrom" value="<TMPL_VAR NAME=allocfrom>">
    18 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
     18<input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
     19<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
    1920</td>
    2021</tr>
     
    8182
    8283<tr class="<TMPL_VAR NAME=rowa>">
    83 <td>Wifi tower/Fibre demarc</td>
     84<td>Layer-2/demarc node</td>
    8485<td>
    8586<select name="node">
     
    8889        <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option></TMPL_LOOP>
    8990</select>
    90 &nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc/tower</a>
     91&nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc node</a>
    9192</td>
    9293</tr>
     
    9495<TMPL_UNLESS allocfrom>
    9596<tr class="<TMPL_VAR NAME=rowb>">
    96 <td>Route from/through:</td>
     97<td>Limit to blocks in this location:</td>
    9798<td>
    9899<select name="pop">
     
    105106
    106107<tr class="<TMPL_VAR NAME=rowa>">
    107 <td>Route/allocate from this master:&nbsp;</td>
     108<td>Limit to blocks in this master:&nbsp;</td>
    108109<td>
    109110<select name="allocfrom">
    110111        <option selected="selected">-</option>
    111112<TMPL_LOOP NAME=masterlist>
    112         <option><TMPL_VAR NAME=master></option></TMPL_LOOP>
     113        <option value=<TMPL_VAR NAME=id>><TMPL_VAR NAME=master><TMPL_IF vrf> (<TMPL_VAR NAME=vrf>)</TMPL_IF></option></TMPL_LOOP>
    113114</select>
    114115Allow automatic allocation from private IP ranges:<input type="checkbox" name="allowpriv"></td>
Note: See TracChangeset for help on using the changeset viewer.