source: branches/htmlform/templates/index.tmpl@ 492

Last change on this file since 492 was 478, checked in by Kris Deugau, 14 years ago

/branches/htmlfrom

Set a global variable so we can move the site to any level of
web directory. See #17 - note this is an internal autoconfiguration
that shouldn't need to be exposed.
Make code/template structure for setting row colours in tables more
consistent - also tweak search.cgi so it spits out live colour
classes. See #3.

File size: 773 bytes
RevLine 
[450]1<br>
[451]2<div class="center">
[466]3<table class="center" width="98%" cellspacing="0">
[451]4<tr class="heading">
[450]5<td>Master netblock</td>
6<td>Routed netblocks</td>
7<td>Allocated netblocks</td>
[451]8<td>Free netblocks</td>
9<td>Largest free block</td>
[450]10</tr>
11<TMPL_LOOP NAME=masterlist>
[478]12<tr class="row<TMPL_VAR name=rowclass>">
[451]13<td><a href="/ip/cgi-bin/main.cgi?action=showmaster&amp;block=<TMPL_VAR NAME=master>"><TMPL_VAR NAME=master></a></td>
[450]14<td><TMPL_VAR NAME=routed></td>
15<td><TMPL_VAR NAME=allocated></td>
16<td><TMPL_VAR NAME=free></td>
17<td><TMPL_VAR NAME=bigfree></td>
18</tr>
19</TMPL_LOOP>
20</table>
21<TMPL_IF addmaster>
22<a href="/ip/cgi-bin/main.cgi?action=addmaster">Add new master block</a>
23</TMPL_IF>
24<br><br>
25Note: Free blocks noted here include both routed and unrouted blocks.
[451]26</div>
[450]27
Note: See TracBrowser for help on using the repository browser.