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

Last change on this file since 478 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
Line 
1<br>
2<div class="center">
3<table class="center" width="98%" cellspacing="0">
4<tr class="heading">
5<td>Master netblock</td>
6<td>Routed netblocks</td>
7<td>Allocated netblocks</td>
8<td>Free netblocks</td>
9<td>Largest free block</td>
10</tr>
11<TMPL_LOOP NAME=masterlist>
12<tr class="row<TMPL_VAR name=rowclass>">
13<td><a href="/ip/cgi-bin/main.cgi?action=showmaster&amp;block=<TMPL_VAR NAME=master>"><TMPL_VAR NAME=master></a></td>
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.
26</div>
27
Note: See TracBrowser for help on using the repository browser.