Ignore:
Timestamp:
08/25/10 15:16:21 (14 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Convert finalDelete to template
Add missing node info on update page
Fix backlink on update page
Tweak edit page to use the right name for the node dropdown
See #3.

Location:
branches/htmlform/templates
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/templates/edit.tmpl

    r470 r476  
    5151<TMPL_IF typesupportsnodes>
    5252<TMPL_IF maychange>
    53 <select name=demarc><TMPL_UNLESS havenodeid>
     53<select name="node"><TMPL_UNLESS havenodeid>
    5454        <option selected="selected">--</option></TMPL_UNLESS>
    5555<TMPL_LOOP NAME=nodelist>
  • branches/htmlform/templates/update.tmpl

    r475 r476  
    1919
    2020<tr class="row1">
     21<td>Demarc/tower:</td>
     22<td><TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF></td>
     23</tr>
     24
     25<tr class="row0">
    2126<td>Customer ID:</td>
    2227<td><TMPL_VAR NAME=custid></td>
    2328</tr>
    2429
    25 <tr class="row0">
     30<tr class="row1">
    2631<td>SWIPed?:</td>
    2732<td><TMPL_VAR NAME=swip></td>
    2833</tr>
    2934
    30 <tr class="row1">
     35<tr class="row0">
    3136<td>Circuit ID:</td>
    3237<td><TMPL_VAR NAME=circid></td>
    3338</tr>
    3439
    35 <tr class="row0">
     40<tr class="row1">
    3641<td valign="top">Description/Name:</td>
    3742<td><TMPL_VAR NAME=desc></td>
    3843</tr>
    3944
    40 <tr class="row1">
     45<tr class="row0">
    4146<td valign="top">Notes:</td>
    4247<td><TMPL_VAR NAME=notes></td>
     
    4449
    4550<TMPL_IF privdata>
    46 <tr class="color1">
     51<tr class="row1">
    4752<td valign="top">Restricted data:</td>
    48 <td><TMPL_VAR NAME=privdata>
    49 </td>
     53<td><TMPL_VAR NAME=privdata></td>
    5054</tr>
    5155</TMPL_IF>
    5256
    5357</table>
    54 <p>
    55 <div name="backlink">
    56 <a href="$$BACKLINK$$">Back to $$BACKBLOCK$$</a>
     58
     59<br>
     60<div class="backlink">
     61<a href="/ip/cgi-bin/main.cgi?action=<TMPL_IF backpool>listpool&amp;pool=<TMPL_ELSE>showrouted&amp;block=</TMPL_IF><TMPL_VAR NAME=backblock>">Back to <TMPL_VAR NAME=backblock></a>
    5762</div>
    58 </p>
Note: See TracChangeset for help on using the changeset viewer.