Changeset 626 for trunk/templates


Ignore:
Timestamp:
10/08/14 17:04:27 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

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

  • Update index/summary page template to match r625
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/index.tmpl

    r569 r626  
    22<div class="center">
    33<table class="center" width="98%" cellspacing="0">
     4<TMPL_IF masterlist>
    45<tr class="heading">
    56<td>Master netblock</td>
    6 <td>Routed netblocks</td>
     7<td>Primary VRF</td>
     8<td>Aggregation/Containers</td>
    79<td>Allocated netblocks</td>
    810<td>Free netblocks</td>
     
    1113<TMPL_LOOP NAME=masterlist>
    1214<tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
    13 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;block=<TMPL_VAR NAME=master>&amp;rdepth=1"><TMPL_VAR NAME=master></a></td>
     15<td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&amp;parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=master></a></td>
     16<td><TMPL_VAR NAME=vrf></td>
    1417<td><TMPL_VAR NAME=routed></td>
    1518<td><TMPL_VAR NAME=allocated></td>
     
    1821</tr>
    1922</TMPL_LOOP>
     23<TMPL_ELSE>
     24<tr class="heading">
     25<td>No netblock data</td>
     26</tr>
     27</TMPL_IF>
    2028</table>
    2129<TMPL_IF addmaster>
     30<br>
    2231<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster">Add new master block</a>
    2332</TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.