[512] | 1 | <TMPL_IF webpath></TMPL_IF>
|
---|
[469] | 2 | <div class="indent">
|
---|
| 3 |
|
---|
[470] | 4 | <table cellpadding="0" cellspacing="0">
|
---|
[687] | 5 |
|
---|
[469] | 6 | <tr>
|
---|
| 7 | <td>
|
---|
| 8 |
|
---|
| 9 | <TMPL_IF maychange>
|
---|
| 10 | <form method="POST" action="main.cgi">
|
---|
[513] | 11 | <fieldset><legend class="noshow"> </legend>
|
---|
[469] | 12 | <input type="hidden" name="action" value="update">
|
---|
[634] | 13 | <input type="hidden" name="block" value="<TMPL_VAR NAME=id>">
|
---|
[469] | 14 | </TMPL_IF>
|
---|
| 15 |
|
---|
[687] | 16 | <table class="altrows" cellspacing="1">
|
---|
| 17 | <tr class="heading"><td>Edit the information below</td></tr>
|
---|
[469] | 18 |
|
---|
[687] | 19 | <tr>
|
---|
[469] | 20 | <td class=heading>IP block:</td>
|
---|
| 21 | <td class="regular"><TMPL_VAR NAME=block></td>
|
---|
| 22 | </tr>
|
---|
| 23 |
|
---|
[695] | 24 | <TMPL_IF reserve>
|
---|
[687] | 25 | <tr>
|
---|
[695] | 26 | <td class="heading">Expand allocation:</td>
|
---|
| 27 | <td>
|
---|
| 28 | <input type="checkbox" name="expandme" value="<TMPL_VAR NAME=reserve_id>">Add <TMPL_VAR NAME=reserve> to make <TMPL_VAR NAME=newblock>
|
---|
| 29 | <input type="hidden" name="newblock" value="<TMPL_VAR NAME=newblock>">
|
---|
| 30 | </td>
|
---|
| 31 | </tr>
|
---|
| 32 | </TMPL_IF>
|
---|
| 33 |
|
---|
| 34 | <tr>
|
---|
[675] | 35 | <td class="heading">Reverse DNS:</td>
|
---|
[586] | 36 | <td class="regular">
|
---|
[675] | 37 | Pattern: <TMPL_IF maychange>
|
---|
[586] | 38 | <input type="text" name="rdns" size="40" value="<TMPL_VAR NAME=rdns>">
|
---|
| 39 | <TMPL_ELSE>
|
---|
| 40 | <TMPL_VAR NAME=rdns>
|
---|
| 41 | </TMPL_IF>
|
---|
| 42 | <input type="button" value=" ? " onclick="helpRDNS()" class="regular">
|
---|
[675] | 43 | <TMPL_IF cached>(cached)</TMPL_IF>
|
---|
| 44 | <TMPL_IF r_iplist>
|
---|
| 45 | <div class="rdns revdata">
|
---|
| 46 | <ul class="collapsible notalist">
|
---|
| 47 | <li>
|
---|
| 48 | <label for="per-iplist">Per-IP reverse entries (click to show) <img src="<TMPL_VAR NAME=webpath>/images/tree_open.png"></label>
|
---|
| 49 | <input type="checkbox" id="per-iplist" />
|
---|
| 50 | <ul class="notalist">
|
---|
| 51 | <li>
|
---|
| 52 | <table>
|
---|
| 53 | <TMPL_LOOP name="r_iplist">
|
---|
| 54 | <tr>
|
---|
| 55 | <td><TMPL_VAR NAME=r_ip></td>
|
---|
| 56 | <td><input class="host" name="host_<TMPL_VAR NAME=r_ip>" value="<TMPL_VAR NAME=iphost>"></td>
|
---|
| 57 | </tr>
|
---|
| 58 | </TMPL_LOOP>
|
---|
| 59 | </table>
|
---|
| 60 | </li>
|
---|
| 61 | </ul>
|
---|
| 62 | </li>
|
---|
| 63 | </ul>
|
---|
| 64 | </div>
|
---|
| 65 | </TMPL_IF>
|
---|
[586] | 66 | </td>
|
---|
| 67 | </tr>
|
---|
| 68 |
|
---|
[687] | 69 | <tr>
|
---|
[469] | 70 | <td class=heading>City:</td>
|
---|
| 71 | <td class="regular">
|
---|
| 72 | <TMPL_IF maychange>
|
---|
| 73 | <input type=text name=city value="<TMPL_VAR NAME=city>">
|
---|
| 74 | <TMPL_ELSE>
|
---|
| 75 | <TMPL_VAR NAME=city>
|
---|
| 76 | </TMPL_IF>
|
---|
| 77 | </td>
|
---|
| 78 | </tr>
|
---|
| 79 |
|
---|
[687] | 80 | <tr>
|
---|
[469] | 81 | <td class=heading>Type:</td>
|
---|
| 82 | <td class=regular>
|
---|
| 83 | <TMPL_IF changetype>
|
---|
| 84 | <select name=alloctype>
|
---|
| 85 | <TMPL_LOOP name=alloctype> <option <TMPL_IF selme>selected="selected"</TMPL_IF> value="<TMPL_VAR NAME=type>"><TMPL_VAR NAME=disptype></option>
|
---|
| 86 | </TMPL_LOOP>
|
---|
| 87 | </select>
|
---|
| 88 | <TMPL_ELSE>
|
---|
| 89 | <TMPL_VAR NAME=disptype>
|
---|
[470] | 90 | <input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
|
---|
[469] | 91 | </TMPL_IF>
|
---|
| 92 | </td>
|
---|
| 93 | </tr>
|
---|
| 94 |
|
---|
[687] | 95 | <tr>
|
---|
[634] | 96 | <td class=heading>Layer-2/demarc node:</td>
|
---|
[469] | 97 | <td class=regular>
|
---|
| 98 | <TMPL_IF maychange>
|
---|
[634] | 99 | <select name="node">
|
---|
| 100 | <option selected="selected">--</option>
|
---|
[469] | 101 | <TMPL_LOOP NAME=nodelist>
|
---|
[530] | 102 | <option value="<TMPL_VAR NAME=node_id>"<TMPL_IF selme> selected</TMPL_IF>><TMPL_VAR NAME=node_name></option></TMPL_LOOP>
|
---|
[469] | 103 | </select>
|
---|
[634] | 104 | <a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc node</a>
|
---|
[469] | 105 | <TMPL_ELSE>
|
---|
[470] | 106 | <TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF>
|
---|
[469] | 107 | </TMPL_IF>
|
---|
| 108 | </td>
|
---|
| 109 | </tr>
|
---|
| 110 |
|
---|
[687] | 111 | <tr>
|
---|
[691] | 112 | <td class="heading">VRF instance:</td>
|
---|
| 113 | <td class="regular">
|
---|
| 114 | <TMPL_IF maychange>
|
---|
| 115 | <input type="text" name="vrf" value="<TMPL_VAR NAME=vrf>">
|
---|
| 116 | <TMPL_ELSE>
|
---|
| 117 | <TMPL_VAR NAME=vrf>
|
---|
| 118 | </TMPL_IF>
|
---|
| 119 | </td>
|
---|
| 120 | </tr>
|
---|
| 121 |
|
---|
| 122 | <tr>
|
---|
| 123 | <td class="heading">VLAN:</td>
|
---|
| 124 | <td class="regular">
|
---|
| 125 | <TMPL_IF maychange>
|
---|
| 126 | <input type="text" name="vlan" value="<TMPL_VAR NAME=vlan>">
|
---|
| 127 | <TMPL_ELSE>
|
---|
| 128 | <TMPL_VAR NAME=vlan>
|
---|
| 129 | </TMPL_IF>
|
---|
| 130 | </td>
|
---|
| 131 | </tr>
|
---|
| 132 |
|
---|
| 133 | <tr>
|
---|
[469] | 134 | <td class=heading>CustID:</td>
|
---|
| 135 | <td class="regular">
|
---|
| 136 | <TMPL_IF maychange>
|
---|
| 137 | <input type=text name=custid value="<TMPL_VAR NAME=custid>" maxlength=15 class="regular">
|
---|
| 138 | <TMPL_ELSE>
|
---|
| 139 | <TMPL_VAR NAME=custid>
|
---|
| 140 | </TMPL_IF>
|
---|
| 141 | </td>
|
---|
| 142 | </tr>
|
---|
| 143 |
|
---|
[687] | 144 | <tr>
|
---|
[469] | 145 | <td class=heading>SWIPed?:</td>
|
---|
| 146 | <td class=regular>
|
---|
[470] | 147 | <TMPL_IF swipable>
|
---|
[469] | 148 | <TMPL_IF maychange>
|
---|
[534] | 149 | <input type="checkbox" name="swip"<TMPL_IF swip> checked="checked"</TMPL_IF>>
|
---|
[469] | 150 | <TMPL_ELSE>
|
---|
| 151 | <TMPL_IF swip>Yes<TMPL_ELSE>No</TMPL_IF>
|
---|
| 152 | </TMPL_IF>
|
---|
[470] | 153 | <TMPL_ELSE>
|
---|
| 154 | N/A
|
---|
| 155 | </TMPL_IF>
|
---|
[469] | 156 | </td>
|
---|
| 157 | </tr>
|
---|
| 158 |
|
---|
[687] | 159 | <tr>
|
---|
[469] | 160 | <td class=heading>Last modified:</td>
|
---|
| 161 | <td class=regular><TMPL_VAR NAME=lastmod></td>
|
---|
| 162 | </tr>
|
---|
| 163 |
|
---|
[687] | 164 | <tr>
|
---|
[469] | 165 | <td class="heading">Circuit ID:</td>
|
---|
| 166 | <td class="regular">
|
---|
| 167 | <TMPL_IF maychange>
|
---|
[534] | 168 | <input type="text" name="circid" value="<TMPL_VAR ESCAPE=HTML NAME=circid>" maxlength=64 size=64 class="regular">
|
---|
[469] | 169 | <TMPL_ELSE>
|
---|
[534] | 170 | <TMPL_VAR ESCAPE=HTML NAME=circid>
|
---|
[469] | 171 | </TMPL_IF>
|
---|
| 172 | </td>
|
---|
| 173 | </tr>
|
---|
| 174 |
|
---|
[687] | 175 | <tr>
|
---|
[469] | 176 | <td class="heading">Description/Name:</td>
|
---|
| 177 | <td class="regular">
|
---|
| 178 | <TMPL_IF maychange>
|
---|
[534] | 179 | <input type="text" name="desc" value="<TMPL_VAR ESCAPE=HTML NAME=desc>" maxlength=64 size=64 class="regular">
|
---|
[469] | 180 | <TMPL_ELSE>
|
---|
[534] | 181 | <TMPL_VAR ESCAPE=HTML NAME=desc>
|
---|
[469] | 182 | </TMPL_IF>
|
---|
| 183 | </td>
|
---|
| 184 | </tr>
|
---|
| 185 |
|
---|
[687] | 186 | <tr>
|
---|
[469] | 187 | <td class="heading" valign="top">Notes:</td>
|
---|
| 188 | <td class="regular">
|
---|
[534] | 189 | <TMPL_IF maychange><textarea rows="8" cols="64" name="notes" class="regular"><TMPL_VAR ESCAPE=HTML NAME=notes></textarea>
|
---|
[469] | 190 | <TMPL_ELSE>
|
---|
[534] | 191 | <TMPL_VAR ESCAPE=HTML NAME=notes>
|
---|
[469] | 192 | </TMPL_IF>
|
---|
| 193 | </td>
|
---|
| 194 | </tr>
|
---|
| 195 |
|
---|
| 196 | <TMPL_IF nocling>
|
---|
[687] | 197 | <tr>
|
---|
[470] | 198 | <td class="heading" valign="top">Restricted data:</td>
|
---|
| 199 | <td class="regular">
|
---|
[469] | 200 | <TMPL_IF maychange>
|
---|
[534] | 201 | <textarea rows="3" cols="64" name="privdata" class="regular"><TMPL_VAR ESCAPE=HTML NAME=privdata></textarea>
|
---|
[469] | 202 | <TMPL_ELSE>
|
---|
[534] | 203 | <TMPL_VAR ESCAPE=HTML NAME=privdata>
|
---|
[469] | 204 | </TMPL_IF>
|
---|
| 205 | </td>
|
---|
| 206 | </tr>
|
---|
| 207 | </TMPL_IF>
|
---|
| 208 |
|
---|
| 209 | <TMPL_IF maychange>
|
---|
[687] | 210 | <tr>
|
---|
[470] | 211 | <td colspan="2" class="center">
|
---|
[634] | 212 | <input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>">
|
---|
[470] | 213 | <input type="submit" value=" Update this block " class="regular">
|
---|
| 214 | </td>
|
---|
| 215 | </tr>
|
---|
| 216 | </TMPL_IF>
|
---|
| 217 | </table>
|
---|
| 218 | <TMPL_IF maychange>
|
---|
[469] | 219 | </fieldset>
|
---|
| 220 | </form>
|
---|
| 221 | </TMPL_IF>
|
---|
| 222 |
|
---|
| 223 | <TMPL_IF maydel>
|
---|
[470] | 224 | </td></tr>
|
---|
| 225 | <tr><td class="center">
|
---|
[469] | 226 | <form method="POST" action="main.cgi">
|
---|
[513] | 227 | <fieldset><legend class="noshow"> </legend>
|
---|
[687] | 228 | <div class="revdata">
|
---|
[469] | 229 | <input type="hidden" name="action" value="delete">
|
---|
[634] | 230 | <input type="hidden" name="block" value="<TMPL_VAR NAME=id>">
|
---|
| 231 | <input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>">
|
---|
[469] | 232 | <input type=submit value=" Delete this block ">
|
---|
| 233 | </div>
|
---|
[470] | 234 | </fieldset>
|
---|
[469] | 235 | </form>
|
---|
| 236 | </TMPL_IF>
|
---|
[470] | 237 |
|
---|
[469] | 238 | </td>
|
---|
| 239 | </tr>
|
---|
| 240 | </table>
|
---|
| 241 |
|
---|
| 242 | </div>
|
---|