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

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

/branches/htmlform

Move Javascript from the header into its own file
Convert index page (master block summary) to template
Convert header to template, use template header in main.cgi
and search.cgi - going to leave admin.cgi out for now
Update HTML in header, index, footer to HTML 4.01 strict
See #3.

File size: 770 bytes
Line 
1<br>
2<div class="center">
3<table class="centre" 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="<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.