source: trunk/templates/index.tmpl@ 687

Last change on this file since 687 was 687, checked in by Kris Deugau, 9 years ago

/trunk

CSS and layout cleanup, sort of. Convert tables with alternating row
colours to pure CSS (mainly to make addition of future fields, and future
*optional* or restricted-access fields, much easier). Play a little loose
with table structure to let headings and in-page "titles" continue to show
the main background colour instead of the "first line of the table" colour.

File size: 950 bytes
RevLine 
[450]1<br>
[451]2<div class="center">
[687]3<table class="center altrows" width="98%" cellspacing="0">
[626]4<TMPL_IF masterlist>
[451]5<tr class="heading">
[450]6<td>Master netblock</td>
[626]7<td>Primary VRF</td>
8<td>Aggregation/Containers</td>
[450]9<td>Allocated netblocks</td>
[451]10<td>Free netblocks</td>
11<td>Largest free block</td>
[450]12</tr>
13<TMPL_LOOP NAME=masterlist>
[687]14<tr>
[626]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>
[450]17<td><TMPL_VAR NAME=routed></td>
18<td><TMPL_VAR NAME=allocated></td>
19<td><TMPL_VAR NAME=free></td>
[525]20<td><TMPL_VAR ESCAPE=HTML NAME=bigfree></td>
[450]21</tr>
22</TMPL_LOOP>
[626]23<TMPL_ELSE>
24<tr class="heading">
25<td>No netblock data</td>
26</tr>
27</TMPL_IF>
[450]28</table>
29<TMPL_IF addmaster>
[626]30<br>
[511]31<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster">Add new master block</a>
[450]32</TMPL_IF>
33<br><br>
34Note: Free blocks noted here include both routed and unrouted blocks.
[451]35</div>
[450]36
Note: See TracBrowser for help on using the repository browser.