Changeset 76 for trunk/templates


Ignore:
Timestamp:
02/17/11 17:28:05 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Finalize record-list click-the-column-header-to-sort - mostly

a matter of copy-pasting the appropriate bits from the domain,
group, or user list setup, and adding a few tweaks specific
to the record list page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/reclist.tmpl

    r72 r76  
    5050<TMPL_IF reclist>
    5151<tr class="darkrowheader">
    52 <TMPL_LOOP NAME=colheads>
    53         <!-- td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>" -->
    54 <td><a href="dns.cgi?sid=<TMPL_VAR
    55 NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&amp;offset=<TMPL_VAR
    56 NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR NAME=sortby>&amp;order=<TMPL_VAR
    57 NAME=order>&amp;id=<TMPL_VAR NAME=id>&amp;defrec=<TMPL_VAR NAME=defrec>"><TMPL_VAR
    58 NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR NAME=sortorder>"
    59 src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
    60 
    61 <!--    <td>Name</td>
    62         <td>Type</td>
    63         <td>Address</td>
    64         <td>Distance</td><td>Weight</td><td>Port</td><td>TTL</td> -->
    65 
     52<TMPL_LOOP NAME=colheads><TMPL_IF firstcol></TMPL_IF>
     53        <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=<TMPL_VAR NAME=page><TMPL_IF
     54 NAME=offset>&amp;offset=<TMPL_VAR NAME=offset></TMPL_IF>&amp;sortby=<TMPL_VAR
     55 NAME=sortby>&amp;order=<TMPL_VAR NAME=order>&amp;id=<TMPL_VAR NAME=id>&amp;defrec=<TMPL_VAR
     56 NAME=defrec>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder>&nbsp;<img alt="<TMPL_VAR
     57 NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
    6658        <td>Delete</td>
    6759</tr>
Note: See TracChangeset for help on using the changeset viewer.