Changeset 633 for trunk/templates


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
Location:
trunk/templates
Files:
3 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>
  • trunk/templates/confirm.tmpl

    r585 r633  
    4444
    4545<tr class="row0">
    46 <td>Demarc switch/wifi tower:</td>
     46<td>Layer-2/demarc node:</td>
    4747<td><TMPL_VAR NAME=nodename></td>
    4848</tr>
     
    8484<td class="center" colspan="2">
    8585<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
    86 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
     86<input type="hidden" name="parent" value="<TMPL_VAR NAME=parent>">
     87<input type="hidden" name="fbid" value="<TMPL_VAR NAME=fbid>">
    8788<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
    8889<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
  • trunk/templates/insert.tmpl

    r575 r633  
    1212</TMPL_IF>
    1313</div>
    14 <div class="center">IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=parent>&amp;rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=parent></a></div>
     14<div class="center">IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR
     15NAME=parent>"><TMPL_VAR NAME=pool></a></div>
    1516<TMPL_ELSE>
    1617<div class="center">
     
    2021</TMPL_IF>
    2122</div>
    22 <div class="center">Allocations in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;block=<TMPL_VAR NAME=parent>&amp;rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=parent></a></div>
     23<div class="center">Allocations in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=parentid>"><TMPL_VAR NAME=parentblock></a></div>
    2324</TMPL_IF>
    2425</TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.