Changeset 818 for trunk/templates
- Timestamp:
- 03/10/16 18:02:41 (9 years ago)
- Location:
- trunk/templates
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/index2.tmpl
r815 r818 1 1 <br> 2 <table width="100%" cellspacing="0"> 3 <TMPL_IF vrflist> 4 <TMPL_LOOP NAME=vrflist> 5 <tr class="heading row0"><td width="20%"> 6 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showvrf&vrf=<TMPL_VAR NAME=vrf>"><TMPL_VAR NAME=vrf></a> 7 </td><td width="40%"><TMPL_VAR comment></td> 8 <td> </td> 9 </tr> 10 <tr><td colspan="3"> 11 <TMPL_VAR NAME=vrfinfo> 12 </td></tr> 13 <tr><td colspan=3><br><hr class="w90"></td></tr> 14 </TMPL_LOOP> 15 </table> 16 <TMPL_ELSE> 17 <div class="heading">No VRFs defined</div> 18 </TMPL_IF> 19 <TMPL_IF addvrf> 2 20 <div class="center"> 3 <table class="center altrows" width="98%" cellspacing="0">4 <TMPL_IF vrflist>5 <tr class="heading">6 <td>VRF</td>7 <td>Comment</td>8 </tr>9 <TMPL_LOOP NAME=vrflist>10 <tr>11 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showvrf&vrf=<TMPL_VAR NAME=vrf>"><TMPL_VAR NAME=vrf></a></td>12 <td><TMPL_VAR comment></td>13 </tr>14 </TMPL_LOOP>15 <TMPL_ELSE>16 <tr class="heading">17 <td>No VRFs defined</td>18 </tr>19 </TMPL_IF>20 </table>21 <TMPL_IF addvrf>22 21 <br> 23 22 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addvrf">Add new VRF</a> 23 </div> 24 24 </TMPL_IF> 25 </div> -
trunk/templates/showvrf.tmpl
r815 r818 1 < div class="tbltitle">Master netblocks in <TMPL_VAR NAME=vrf></div>1 <TMPL_UNLESS sub><div class="tbltitle">Master netblocks in <TMPL_VAR NAME=vrf></div></TMPL_UNLESS> 2 2 3 3 <br> 4 4 <div class="center"> 5 <TMPL_IF masterlist> 5 6 <table class="center altrows" width="98%" cellspacing="0"> 6 <TMPL_IF masterlist>7 7 <tr class="heading"> 8 8 <td>Master netblock</td> … … 21 21 </tr> 22 22 </TMPL_LOOP> 23 </table> 23 24 <TMPL_ELSE> 24 <tr class="heading"> 25 <td>No netblock data</td> 26 </tr> 25 <hr class="w30"> 26 <div class="tbltitle">No netblock data 27 <TMPL_IF maydel> 28 <br> 29 <form action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi" method=POST> 30 <fieldset><legend class="noshow"> </legend> 31 <input type=hidden name=action value="delete"> 32 <input type=hidden name=vrf value="<TMPL_VAR NAME=vrf>"> 33 <input type=submit value=" Remove this VRF "> 34 </fieldset> 35 </form> 27 36 </TMPL_IF> 28 </table> 37 </div> 38 </TMPL_IF> 29 39 <TMPL_IF addmaster> 30 40 <br> 31 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster& vrf=<TMPL_VAR NAME=vrf>">Add new master block</a>41 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster&vrf=<TMPL_VAR NAME=vrf>">Add new master block</a> 32 42 </TMPL_IF> 33 43 </div>
Note:
See TracChangeset
for help on using the changeset viewer.