Changeset 682 for trunk/templates
- Timestamp:
- 01/20/15 16:57:05 (10 years ago)
- Location:
- trunk/templates
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/showsubs.tmpl
r653 r682 1 1 <div class="tbltitle">Subnets in <TMPL_VAR NAME=block></div> 2 <br>3 2 <TMPL_VAR NAME=addperm> 4 3 5 <TMPL_IF sublist> 4 <TMPL_IF contlist> 5 <br> 6 <hr class="w30"> 7 <div class="tbltitle">Containers</div> 8 <br> 9 <table class="center" width="98%" cellspacing="0"> 10 <tr> 11 <td class="heading">Container block</td> 12 <td class="heading">Location</td> 13 <td class="heading">Type</td> 14 <td class="heading">Description/Name</td> 15 <td class="heading">Allocations</td> 16 <td class="heading">Free blocks</td> 17 <td class="heading">Largest free block</td> 18 </tr> 19 20 <TMPL_LOOP NAME=contlist> 21 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 22 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=block></a></td> 23 <td><TMPL_VAR NAME=city></td> 24 <td><TMPL_VAR NAME=type></td> 25 <td><TMPL_VAR NAME=desc></td> 26 <td><TMPL_VAR NAME=suballocs></td> 27 <td><TMPL_VAR NAME=subfree></td> 28 <td><TMPL_VAR ESCAPE=HTML NAME=lfree></td> 29 </TMPL_LOOP> 30 </table> 31 <TMPL_ELSE> 32 <hr class="w30"> 33 <div class="tbltitle">No container blocks in <TMPL_VAR NAME=block></div> 34 </TMPL_IF> 35 36 <TMPL_IF alloclist> 37 <br> 38 <hr class="w30"> 39 <div class="tbltitle">Usage allocations</div> 40 <br> 6 41 <table width="98%" cellspacing="0" class="center"> 7 8 42 <tr> 9 <td class="heading"> Netblock</td>10 <td class="heading"> City</td>43 <td class="heading">CIDR allocation</td> 44 <td class="heading">Location</td> 11 45 <td class="heading">Type</td> 12 46 <td class="heading">CustID</td> … … 15 49 </tr> 16 50 17 <TMPL_LOOP NAME= sublist>51 <TMPL_LOOP NAME=alloclist> 18 52 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 19 53 <td> 20 <TMPL_IF hassubs>21 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=block></a>22 <TMPL_ELSE>23 54 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=id>&basetype=b"><TMPL_VAR NAME=block></a> 24 55 <TMPL_IF listpool> <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=id>">List IPs</a></TMPL_IF> 25 </TMPL_IF>26 56 </td> 27 57 <td><TMPL_VAR NAME=city></td> 28 58 <td><TMPL_VAR NAME=type></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>59 <td><TMPL_VAR NAME=custid></td> 30 60 <td><TMPL_VAR NAME=swip><TMPL_IF partswip><small>*</small></TMPL_IF></td> 31 61 <td><TMPL_VAR NAME=desc></td> 32 62 </tr> 33 <TMPL_IF hassubs>34 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">35 <td colspan=4>36 Containers: <TMPL_VAR NAME=subcontainers>, Allocations: <TMPL_VAR NAME=suballocs>, Free: <TMPL_VAR NAME=subfree>, Largest free: <TMPL_VAR ESCAPE=HTML NAME=lfree>37 </td><td colspan=2></td></tr>38 </TMPL_IF>39 63 </TMPL_LOOP> 40 64 </table> 41 65 <TMPL_ELSE> 42 66 <hr class="w30"> 43 <div class="tbltitle">No allocations in <TMPL_VAR NAME=block> 67 <div class="tbltitle">No usage allocations in <TMPL_VAR NAME=block></div> 68 </TMPL_IF> 69 44 70 <TMPL_IF maydel> 71 <div class="tbltitle"> 45 72 <br> 46 73 <form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST> … … 52 79 </fieldset> 53 80 </form> 54 </TMPL_IF>55 81 </div> 56 82 </TMPL_IF> -
trunk/templates/showsubs2.tmpl
r678 r682 18 18 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 19 19 <td> 20 <TMPL_IF subblock>Sub </TMPL_IF> 20 21 <TMPL_IF hassubs> 21 22 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=block></a>
Note:
See TracChangeset
for help on using the changeset viewer.