source: trunk/templates/edit.tmpl@ 638

Last change on this file since 638 was 634, checked in by Kris Deugau, 10 years ago

/trunk

Commit 8/mumble for work done intermittently over the past ~year.
See #5, comment 25:

  • Netblock update
File size: 4.6 KB
RevLine 
[512]1<TMPL_IF webpath></TMPL_IF>
[469]2<div class="indent">
3<div class="heading">Edit the information below</div>
4
[470]5<table cellpadding="0" cellspacing="0">
[469]6<tr>
7<td>
8
9<TMPL_IF maychange>
10<form method="POST" action="main.cgi">
[513]11<fieldset><legend class="noshow">&nbsp;</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
[470]16<table cellspacing="1">
[469]17
18<tr class="row0">
19<td class=heading>IP block:</td>
20<td class="regular"><TMPL_VAR NAME=block></td>
21</tr>
22
23<tr class="row1">
[586]24<td class="heading">Reverse DNS pattern:</td>
25<td class="regular">
26<TMPL_IF maychange>
27<input type="text" name="rdns" size="40" value="<TMPL_VAR NAME=rdns>">
28<TMPL_ELSE>
29<TMPL_VAR NAME=rdns>
30</TMPL_IF>
31<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
32</td>
33</tr>
34
35<tr class="row0">
[469]36<td class=heading>City:</td>
37<td class="regular">
38<TMPL_IF maychange>
39<input type=text name=city value="<TMPL_VAR NAME=city>">
40<TMPL_ELSE>
41<TMPL_VAR NAME=city>
42</TMPL_IF>
43</td>
44</tr>
45
[586]46<tr class="row1">
[469]47<td class=heading>Type:</td>
48<td class=regular>
49<TMPL_IF changetype>
50<select name=alloctype>
51<TMPL_LOOP name=alloctype> <option <TMPL_IF selme>selected="selected"</TMPL_IF> value="<TMPL_VAR NAME=type>"><TMPL_VAR NAME=disptype></option>
52</TMPL_LOOP>
53</select>
54<TMPL_ELSE>
55<TMPL_VAR NAME=disptype>
[470]56<input type="hidden" name="alloctype" value="<TMPL_VAR NAME=type>">
[469]57</TMPL_IF>
58</td>
59</tr>
60
[586]61<tr class="row0">
[634]62<td class=heading>Layer-2/demarc node:</td>
[469]63<td class=regular>
64<TMPL_IF maychange>
[634]65<select name="node">
66 <option selected="selected">--</option>
[469]67<TMPL_LOOP NAME=nodelist>
[530]68 <option value="<TMPL_VAR NAME=node_id>"<TMPL_IF selme> selected</TMPL_IF>><TMPL_VAR NAME=node_name></option></TMPL_LOOP>
[469]69</select>
[634]70&nbsp;<a href="javascript:popNotes('<TMPL_VAR NAME=webpath>/cgi-bin/newnode.cgi')">Add new demarc node</a>
[469]71<TMPL_ELSE>
[470]72<TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF>
[469]73</TMPL_IF>
74</td>
75</tr>
76
[586]77<tr class="row1">
[469]78<td class=heading>CustID:</td>
79<td class="regular">
80<TMPL_IF maychange>
81<input type=text name=custid value="<TMPL_VAR NAME=custid>" maxlength=15 class="regular">
82<TMPL_ELSE>
83<TMPL_VAR NAME=custid>
84</TMPL_IF>
85</td>
86</tr>
87
[586]88<tr class="row0">
[469]89<td class=heading>SWIPed?:</td>
90<td class=regular>
[470]91<TMPL_IF swipable>
[469]92<TMPL_IF maychange>
[534]93<input type="checkbox" name="swip"<TMPL_IF swip> checked="checked"</TMPL_IF>>
[469]94<TMPL_ELSE>
95<TMPL_IF swip>Yes<TMPL_ELSE>No</TMPL_IF>
96</TMPL_IF>
[470]97<TMPL_ELSE>
98N/A
99</TMPL_IF>
[469]100</td>
101</tr>
102
[586]103<tr class="row1">
[469]104<td class=heading>Last modified:</td>
105<td class=regular><TMPL_VAR NAME=lastmod></td>
106</tr>
107
[586]108<tr class="row0">
[469]109<td class="heading">Circuit ID:</td>
110<td class="regular">
111<TMPL_IF maychange>
[534]112<input type="text" name="circid" value="<TMPL_VAR ESCAPE=HTML NAME=circid>" maxlength=64 size=64 class="regular">
[469]113<TMPL_ELSE>
[534]114<TMPL_VAR ESCAPE=HTML NAME=circid>
[469]115</TMPL_IF>
116</td>
117</tr>
118
[586]119<tr class="row1">
[469]120<td class="heading">Description/Name:</td>
121<td class="regular">
122<TMPL_IF maychange>
[534]123<input type="text" name="desc" value="<TMPL_VAR ESCAPE=HTML NAME=desc>" maxlength=64 size=64 class="regular">
[469]124<TMPL_ELSE>
[534]125<TMPL_VAR ESCAPE=HTML NAME=desc>
[469]126</TMPL_IF>
127</td>
128</tr>
129
[586]130<tr class="row0">
[469]131<td class="heading" valign="top">Notes:</td>
132<td class="regular">
[534]133<TMPL_IF maychange><textarea rows="8" cols="64" name="notes" class="regular"><TMPL_VAR ESCAPE=HTML NAME=notes></textarea>
[469]134<TMPL_ELSE>
[534]135<TMPL_VAR ESCAPE=HTML NAME=notes>
[469]136</TMPL_IF>
137</td>
138</tr>
139
140<TMPL_IF nocling>
[586]141<tr class="row1">
[470]142<td class="heading" valign="top">Restricted data:</td>
143<td class="regular">
[469]144<TMPL_IF maychange>
[534]145<textarea rows="3" cols="64" name="privdata" class="regular"><TMPL_VAR ESCAPE=HTML NAME=privdata></textarea>
[469]146<TMPL_ELSE>
[534]147<TMPL_VAR ESCAPE=HTML NAME=privdata>
[469]148</TMPL_IF>
149</td>
150</tr>
151</TMPL_IF>
152
153<TMPL_IF maychange>
[586]154<tr class="row<TMPL_IF nocling>0<TMPL_ELSE>1</TMPL_IF>">
[470]155<td colspan="2" class="center">
[634]156<input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>">
[470]157<input type="submit" value=" Update this block " class="regular">
158</td>
159</tr>
160</TMPL_IF>
161</table>
162<TMPL_IF maychange>
[469]163</fieldset>
164</form>
165</TMPL_IF>
166
167<TMPL_IF maydel>
[470]168</td></tr>
169<tr><td class="center">
[469]170<form method="POST" action="main.cgi">
[513]171<fieldset><legend class="noshow">&nbsp;</legend>
[586]172<div class="row<TMPL_IF nocling><TMPL_IF maychange>1<TMPL_ELSE>0</TMPL_IF><TMPL_ELSE><TMPL_IF maychange>0<TMPL_ELSE>1</TMPL_IF></TMPL_IF>">
[469]173<input type="hidden" name="action" value="delete">
[634]174<input type="hidden" name="block" value="<TMPL_VAR NAME=id>">
175<input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>">
[469]176<input type=submit value=" Delete this block ">
177</div>
[470]178</fieldset>
[469]179</form>
180</TMPL_IF>
[470]181
[469]182</td>
183</tr>
184</table>
185
186</div>
Note: See TracBrowser for help on using the repository browser.