Last change
on this file since 534 was 512, checked in by Kris Deugau, 12 years ago |
/branches/htmlform
Catch nuisance issue with templates that didn't previously include
the web path; now with it being set we need to put a placeholder
in so we don't spit HTML::Template errors.
See #3.
|
File size:
1.3 KB
|
Line | |
---|
1 | <TMPL_IF webpath></TMPL_IF>
|
---|
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 |
|
---|
20 | <table width="98%" cellspacing="0" class="center">
|
---|
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>
|
---|
30 | <tr class="row<TMPL_VAR NAME=rowclass>">
|
---|
31 | <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&block=<TMPL_VAR NAME=ip>"><TMPL_VAR NAME=ip></a></td>
|
---|
32 | <td><TMPL_VAR NAME=custid></td>
|
---|
33 | <td><TMPL_VAR NAME=available></td>
|
---|
34 | <td><TMPL_VAR NAME=desc></td>
|
---|
35 | <TMPL_IF maydel><td><TMPL_IF delme>
|
---|
36 | <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=delete&block=<TMPL_VAR NAME=ip>&alloctype=<TMPL_VAR NAME=type>">Unassign this IP</a>
|
---|
37 | </TMPL_IF></td></TMPL_IF>
|
---|
38 | </tr>
|
---|
39 | </TMPL_LOOP>
|
---|
40 |
|
---|
41 | </table>
|
---|
42 |
|
---|
43 | <br>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.