Ignore:
Timestamp:
01/03/11 06:53:50 (14 years ago)
Author:
nanardon
Message:
  • add dynamic filter and information on distrib pages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/root/templates/html/distrib/rpm_bypkgid.html

    r54 r275  
    11<!-- $Id$ --> 
    22 
     3<div Id="sophie_body_main"> 
     4<form action="[% c.uri_for('/', c.req.path) %]" method="POST"> 
     5    <label for="fl">Filter to filename starting by:</label> 
     6    <input type="text" id="fl" name="fl" value="[% c.req.param('fl') | html %]"> 
     7</form> 
     8[% c.prototype.observe_field( 
     9    'fl', 
     10    { 
     11    url => c.uri_for('/', c.req.path, { ajax => 1 }), 
     12    frequency => 2, 
     13    update => 'rpms_list', 
     14    with => '"ajax=1&fl=" + value', 
     15    } 
     16) %] 
     17 
     18<div id="rpms_list"> 
    319[% INCLUDE 'distrib/rpm_bypkgid.tt' %] 
     20</div> 
     21</div> 
     22 
     23<div Id="sophie_body_additional"> 
     24    <p>Medias in this distrib:</p> 
     25    [% INCLUDE 'distrib/distrib.tt' 
     26    xmlrpc = c.forward('/distrib/list', [ dist ]) %] 
     27</div> 
     28 
Note: See TracChangeset for help on using the changeset viewer.