Last change
on this file since 275 was
275,
checked in by nanardon, 14 years ago
|
- add dynamic filter and information on distrib pages
|
-
Property svn:keywords set to
Id
|
File size:
688 bytes
|
Rev | Line | |
---|
[184] | 1 | <!-- $Id$ --> |
---|
| 2 | |
---|
[273] | 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"> |
---|
[184] | 19 | [% INCLUDE 'distrib/list_rpms.tt' %] |
---|
[273] | 20 | </div> |
---|
| 21 | </div> |
---|
[275] | 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> |
---|
Note: See
TracBrowser
for help on using the repository browser.