source: trunk/templates/showrouted.tmpl@ 522

Last change on this file since 522 was 517, checked in by Kris Deugau, 12 years ago

/trunk

Finally merge conversion to HTML::Template from /branches/htmlform

  • Node "hack" showed conflict due to having been added to all branches in parallel
  • editDisplay.html was apparently changed enough that the merged delete caused an irrelevant conflict

Closes #3.

File size: 2.1 KB
RevLine 
[467]1<div class="tbltitle">Summarizing allocated blocks for <TMPL_VAR NAME=master> (<TMPL_VAR NAME=rcity>):</div>
2<br>
3
4<TMPL_IF blocklist>
5<table width="98%" cellspacing="0" class="center">
6
7<tr>
8<td class="heading">CIDR allocation</td>
9<td class="heading">Customer Location</td>
10<td class="heading">Type</td>
11<td class="heading">CustID</td>
12<td class="heading">SWIPed?</td>
13<td class="heading">Description/Name</td>
14</tr>
15
16<TMPL_LOOP NAME=blocklist>
17<tr class="row<TMPL_VAR NAME=rowclass>">
18<td>
[511]19<TMPL_IF subblock>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&amp;block=<TMPL_VAR NAME=block>"><TMPL_VAR NAME=block></a>
20<TMPL_IF listpool> &nbsp; <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=block>">List IPs</a></TMPL_IF>
[467]21</td>
22<td><TMPL_VAR NAME=city></td>
23<td><TMPL_VAR NAME=type></td>
24<td><TMPL_VAR NAME=custid></td>
25<td><TMPL_VAR NAME=swip></td>
26<td><TMPL_VAR NAME=desc></td>
27</tr>
28</TMPL_LOOP>
29</table>
30<TMPL_ELSE>
31<hr class="w30">
32<div class="tbltitle">No allocations in <TMPL_VAR NAME=master>.
33<TMPL_IF delrouted>
34<br>
[511]35<form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST>
[513]36<fieldset><legend class="noshow">&nbsp;</legend>
[467]37<input type=hidden name=action value="delete">
38<input type=hidden name=block value="1.2.12.0/23">
39<input type=hidden name=alloctype value="rm">
40<input type=submit value=" Remove this block ">
41</fieldset>
42</form>
43</TMPL_IF>
44</div>
45</TMPL_IF>
46
47<br>
48<hr class="w60">
49
50<div class="tbltitle">Free blocks within routed block <TMPL_VAR NAME=master></div>
51
52<TMPL_IF unassigned>
53<table width="98%" cellspacing="0" class="center">
54<tr>
55<td class="heading">CIDR block</td>
56<td class="heading">Range</td>
57</tr>
58
59<TMPL_LOOP name=unassigned>
60<tr class="row<TMPL_VAR NAME=rowclass>">
[511]61<td><TMPL_IF subblock>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&amp;block=<TMPL_VAR NAME=fblock>&amp;fbtype=<TMPL_VAR NAME=fbtype>"><TMPL_VAR NAME=fblock></a></td>
[467]62<td><TMPL_VAR NAME=frange></td>
63</tr>
64</TMPL_LOOP>
65</table>
66<TMPL_ELSE>
67<br>
68<hr class="w30">
[474]69<div class="tbltitle">No unassigned blocks in routed block <TMPL_VAR NAME=master></div>
[467]70</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.