source: trunk/templates/listpool.tmpl@ 823

Last change on this file since 823 was 771, checked in by Kris Deugau, 9 years ago

/trunk

Show VLAN on IP pool listing

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