source: trunk/templates/listpool.tmpl@ 939

Last change on this file since 939 was 933, checked in by Kris Deugau, 2 years ago

/trunk

Merge inexplicably unmerged get-pool-IPs-as-CSV feature from production
Fix long-missing VLAN display snafu on allocation update "done OK" page
Update @INC-munger in main.cgi
Update copyright block and style

File size: 1.9 KB
Line 
1<TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF>
2
3<TMPL_IF webpath></TMPL_IF>
4<br>
5<div class="tbltitle">Listing pool IPs for <TMPL_VAR NAME=block>
6<br>(<TMPL_VAR NAME=disptype> in <TMPL_VAR NAME=city>)
7<TMPL_IF vlan><br>VLAN <TMPL_VAR NAME=vlan></TMPL_IF>
8<br><TMPL_VAR NAME=poolpctfree>% free
9<TMPL_IF csvlink><br><a href="<TMPL_VAR NAME=webpath>/<TMPL_VAR NAME=poolid>-<TMPL_VAR NAME=city>.csv">Download</a> IP, CustID, Description as CSV</TMPL_IF>
10</div>
11
12<br>
13
14<TMPL_IF realblock>
15<div class="indent"><b>Reserved IPs:</b><br>
16<div class="indent">
17<table>
18<tr class="row0"><td>Network IP:</td><td><TMPL_VAR NAME=netip></td></tr>
19<tr class="row1"><td>Gateway:</td><td><TMPL_VAR NAME=gate></td></tr>
20<tr class="row0"><td>Broadcast:</td><td><TMPL_VAR NAME=bcast></td></tr>
21<tr class="row1"><td>Netmask:</td><td><TMPL_VAR NAME=mask></td></tr>
22</table>
23</div>
24</div>
25</TMPL_IF>
26
27<table width="98%" cellspacing="0" class="center altrows">
28<tr>
29<td class="heading">IP</td>
30<td class="heading">Customer ID</td>
31<td class="heading">Available?</td>
32<td class="heading">Description</td>
33<TMPL_IF maydel><td class="heading"></td></TMPL_IF>
34</tr>
35
36<TMPL_LOOP name=poolips>
37<tr>
38<td>
39<TMPL_IF delme>
40<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>
41<TMPL_ELSE>
42<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>
43</TMPL_IF>
44</td>
45<td><TMPL_VAR NAME=custid></td>
46<td><TMPL_VAR NAME=available></td>
47<td><TMPL_VAR NAME=desc></td>
48<TMPL_IF maydel><td><TMPL_IF delme>
49<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>
50</TMPL_IF></td></TMPL_IF>
51</tr>
52</TMPL_LOOP>
53
54</table>
55
56<br>
Note: See TracBrowser for help on using the repository browser.