Last change
on this file since 764 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:
1.5 KB
|
Rev | Line | |
---|
[512] | 1 | <TMPL_IF webpath></TMPL_IF>
|
---|
[471] | 2 | <br>
|
---|
| 3 | <div class="tbltitle">Listing pool IPs for <TMPL_VAR NAME=block><br>
|
---|
| 4 | (<TMPL_VAR NAME=disptype> in <TMPL_VAR NAME=city>)</div>
|
---|
| 5 | <br>
|
---|
| 6 |
|
---|
| 7 | <TMPL_IF realblock>
|
---|
| 8 | <div class="indent"><b>Reserved IPs:</b><br>
|
---|
| 9 | <div class="indent">
|
---|
| 10 | <table>
|
---|
| 11 | <tr class="row0"><td>Network IP:</td><td><TMPL_VAR NAME=netip></td></tr>
|
---|
| 12 | <tr class="row1"><td>Gateway:</td><td><TMPL_VAR NAME=gate></td></tr>
|
---|
| 13 | <tr class="row0"><td>Broadcast:</td><td><TMPL_VAR NAME=bcast></td></tr>
|
---|
| 14 | <tr class="row1"><td>Netmask:</td><td><TMPL_VAR NAME=mask></td></tr>
|
---|
| 15 | </table>
|
---|
| 16 | </div>
|
---|
| 17 | </div>
|
---|
| 18 | </TMPL_IF>
|
---|
| 19 |
|
---|
[687] | 20 | <table width="98%" cellspacing="0" class="center altrows">
|
---|
[471] | 21 | <tr>
|
---|
| 22 | <td class="heading">IP</td>
|
---|
| 23 | <td class="heading">Customer ID</td>
|
---|
| 24 | <td class="heading">Available?</td>
|
---|
| 25 | <td class="heading">Description</td>
|
---|
| 26 | <TMPL_IF maydel><td class="heading"></td></TMPL_IF>
|
---|
| 27 | </tr>
|
---|
| 28 |
|
---|
| 29 | <TMPL_LOOP name=poolips>
|
---|
[687] | 30 | <tr>
|
---|
[570] | 31 | <td>
|
---|
| 32 | <TMPL_IF delme>
|
---|
[630] | 33 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=id>&basetype=i"><TMPL_VAR NAME=ip></a>
|
---|
[570] | 34 | <TMPL_ELSE>
|
---|
[630] | 35 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR NAME=id>&parent=<TMPL_VAR NAME=parent>&fbtype=i"><TMPL_VAR NAME=ip></a>
|
---|
[570] | 36 | </TMPL_IF>
|
---|
| 37 | </td>
|
---|
[471] | 38 | <td><TMPL_VAR NAME=custid></td>
|
---|
| 39 | <td><TMPL_VAR NAME=available></td>
|
---|
| 40 | <td><TMPL_VAR NAME=desc></td>
|
---|
| 41 | <TMPL_IF maydel><td><TMPL_IF delme>
|
---|
[630] | 42 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=delete&block=<TMPL_VAR NAME=id>&basetype=i&parent=<TMPL_VAR NAME=parent>">Unassign this IP</a>
|
---|
[471] | 43 | </TMPL_IF></td></TMPL_IF>
|
---|
| 44 | </tr>
|
---|
| 45 | </TMPL_LOOP>
|
---|
| 46 |
|
---|
| 47 | </table>
|
---|
| 48 |
|
---|
| 49 | <br>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.