]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/bweb/tpl/display_client_stats.tpl
ebl Release 2.0.2 on sf
[bacula/bacula] / gui / bweb / bweb / tpl / display_client_stats.tpl
1 <br/>
2  <div class='titlediv'>
3   <h1 class='newstitle'> Client : <TMPL_VAR NAME=clientname> (<TMPL_VAR NAME=label>)</h1>
4  </div>
5  <div class='bodydiv'>
6 <form action='?'
7      <table id='id<TMPL_VAR NAME=ID>'></table>
8      <img src="bgraph.pl?client=<TMPL_VAR NAME=clientname>;graph=job_duration;age=2592000;width=420;height=200" alt='Not enough data' > &nbsp;
9      <img src="bgraph.pl?client=<TMPL_VAR NAME=clientname>;graph=job_rate;age=2592000;width=420;height=200" alt='Not enough data'> &nbsp;
10      <img src="bgraph.pl?client=<TMPL_VAR NAME=clientname>;graph=job_size;age=2592000;width=420;height=200" alt='Not enough data'> &nbsp;
11 <!--    <div class="otherboxtitle">
12           Actions &nbsp;
13         </div>
14         <div class="otherbox">
15        <h1>Actions</h1> 
16        <input type="image" name='action' value='job' title='Show last job'
17         src='/bweb/zoom.png'> &nbsp;
18        <input type="image" name='action' value='dsp_cur_job' title='Show current job' src='/bweb/zoom.png'> &nbsp;
19        <input type="image" name='action' value='client_stat' title='Client stats' src='/bweb/zoom.png'> &nbsp;
20         </div>
21 -->
22 </form>
23  </div>
24
25 <script type="text/javascript" language="JavaScript">
26 var header = new Array("Name", "Nb Jobs", "Nb Bytes", "Nb Files", "Nb Errors");
27
28 var data = new Array();
29
30 data.push( 
31   new Array( "<TMPL_VAR NAME=clientname>", 
32              "<TMPL_VAR NAME=nb_jobs>",
33              human_size(<TMPL_VAR NAME=nb_bytes>),
34              "<TMPL_VAR NAME=nb_files>",
35              "<TMPL_VAR NAME=nb_err>"
36              )
37 ) ; 
38
39 nrsTable.setup(
40 {
41  table_name:     "id<TMPL_VAR NAME=ID>",
42  table_header: header,
43  table_data: data,
44  up_icon: up_icon,
45  down_icon: down_icon,
46  prev_icon: prev_icon,
47  next_icon: next_icon,
48  rew_icon:  rew_icon,
49  fwd_icon:  fwd_icon,
50 // natural_compare: false,
51  even_cell_color: even_cell_color,
52  odd_cell_color: odd_cell_color, 
53  header_color: header_color,
54  page_nav: true,
55 // disable_sorting: new Array(1),
56  rows_per_page: rows_per_page
57 }
58 );
59 </script>