source: server/trunk/web/root/templates/html/analysis/index.tt @ 207

Last change on this file since 207 was 207, checked in by nanardon, 13 years ago
  • add analyse functions (need yet to be improve)
  • Property svn:keywords set to Id
File size: 921 bytes
Line 
1<!-- $Id$ -->
2
3<div style="float: right">
4[% INCLUDE 'user/folder/list.tt' xmlrpc = c.forward('/user/folder/list') %]
5</div>
6
7<div id="upload_rpm">
8<p>Upload an XML header dump:</p>
9<form action="[% c.uri_for('/', c.req.path) %]" method="POST"
10    enctype="multipart/form-data">
11
12<input type="file" name="file">
13<input type="submit">
14<p>Such file can be obtain by using command <code>rpm --qf '[\%{*:xml}\n]'</code></p>
15</form>
16</div>
17
18
19<form action="[% c.uri_for('/', c.req.path) %]" id="analysis_form" method="POST">
20    <span id="distribselect">
21    [% INCLUDE 'ajax/forms/distribselect.tt' %]
22    </span>
23[% c.prototype.observe_form('analysis_form',
24    {
25    url => c.uri_for('/ajax/forms/distribselect', { 'ajax' => 1 }),
26    frequency => 2,
27    update => 'distribselect',
28    }
29) %]
30<input type="submit" name="analyse">
31</form>
32
33[% IF c.req.param('analyse') %]
34[% INCLUDE 'analysis/analyse_folder.tt' %]
35[% END %]
Note: See TracBrowser for help on using the repository browser.