3 <h1 class='newstitle'>Statistics</h1>
8 <form name='form1' action='?' method='GET'>
9 <div class="otherboxtitle">
12 <div class="otherbox">
17 <select name='level' class='formulaire'>
18 <option id='level_Any' value='Any'>Any</option>
19 <option id='level_F' value='F'>Full</option>
20 <option id='level_D' value='D'>Differential</option>
21 <option id='level_I' value='I'>Incremental</option>
23 </td><td valign='top'>
25 <select name='status' class='formulaire'>
26 <option id='status_Any' value='Any'>Any</option>
27 <option id='status_T' value='T'>Ok</option>
28 <option id='status_f' value='f'>Error</option>
29 <option id='status_A' value='A'>Canceled</option>
36 <select name='age' class='formulaire'>
37 <option id='age_604800' value='604800'>This week</option>
38 <option id='age_2678400' value='2678400'>Last 30 days</option>
39 <option id='age_15552000' value='15552000'>Last 6 month</option>
44 Width: <input class='formulaire' type='text'
45 name='width' value='<TMPL_VAR width>' size='4'><br/>
46 Height: <input type='text' class='formulaire'
47 name='height' value='<TMPL_VAR height>' size='4'><br/>
53 <select name='client' size='15' class='formulaire' multiple>
54 <TMPL_LOOP NAME=db_clients>
55 <option id='client_<TMPL_VAR clientname>'><TMPL_VAR clientname></option>
61 <select name='fileset' size='15' class='formulaire' multiple>
62 <TMPL_LOOP NAME=db_filesets>
63 <option><TMPL_VAR NAME=fileset></option>
70 <select name='graph' class='formulaire'>
71 <option id='job_size' value='job_size'>Job Size</option>
72 <option id='job_duration' value='job_duration'>Job Duration</option>
73 <option id='job_rate' value='job_rate'>Job Rate</option>
74 <option id='job_file' value='job_file'>Job Files</option>
78 <h2>Number of items</h2>
79 <input type='text' name='limit' value='<TMPL_VAR NAME=limit>'
80 class='formulaire' size='4'>
84 <td><h2> Graph type </h2>
85 <select name='gtype' class='formulaire'>
86 <option id='gtype_bars' value='bars'>Bars</option>
87 <!-- <option id='gtype_bars3d' value='bars3d'>Bars3d</option> -->
88 <option id='gtype_lines' value='lines'>Lines</option>
89 <option id='gtype_linespoints' value='linespoints'>Lines points</option>
92 <input type='submit' name='action' value='graph' class='formulaire'>
102 <div class="otherboxtitle">
105 <div class="otherbox">
106 <img src='bgraph.pl?<TMPL_VAR NAME=url>' alt='Nothing to display, Try a bigger date range'>
113 <script language="JavaScript">
116 document.getElementById('client_' + <TMPL_VAR name>).selected = true;
120 document.getElementById('status_<TMPL_VAR status>').selected=true;
124 document.getElementById('level_<TMPL_VAR level>').selected=true;
128 document.getElementById('age_<TMPL_VAR age>').selected=true;
131 <TMPL_IF selfilesets>
132 for (var i=0; i < document.form1.fileset.length; ++i) {
133 <TMPL_LOOP selfilesets>
134 if (document.form1.fileset[i].value == <TMPL_VAR name>) {
135 document.form1.fileset[i].selected = true;
142 document.getElementById('<TMPL_VAR graph>').selected=true;
146 document.getElementById('gtype_<TMPL_VAR gtype>').selected=true;