Changeset 457
- Timestamp:
- 08/03/10 18:02:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/templates/assign.tmpl
r456 r457 9 9 <br> 10 10 11 <form method="post" action="main.cgi" class="regular"> 12 <fieldset><legend></legend> 13 14 <TMPL_IF NAME=block> 15 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>"> 16 <input type="hidden" name="fbassign" value="y"> 17 </TMPL_IF> 18 11 19 <table class="regular" cellspacing="1" cellpadding="1"> 12 <form method="POST" action="main.cgi" class="regular">13 20 14 21 <tr class="row0"> 15 <td>Customer location: </td>22 <td>Customer location:</td> 16 23 <td> 17 <select name="city"><option selected>-</option> 18 <TMPL_LOOP NAME=citylist><option><TMPL_VAR NAME=city></option></TMPL_LOOP> 24 <select name="city"> 25 <option selected="selected">-</option> 26 <TMPL_LOOP NAME=citylist> 27 <option><TMPL_VAR NAME=city></option></TMPL_LOOP> 19 28 </select> 20 29 <a href="javascript:popNotes('/ip/newcity.html')">Add new location</a> … … 37 46 </tr> 38 47 39 <TMPL_IF NAME=block> 40 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>"> 41 <input type="hidden" name="fbassign" value="y"> 42 <TMPL_ELSE> 48 <TMPL_UNLESS NAME=block> 43 49 <tr class="row0"> 44 <td>Subnet CIDR mask length: </td>45 <td valign= top> / <input type="text" name="maskbits" size="3" maxlength="3"></td>50 <td>Subnet CIDR mask length:</td> 51 <td valign="top"> / <input type="text" name="maskbits" size="3" maxlength="3"></td> 46 52 </tr> 47 </TMPL_ IF>53 </TMPL_UNLESS> 48 54 49 55 <tr class="<TMPL_VAR NAME=rowa>"> 50 <td>Customer ID: </td>56 <td>Customer ID:</td> 51 57 <td><input type="text" name="custid" size="15" maxlength="15"> (Only required for Customer allocations)</td> 52 58 </tr> … … 56 62 <td> 57 63 <select name="node"> 58 <option selected >-</option>64 <option selected="selected">-</option> 59 65 <TMPL_LOOP NAME=nodelist> 60 66 <option value="<TMPL_VAR NAME=nid>"><TMPL_VAR NAME=nname></option></TMPL_LOOP> … … 66 72 <TMPL_UNLESS NAME=block> 67 73 <tr class="<TMPL_VAR NAME=rowa>"> 68 <td>Route from/through: </td>74 <td>Route from/through:</td> 69 75 <td> 70 76 <select name="pop"> 71 <option selected value= >-</option>77 <option selected value="">-</option> 72 78 <TMPL_LOOP NAME=pops> 73 79 <option><TMPL_VAR NAME=pop></option></TMPL_LOOP> … … 79 85 <td>Route/allocate from this master: </td> 80 86 <td> 81 <select name= allocfrom>82 <option selected >-</option>87 <select name="allocfrom"> 88 <option selected="selected">-</option> 83 89 <TMPL_LOOP NAME=masterlist> 84 90 <option><TMPL_VAR NAME=master></option></TMPL_LOOP> 85 91 </select> 86 Allow automatic allocation from private IP ranges:<input type= checkbox name=allowpriv></td>92 Allow automatic allocation from private IP ranges:<input type="checkbox" name="allowpriv"></td> 87 93 </tr> 88 94 </TMPL_UNLESS> 89 95 90 96 <tr class="<TMPL_VAR NAME=rowa>"> 91 <td>Circuit ID: </td>92 <td><input name= circid size=40></td>97 <td>Circuit ID:</td> 98 <td><input name="circid" size="40"></td> 93 99 </tr> 94 100 95 101 <tr class="<TMPL_VAR NAME=rowb>"> 96 <td>Description/Name: </td>97 <td><input name="desc" size= 40></td>102 <td>Description/Name:</td> 103 <td><input name="desc" size="40"></td> 98 104 </tr> 99 105 … … 112 118 <tr class="<TMPL_IF NAME=privdata><TMPL_VAR NAME=rowa><TMPL_ELSE><TMPL_VAR NAME=rowb></TMPL_IF>"> 113 119 <td class="center" colspan="2"><input type="submit" value=" Assign "></td> 114 <input type="hidden" name="action" value="confirm">115 120 </tr> 116 121 117 </form>118 122 </table> 119 123 124 <input type="hidden" name="action" value="confirm"> 125 </fieldset> 126 </form> 127 120 128 </div>
Note:
See TracChangeset
for help on using the changeset viewer.