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

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

/branches/htmlform

Added missing index and footer templates
Update default CSS with definitions for footer, alternate-row colours
Have main.cgi look for a template matching $webvar{action}
Convert main summary page content to template
See #3.

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