source: trunk/templates/index.tmpl@ 525

Last change on this file since 525 was 525, checked in by Kris Deugau, 12 years ago

/trunk

Found the HTML::Template knob to twist to allow listMaster() etc to
pass back '<NONE>' instead of '&lt;NONE&gt;'. See #34, #3 (sort of).

File size: 841 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_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
13<td><a href="<TMPL_VAR NAME=webpath>/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 ESCAPE=HTML NAME=bigfree></td>
18</tr>
19</TMPL_LOOP>
20</table>
21<TMPL_IF addmaster>
22<a href="<TMPL_VAR NAME=webpath>/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.