- Timestamp:
- 12/30/10 14:22:56 (13 years ago)
- Location:
- server/trunk/web/root/templates/html
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/root/templates/html/ajax/forms/distribselect.tt
r77 r236 1 1 <!-- $Id$ --> 2 2 3 <script> 4 function upd_distrib_sel() { 5 var serial = Form.serialize('[% form %]'); 6 new Ajax.Updater( 7 'distrib_sel', 8 '[% c.uri_for('/ajax/forms/distribselect', { ajax=> 1}) %]', { parameters: serial ,asynchronous: 1 } ); 9 } 10 </script> 11 12 <span id="distrib_sel"> 3 13 [% FOREACH dist = c.forward('/distrib/list', []) %] 4 14 [% IF loop.first %] 5 <select name="distribution" >15 <select name="distribution" onChange="upd_distrib_sel()"> 6 16 <option value="">--</option> 7 17 [% END %] … … 21 31 ]) %] 22 32 [% IF loop.first %] 23 <select name="release" >33 <select name="release" onChange="upd_distrib_sel()"> 24 34 <option value="">--</option> 25 35 [% END %] … … 41 51 ]) %] 42 52 [% IF loop.first %] 43 <select name="arch" >53 <select name="arch" onChange="upd_distrib_sel()"> 44 54 <option value="">--</option> 45 55 [% END %] … … 54 64 55 65 [% END %] 66 </span> -
server/trunk/web/root/templates/html/chat/index.html
r225 r236 4 4 <form id="botform" action="[% c.uri_for('/chat') %]"> 5 5 <div id="distribselect"> 6 [% INCLUDE 'ajax/forms/distribselect.tt' %]6 [% INCLUDE 'ajax/forms/distribselect.tt' form = 'botform' %] 7 7 </div> 8 [% c.prototype.observe_form('botform',9 {10 url => c.uri_for('/ajax/forms/distribselect', {11 'ajax' => 1 }),12 frequency => 2,13 update => 'distribselect',14 }15 ) %]16 8 <input name="cmd" value="[% c.req.param('cmd') | html %]"> 17 9 <input type="submit"> -
server/trunk/web/root/templates/html/explorer/index.html
r230 r236 2 2 <form action="[% c.uri_for('/', c.req.path) %]" id="explorer_d" method="POST"> 3 3 <span id="distribselect"> 4 [% INCLUDE 'ajax/forms/distribselect.tt' %]4 [% INCLUDE 'ajax/forms/distribselect.tt' form = 'explorer_d' %] 5 5 </span> 6 6 <input type="submit" value="Update view..."> 7 7 </form> 8 [% c.prototype.observe_form('explorer_d',9 {10 url => c.uri_for('/ajax/forms/distribselect', { 'ajax' => 1 }),11 frequency => 2,12 update => 'distribselect',13 }14 ) %]15 8 16 9 <div id="explorer_form"> -
server/trunk/web/root/templates/html/rpms/analyse.html
r230 r236 7 7 <form id="analysis_form" action="[% c.uri_for('/', c.req.path) %]" method="POST"> 8 8 <span id="distribselect"> 9 [% INCLUDE 'ajax/forms/distribselect.tt' %]9 [% INCLUDE 'ajax/forms/distribselect.tt' form = 'analysis_form' %] 10 10 </span> 11 [% c.prototype.observe_form('analysis_form',12 {13 url => c.uri_for('/ajax/forms/distribselect', { 'ajax' => 1 }),14 frequency => 2,15 update => 'distribselect',16 }17 ) %]18 11 <input type="submit" name="analyse"> 19 12 </form> -
server/trunk/web/root/templates/html/search/adv_search.tt
r204 r236 11 11 <td> 12 12 <span id="distribselect"> 13 [% INCLUDE 'ajax/forms/distribselect.tt' %]13 [% INCLUDE 'ajax/forms/distribselect.tt' form = 'sophie_adv_search' %] 14 14 </span> 15 [% c.prototype.observe_form('sophie_adv_search',16 {17 url => c.uri_for('/ajax/forms/distribselect', {18 'ajax' => 1 }),19 frequency => 2,20 update => 'distribselect',21 }22 ) %]23 15 </td> 24 16 </tr>
Note: See TracChangeset
for help on using the changeset viewer.