source: trunk/templates/listpool.tmpl @ 917

Last change on this file since 917 was 917, checked in by Kris Deugau, 4 years ago

/trunk

Continue adding a generalized block-notice system. See #17 and #23, sort of.

  • showsubs browse pages
  • IP pool list page
  • Netblock editing page
File size: 1.7 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><br>
6(<TMPL_VAR NAME=disptype> in <TMPL_VAR NAME=city>)<TMPL_IF vlan><br>
7VLAN <TMPL_VAR NAME=vlan></TMPL_IF>
8<TMPL_VAR NAME=poolpctfree>% free</div>
9
10<br>
11
12<TMPL_IF realblock>
13<div class="indent"><b>Reserved IPs:</b><br>
14<div class="indent">
15<table>
16<tr class="row0"><td>Network IP:</td><td><TMPL_VAR NAME=netip></td></tr>
17<tr class="row1"><td>Gateway:</td><td><TMPL_VAR NAME=gate></td></tr>
18<tr class="row0"><td>Broadcast:</td><td><TMPL_VAR NAME=bcast></td></tr>
19<tr class="row1"><td>Netmask:</td><td><TMPL_VAR NAME=mask></td></tr>
20</table>
21</div>
22</div>
23</TMPL_IF>
24
25<table width="98%" cellspacing="0" class="center altrows">
26<tr>
27<td class="heading">IP</td>
28<td class="heading">Customer ID</td>
29<td class="heading">Available?</td>
30<td class="heading">Description</td>
31<TMPL_IF maydel><td class="heading"></td></TMPL_IF>
32</tr>
33
34<TMPL_LOOP name=poolips>
35<tr>
36<td>
37<TMPL_IF delme>
38<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>
39<TMPL_ELSE>
40<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>
41</TMPL_IF>
42</td>
43<td><TMPL_VAR NAME=custid></td>
44<td><TMPL_VAR NAME=available></td>
45<td><TMPL_VAR NAME=desc></td>
46<TMPL_IF maydel><td><TMPL_IF delme>
47<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>
48</TMPL_IF></td></TMPL_IF>
49</tr>
50</TMPL_LOOP>
51
52</table>
53
54<br>
Note: See TracBrowser for help on using the repository browser.