Ignore:
Timestamp:
01/03/11 07:41:03 (13 years ago)
Author:
nanardon
Message:
  • use ajax to fetch analysis results
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/root/templates/html/rpms/analyse.html

    r244 r276  
    1111    [% INCLUDE 'ajax/forms/distribselect.tt' form = 'analysis_form' %] 
    1212    </span> 
    13     <input type="submit" name="analyse"> 
     13    <input type="submit" name="start"> 
    1414</form> 
    1515 
    16     [% INCLUDE 'rpms/analyse.tt' %] 
     16[% IF c.req.param('start') %] 
     17<div id="sophie_analyse"> 
     18    Loading... 
     19</div> 
     20<script type="text/javascript"> 
     21    new Ajax.Updater( 
     22    'sophie_analyse', 
     23    '[% c.uri_for('/', c.req.path) %]', 
     24    { asynchronous: 1, parameters: 'ajax=1&analyse=1' } 
     25    ); 
     26</script> 
     27[% END %] 
    1728</div> 
    1829 
     
    2839        release => loc.release, 
    2940        arch => loc.arch, 
    30         analyse => 1, 
     41        start => 1, 
    3142        }) %]"> 
    3243        [% loc.distribution | html %] / [% loc.release | html %] / [% loc.arch | html %]</a> 
Note: See TracChangeset for help on using the changeset viewer.