Changeset 585 for trunk/templates


Ignore:
Timestamp:
01/16/13 17:16:46 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Reverse DNS RPCing should now be complete for all add operations.
See #1.

Some fine-tuning may still be needed, eg for static IPs, convert
template placeholders before doing the RPC call; this could also
be done entirely on the DNS side at export instead.

Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/assign.tmpl

    r575 r585  
    7171
    7272<tr class="<TMPL_VAR NAME=rowa>">
     73<td>Reverse DNS pattern:</td>
     74<td><input type="text" name="rdns" value="<TMPL_VAR NAME=rdns>" size="40"><input type="button" value=" ? " onclick="helpRDNS()" class="regular"></td>
     75</tr>
     76
     77<tr class="<TMPL_VAR NAME=rowb>">
    7378<td>Customer ID:</td>
    7479<td><input type="text" name="custid" size="15" maxlength="15"> (Only required for Customer allocations)</td>
    7580</tr>
    7681
    77 <tr class="<TMPL_VAR NAME=rowb>">
     82<tr class="<TMPL_VAR NAME=rowa>">
    7883<td>Wifi tower/Fibre demarc</td>
    7984<td>
     
    8893
    8994<TMPL_UNLESS allocfrom>
    90 <tr class="<TMPL_VAR NAME=rowa>">
     95<tr class="<TMPL_VAR NAME=rowb>">
    9196<td>Route from/through:</td>
    9297<td>
     
    99104</tr>
    100105
    101 <tr class="<TMPL_VAR NAME=rowb>">
     106<tr class="<TMPL_VAR NAME=rowa>">
    102107<td>Route/allocate from this master:&nbsp;</td>
    103108<td>
     
    111116</TMPL_UNLESS>
    112117
    113 <tr class="<TMPL_VAR NAME=rowa>">
     118<tr class="<TMPL_VAR NAME=rowb>">
    114119<td>Circuit ID:</td>
    115120<td><input name="circid" size="40"></td>
    116121</tr>
    117122
    118 <tr class="<TMPL_VAR NAME=rowb>">
     123<tr class="<TMPL_VAR NAME=rowa>">
    119124<td>Description/Name:</td>
    120125<td><input name="desc" size="40"></td>
    121126</tr>
    122127
    123 <tr class="<TMPL_VAR NAME=rowa>">
     128<tr class="<TMPL_VAR NAME=rowb>">
    124129<td>Notes:&nbsp;</td>
    125130<td><textarea name="notes" rows="3" cols="40"></textarea></td>
     
    127132
    128133<TMPL_IF privdata>
    129 <tr class="<TMPL_VAR NAME=rowb>">
     134<tr class="<TMPL_VAR NAME=rowa>">
    130135<td>Restricted data:</td>
    131136<td><textarea rows="3" cols="64" name="privdata" class="regular"></textarea></td>
     
    133138</TMPL_IF>
    134139
    135 <tr class="<TMPL_IF privdata><TMPL_VAR NAME=rowa><TMPL_ELSE><TMPL_VAR NAME=rowb></TMPL_IF>">
     140<tr class="<TMPL_IF privdata><TMPL_VAR NAME=rowb><TMPL_ELSE><TMPL_VAR NAME=rowa></TMPL_IF>">
    136141<td class="center" colspan="2"><input type="submit" value="  Assign  "></td>
    137142</tr>
  • trunk/templates/confirm.tmpl

    r575 r585  
    3232
    3333<tr class="row0">
     34<td>Reverse DNS pattern:</td>
     35<td><TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
     36<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
     37</td>
     38</tr>
     39
     40<tr class="row1">
    3441<td>City:</td>
    3542<td><TMPL_VAR NAME=city></td>
    3643</tr>
    3744
    38 <tr class="row1">
     45<tr class="row0">
    3946<td>Demarc switch/wifi tower:</td>
    4047<td><TMPL_VAR NAME=nodename></td>
    4148</tr>
    4249
    43 <tr class="row0">
     50<tr class="row1">
    4451<td>Allocation type:</td>
    4552<td><TMPL_VAR NAME=typefull></td>
    4653</tr>
    4754
    48 <tr class="row1">
     55<tr class="row0">
    4956<td>Customer ID:</td>
    5057<td><TMPL_VAR NAME=custid></td>
    5158</tr>
    5259
    53 <tr class="row0">
     60<tr class="row1">
    5461<td valign="top">Circuit ID:</td>
    5562<td><TMPL_VAR NAME=circid></td>
    5663</tr>
    5764
    58 <tr class="row1">
     65<tr class="row0">
    5966<td valign="top">Description/name:</td>
    6067<td><TMPL_VAR NAME=desc></td>
    6168</tr>
    6269
    63 <tr class="row0">
     70<tr class="row1">
    6471<td valign="top">Notes:</td>
    6572<td><TMPL_VAR NAME=notes></td>
     
    6774
    6875<TMPL_IF privdata>
    69 <tr class="row1">
     76<tr class="row0">
    7077<td>Restricted data:</td>
    7178<td><TMPL_VAR NAME=privdata></td>
     
    7481
    7582<!-- warn -->
    76 <tr class="<TMPL_IF privdata>row0<TMPL_ELSE>row1</TMPL_IF>">
     83<tr class="<TMPL_IF privdata>row1<TMPL_ELSE>row0</TMPL_IF>">
    7784<td class="center" colspan="2">
    7885<TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS>
    7986<input type="hidden" name="rdepth" value="<TMPL_VAR NAME=rdepth>">
    8087<input type="hidden" name="fullcidr" value="<TMPL_VAR NAME=cidr>">
     88<input type="hidden" name="rdns" value="<TMPL_VAR NAME=rdns>">
    8189<input type="hidden" name="city" value="<TMPL_VAR NAME=city>">
    8290<input type="hidden" name="node" value="<TMPL_VAR NAME=nodeid>">
Note: See TracChangeset for help on using the changeset viewer.