Changeset 568
- Timestamp:
- 12/19/12 17:05:38 (12 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/showsubs.tmpl
r550 r568 1 <div class="tbltitle">Su mmarizing allocated blocks for <TMPL_VAR NAME=master> (<TMPL_VAR NAME=rcity>):</div>1 <div class="tbltitle">Subnets in <TMPL_VAR NAME=block></div> 2 2 <br> 3 <TMPL_VAR NAME=addperm> 3 4 4 <TMPL_IF blocklist>5 <TMPL_IF sublist> 5 6 <table width="98%" cellspacing="0" class="center"> 6 7 7 8 <tr> 8 <td class="heading"> CIDR allocation</td>9 <td class="heading">C ustomer Location</td>9 <td class="heading">Netblock</td> 10 <td class="heading">City</td> 10 11 <td class="heading">Type</td> 11 12 <td class="heading">CustID</td> … … 14 15 </tr> 15 16 16 <TMPL_LOOP NAME= blocklist>17 <TMPL_LOOP NAME=sublist> 17 18 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 18 19 <td> 19 <TMPL_IF subblock>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&block=<TMPL_VAR NAME=block>"><TMPL_VAR NAME=block></a> 20 <TMPL_IF listpool> <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=block>">List IPs</a></TMPL_IF> 20 <TMPL_IF hassubs> 21 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&block=<TMPL_VAR NAME=block>&rdepth=<TMPL_VAR NAME=subdepth>"><TMPL_VAR NAME=block></a> 22 <TMPL_ELSE> 23 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&block=<TMPL_VAR NAME=block>&rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=block></a> 24 <TMPL_IF listpool> <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=block>&rdepth=<TMPL_VAR NAME=rdepth>">List IPs</a></TMPL_IF> 25 </TMPL_IF> 21 26 </td> 22 27 <td><TMPL_VAR NAME=city></td> 23 28 <td><TMPL_VAR NAME=type></td> 24 <td>< TMPL_VAR NAME=custid></td>29 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi?stype=q&input=<TMPL_VAR NAME=custid>"><TMPL_VAR NAME=custid></a></td> 25 30 <td><TMPL_VAR NAME=swip><TMPL_IF partswip><small>*</small></TMPL_IF></td> 26 31 <td><TMPL_VAR NAME=desc></td> … … 30 35 <TMPL_ELSE> 31 36 <hr class="w30"> 32 <div class="tbltitle">No allocations in <TMPL_VAR NAME= master>.33 <TMPL_IF delrouted>37 <div class="tbltitle">No allocations in <TMPL_VAR NAME=block>. 38 <TMPL_IF maydel> 34 39 <br> 35 40 <form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST> 36 41 <fieldset><legend class="noshow"> </legend> 37 42 <input type=hidden name=action value="delete"> 38 <input type=hidden name=block value="<TMPL_VAR NAME= master>">39 <input type=hidden name= alloctype value="rm">43 <input type=hidden name=block value="<TMPL_VAR NAME=block>"> 44 <input type=hidden name=rdepth value="<TMPL_VAR NAME=deldepth>"> 40 45 <input type=submit value=" Remove this block "> 41 46 </fieldset> … … 48 53 <hr class="w60"> 49 54 50 <div class="tbltitle">Free blocks within routed block <TMPL_VAR NAME=master></div>55 <div class="tbltitle">Free blocks within <TMPL_VAR NAME=block></div> 51 56 52 <TMPL_IF unassigned>57 <TMPL_IF freelist> 53 58 <table width="98%" cellspacing="0" class="center"> 54 59 <tr> … … 57 62 </tr> 58 63 59 <TMPL_LOOP name= unassigned>64 <TMPL_LOOP name=freelist> 60 65 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 61 <td><TMPL_IF subblock>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR NAME=fblock>&fbtype=<TMPL_VAR NAME=fbtype>"><TMPL_VAR NAME=fblock></a></td> 66 <TMPL_IF newvrf><td colspan=2>vrf: <TMPL_VAR NAME=newvrf></td> 67 <TMPL_ELSE> 68 <td> 69 <TMPL_IF mayadd> 70 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR NAME=fblock>&rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=fblock></a> 71 <TMPL_ELSE> 72 <TMPL_VAR NAME=fblock> 73 </TMPL_IF> 74 </td> 62 75 <td><TMPL_VAR NAME=frange></td> 76 </TMPL_IF> 63 77 </tr> 64 78 </TMPL_LOOP> … … 67 81 <br> 68 82 <hr class="w30"> 69 <div class="tbltitle">No unassigned blocks in routed block <TMPL_VAR NAME=master></div>83 <div class="tbltitle">No unassigned blocks in <TMPL_VAR NAME=block></div> 70 84 </TMPL_IF>
Note:
See TracChangeset
for help on using the changeset viewer.