Changeset 273 for server/trunk/web/root


Ignore:
Timestamp:
01/02/11 18:20:04 (13 years ago)
Author:
nanardon
Message:
  • allow to filter rpm list in distrib/
Location:
server/trunk/web/root/templates/html/distrib
Files:
3 edited

Legend:

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

    r184 r273  
    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/list_rpms.tt' %] 
     20</div> 
     21</div> 
  • server/trunk/web/root/templates/html/distrib/list_srpms.html

    r190 r273  
    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/list_srpms.tt' %] 
     20</div> 
     21</div> 
  • server/trunk/web/root/templates/html/distrib/media_list_rpms.html

    r230 r273  
    11<!-- $Id$ --> 
     2 
    23<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/media_list_rpms.tt' %] 
     20</div> 
    421</div> 
    522 
Note: See TracChangeset for help on using the changeset viewer.