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 months__</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 db_clients>
55 <option id='client_<TMPL_VAR clientname>'><TMPL_VAR clientname></option>
61 <select name='jobname' size='15' class='formulaire' multiple>
62 <TMPL_LOOP db_jobnames>
63 <option><TMPL_VAR jobname></option>
69 <td> <h2> __Type__ </h2>
70 <select name='graph' class='formulaire'>
71 <option id='job_size' value='job_size' title="__Job size per job for the period__">__Job Size__</option>
72 <option id='job_duration' value='job_duration' title="__Job duration per job for the period__">__Job Duration__</option>
73 <option id='job_rate' value='job_rate' title="__Job rate per job for the period__">__Job Rate__</option>
74 <option id='job_file' value='job_file' title="__Number of backed files per job for the period__">__Job Files__</option>
75 <option id='job_count_phour' value='job_count_phour' title="__Number of jobs per hour for the period__">__Job per hour__</option>
76 <option id='job_count_pday' value='job_count_pday' title="__Number of jobs per day for the period__">__Job per day__</option>
77 <option id='job_avg_phour' value='job_avg_pday' title="__Average backup size per day for the period__">__Job avg B/hour__</option>
78 <option id='job_avg_pday' value='job_avg_pday' title="__Average backup size per hour for the period__">__Job avg B/day__</option>
79 <option id='job_sum_phour' value='job_sum_phour' title="__Job size per hour__">__Job total B/hour__</option>
80 <option id='job_sum_pday' value='job_sum_pday' title="__Job size per day__">__Job total B/day__</option>
81 <option id='job_count_hour' value='job_count_hour' title="__Number of jobs per hour for the period__">__Jobs Count (h)__</option>
82 <option id='job_count_day' value='job_count_day' title="__Number of jobs per day for the period__">__Jobs Count (d)__</option>
83 <option id='job_avg_hour' value='job_avg_hour' title="__Average backup size per hour for the period__">__Job avg size (h)__</option>
84 <option id='job_avg_day' value='job_avg_day' title="__Average backup size per day for the period__">__Job avg size (d)__</option>
85 <option id='job_sum_hour' value='job_sum_hour' title="__Job size per hour for the period__">__Job Bytes (h)__</option>
86 <option id='job_sum_day' value='job_sum_day' title="__Job size per day for the period__">__Job Bytes (d)__</option>
87 <option onclick='document.getElementById("gtype_balloon").selected=true;' id='job_time_nb' value='job_time_nb' title="__Display Job duration, size and files with balloons__">__Time,size,files__</option>
88 <option onclick='document.getElementById("gtype_balloon").selected=true;' id='job_time_size' value='job_time_size' title="__Display Job duration, files and size with balloons__">__Time,files,size__</option>
93 <h2>__Number of items__</h2>
94 <input type='text' name='limit' value='<TMPL_VAR limit>'
95 class='formulaire' size='4'>
99 <td><h2> __Graph type__ </h2>
100 <select name='gtype' class='formulaire'>
101 <option id='gtype_bars' value='bars'>__Bars__</option>
102 <!-- <option id='gtype_bars3d' value='bars3d'>__Bars3d__</option> -->
103 <option id='gtype_lines' value='lines'>__Lines__</option>
104 <option onclick='document.getElementById("job_time_size").selected=true;' id='gtype_balloon' value='balloon'>__Balloon__</option>
105 <option id='gtype_linespoints' value='linespoints'>__Lines points__</option>
108 <input type='submit' name='action' value='graph' class='formulaire'>
118 <div class="otherboxtitle">
121 <div class="otherbox">
123 <img usemap='imggraph' id='imggraph'
124 alt='__Nothing to display, Try a bigger date range__'>
131 <script type="text/javascript" language="JavaScript">
134 document.getElementById('client_' + <TMPL_VAR name>).selected = true;
138 document.getElementById('status_<TMPL_VAR status>').selected=true;
142 document.getElementById('level_<TMPL_VAR level>').selected=true;
146 document.getElementById('age_<TMPL_VAR age>').selected=true;
150 for (var i=0; i < document.form1.fileset.length; ++i) {
151 <TMPL_LOOP qfilesets>
152 if (document.form1.fileset[i].value == <TMPL_VAR name>) {
153 document.form1.fileset[i].selected = true;
160 for (var i=0; i < document.form1.jobname.length; ++i) {
161 <TMPL_LOOP qjobnames>
162 if (document.form1.jobname[i].value == <TMPL_VAR name>) {
163 document.form1.jobname[i].selected = true;
170 document.getElementById('<TMPL_VAR graph>').selected=true;
174 document.getElementById('gtype_<TMPL_VAR gtype>').selected=true;
178 document.getElementById('imggraph').src='bgraph.pl?<TMPL_VAR url>'