Last change
on this file since 781 was 687, checked in by Kris Deugau, 10 years ago |
/trunk
CSS and layout cleanup, sort of. Convert tables with alternating row
colours to pure CSS (mainly to make addition of future fields, and future
*optional* or restricted-access fields, much easier). Play a little loose
with table structure to let headings and in-page "titles" continue to show
the main background colour instead of the "first line of the table" colour.
|
File size:
950 bytes
|
Line | |
---|
1 | <br>
|
---|
2 | <div class="center">
|
---|
3 | <table class="center altrows" width="98%" cellspacing="0">
|
---|
4 | <TMPL_IF masterlist>
|
---|
5 | <tr class="heading">
|
---|
6 | <td>Master netblock</td>
|
---|
7 | <td>Primary VRF</td>
|
---|
8 | <td>Aggregation/Containers</td>
|
---|
9 | <td>Allocated netblocks</td>
|
---|
10 | <td>Free netblocks</td>
|
---|
11 | <td>Largest free block</td>
|
---|
12 | </tr>
|
---|
13 | <TMPL_LOOP NAME=masterlist>
|
---|
14 | <tr>
|
---|
15 | <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=master></a></td>
|
---|
16 | <td><TMPL_VAR NAME=vrf></td>
|
---|
17 | <td><TMPL_VAR NAME=routed></td>
|
---|
18 | <td><TMPL_VAR NAME=allocated></td>
|
---|
19 | <td><TMPL_VAR NAME=free></td>
|
---|
20 | <td><TMPL_VAR ESCAPE=HTML NAME=bigfree></td>
|
---|
21 | </tr>
|
---|
22 | </TMPL_LOOP>
|
---|
23 | <TMPL_ELSE>
|
---|
24 | <tr class="heading">
|
---|
25 | <td>No netblock data</td>
|
---|
26 | </tr>
|
---|
27 | </TMPL_IF>
|
---|
28 | </table>
|
---|
29 | <TMPL_IF addmaster>
|
---|
30 | <br>
|
---|
31 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster">Add new master block</a>
|
---|
32 | </TMPL_IF>
|
---|
33 | <br><br>
|
---|
34 | Note: Free blocks noted here include both routed and unrouted blocks.
|
---|
35 | </div>
|
---|
36 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.