source: branches/htmlform/templates/listpool.tmpl@ 506

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

/branches/htmlform

Convert listpool to template. See #3.

File size: 1.3 KB
RevLine 
[471]1<br>
2<div class="tbltitle">Listing pool IPs for <TMPL_VAR NAME=block><br>
3(<TMPL_VAR NAME=disptype> in <TMPL_VAR NAME=city>)</div>
4<br>
5
6<TMPL_IF realblock>
7<div class="indent"><b>Reserved IPs:</b><br>
8<div class="indent">
9<table>
10<tr class="row0"><td>Network IP:</td><td><TMPL_VAR NAME=netip></td></tr>
11<tr class="row1"><td>Gateway:</td><td><TMPL_VAR NAME=gate></td></tr>
12<tr class="row0"><td>Broadcast:</td><td><TMPL_VAR NAME=bcast></td></tr>
13<tr class="row1"><td>Netmask:</td><td><TMPL_VAR NAME=mask></td></tr>
14</table>
15</div>
16</div>
17</TMPL_IF>
18
19<table width="98%" cellspacing="0" class="center">
20<tr>
21<td class="heading">IP</td>
22<td class="heading">Customer ID</td>
23<td class="heading">Available?</td>
24<td class="heading">Description</td>
25<TMPL_IF maydel><td class="heading"></td></TMPL_IF>
26</tr>
27
28<TMPL_LOOP name=poolips>
29<tr class="row<TMPL_VAR NAME=rowclass>">
30<td><a href="/ip/cgi-bin/main.cgi?action=edit&amp;block=<TMPL_VAR NAME=ip>"><TMPL_VAR NAME=ip></a></td>
31<td><TMPL_VAR NAME=custid></td>
32<td><TMPL_VAR NAME=available></td>
33<td><TMPL_VAR NAME=desc></td>
34<TMPL_IF maydel><td><TMPL_IF delme>
35<a href="/ip/cgi-bin/main.cgi?action=delete&amp;block=<TMPL_VAR NAME=ip>&amp;alloctype=<TMPL_VAR NAME=type>">Unassign this IP</a>
36</TMPL_IF></td></TMPL_IF>
37</tr>
38</TMPL_LOOP>
39
40</table>
41
42<br>
Note: See TracBrowser for help on using the repository browser.