Changeset 238
- Timestamp:
- 06/07/09 11:41:31 (15 years ago)
- Location:
- LATMOS-Accounts-Web
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts-Web/root/html/includes/filter.tt
r225 r238 1 1 <!-- $Id$ --> 2 [% ofilter = c.model('AttrFilter', otype) %] 3 <div id="filter"> 2 4 <p>Filtre:</p> 3 5 <form action="[% c.action.namespace %]" method="POST"> 4 6 <input type="hidden" name="otype" value="[% otype | html %]"> 5 [% FOREACH item = [0, 1, 2 ]%]7 [% FOREACH item = ofilter.count_field %] 6 8 [% IF loop.first %] 7 9 <table border="0"> … … 10 12 <tr> 11 13 <td> 12 <select name="attr"> 13 <option value=""></option> 14 [% FOREACH f = db.list_canonical_fields(otype, 'r') %] 15 <option value="[% f | html %]" [% ' selected="1"' IF filter.attr.$item == f %]> 16 [% c.model('AttrForms').attr_label(f) | html %] 17 </option> 18 [% END %] 19 </select> 14 [% ofilter.search_field(item) %] 20 15 </td> 21 <td> <input type="text" name="attrval" value="[% filter.attrval.$item | html %]"></td></tr>16 <td>[% ofilter.val_field(item) %]</td></tr> 22 17 [% IF loop.last %] 23 18 </table> … … 27 22 <input type="submit"> 28 23 </form> 24 </div> -
LATMOS-Accounts-Web/root/static/style.css
r214 r238 81 81 margin-right: 20%; 82 82 } 83 84 #filter div { 85 border-style: inset; 86 margin-top: 0.5em; 87 padding: 0.5em; 88 }
Note: See TracChangeset
for help on using the changeset viewer.