Changeset 575 for trunk/templates
- Timestamp:
- 12/21/12 17:43:19 (12 years ago)
- Location:
- trunk/templates
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/assign.tmpl
r530 r575 1 1 <div class="indent"> 2 <TMPL_IF block> 3 <div class="tblsubtitle"> 4 Assign free <TMPL_IF iscontained><TMPL_VAR NAME=fbdisptype></TMPL_IF> block <TMPL_VAR NAME=block> 5 </div> 6 <TMPL_ELSE> 7 <div class="tblsubtitle">Assign IPs</div> 8 </TMPL_IF> 2 <div class="tblsubtitle">Assign IP<TMPL_UNLESS fbip>s</TMPL_UNLESS></div> 9 3 <br> 10 4 … … 12 6 <fieldset><legend class="noshow"> </legend> 13 7 14 <TMPL_IF block> 15 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>"> 8 <table class="regular" cellspacing="1" cellpadding="1"> 9 10 <TMPL_IF allocfrom> 11 <tr class="row0"> 12 <TMPL_IF fbip> 13 <td>IP pool:</td> 14 <TMPL_ELSE> 15 <td>Free block selected:</td> 16 </TMPL_IF> 17 <td><TMPL_VAR NAME=allocfrom><input type="hidden" name="allocfrom" value="<TMPL_VAR NAME=allocfrom>"> 18 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>"> 19 </td> 20 </tr> 21 <tr class="row1"> 22 <TMPL_IF fbip> 23 <td>IP:</td> 24 <td> 25 <TMPL_VAR NAME=block><input type="hidden" name="block" value="<TMPL_VAR NAME=block>"> 16 26 <input type="hidden" name="fbassign" value="y"> 27 </td> 28 <TMPL_ELSE> 29 <td>Allocation:</td> 30 <td> 31 <input name="block" value="<TMPL_VAR NAME=block>"> 32 <input type="hidden" name="fbassign" value="y"> 33 </td> 17 34 </TMPL_IF> 18 19 < table class="regular" cellspacing="1" cellpadding="1">35 </tr> 36 </TMPL_IF> 20 37 21 38 <tr class="row0"> … … 34 51 <td>Allocation type:</td> 35 52 <td> 36 <TMPL_IF iscontained>53 <TMPL_IF fbip> 37 54 <TMPL_VAR NAME=fbdisptype><input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>"> 38 55 <TMPL_ELSE> … … 46 63 </tr> 47 64 48 <TMPL_UNLESS block>65 <TMPL_UNLESS allocfrom> 49 66 <tr class="row0"> 50 67 <td>Subnet CIDR mask length:</td> … … 66 83 <option value="<TMPL_VAR NAME=node_id>"><TMPL_VAR NAME=node_name></option></TMPL_LOOP> 67 84 </select> 68 <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new location</a>85 <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc/tower</a> 69 86 </td> 70 87 </tr> 71 88 72 <TMPL_UNLESS block>89 <TMPL_UNLESS allocfrom> 73 90 <tr class="<TMPL_VAR NAME=rowa>"> 74 91 <td>Route from/through:</td> -
trunk/templates/confirm.tmpl
r517 r575 23 23 <td> 24 24 <select name="alloc_from"> 25 <TMPL_LOOP name=poollist> <option value="<TMPL_VAR NAME=poolblock> "><TMPL_VAR NAME=poolblock> [<TMPL_VAR NAME=poolfree>] free IP(s) in <TMPL_VAR NAME=poolcit></option>25 <TMPL_LOOP name=poollist> <option value="<TMPL_VAR NAME=poolblock>,<TMPL_VAR NAME=poolrdepth>"><TMPL_VAR NAME=poolblock> [<TMPL_VAR NAME=poolfree>] free IP(s) in <TMPL_VAR NAME=poolcit></option> 26 26 </TMPL_LOOP></select> 27 27 </td> … … 77 77 <td class="center" colspan="2"> 78 78 <TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS> 79 <input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>"> 79 80 <input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>"> 80 81 <input type="hidden" name="city" value="<TMPL_VAR NAME=city>"> -
trunk/templates/insert.tmpl
r517 r575 1 <TMPL_IF webpath></TMPL_IF>2 1 <TMPL_IF err> 3 2 <div class="err"> … … 13 12 </TMPL_IF> 14 13 </div> 14 <div class="center">IPs in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=parent>&rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=parent></a></div> 15 15 <TMPL_ELSE> 16 16 <div class="center"> … … 20 20 </TMPL_IF> 21 21 </div> 22 <div class="center">Allocations in <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&block=<TMPL_VAR NAME=parent>&rdepth=<TMPL_VAR NAME=rdepth>"><TMPL_VAR NAME=parent></a></div> 22 23 </TMPL_IF> 23 24 </TMPL_IF> -
trunk/templates/listpool.tmpl
r570 r575 40 40 <td><TMPL_VAR NAME=desc></td> 41 41 <TMPL_IF maydel><td><TMPL_IF delme> 42 <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>42 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=delete&block=<TMPL_VAR NAME=ip>&rdepth=<TMPL_VAR NAME=ipdepth>&alloctype=<TMPL_VAR NAME=type>">Unassign this IP</a> 43 43 </TMPL_IF></td></TMPL_IF> 44 44 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.