]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/tpl/display_job_zoom.tpl
ebl add to cvs
[bacula/bacula] / gui / bweb / tpl / display_job_zoom.tpl
1  <div class='titlediv'>
2   <h1 class='newstitle'>Information about job</h1>
3  </div>
4  <div class="bodydiv">
5  <table id='id0'></table>
6  <form action='?'>
7   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
8   <button class='formulaire' name='action' value='delete' title='delete this job'>
9      <img src='/bweb/purge.png'>
10   </button>
11  </form>
12 </div>
13
14 <script language='JavaScript'>
15 var header = new Array("JobId",
16                        "Client",
17                        "Job Name", 
18                        "FileSet",
19                        "Level",
20                        "StartTime", 
21                        "Duration",
22                        "JobFiles",
23                        "JobBytes",
24                        "Pool",
25                        "Volume Name",
26                        "Status");
27
28 var data = new Array();
29
30 img = document.createElement("IMG");
31 img.src="/bweb/<TMPL_VAR JobStatus>.png";
32 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
33
34 data.push( new Array(
35 "<TMPL_VAR JobId>",
36 "<TMPL_VAR Client>",     
37 "<TMPL_VAR JobName>",    
38 "<TMPL_VAR FileSet>",    
39 "<TMPL_VAR Level>",      
40 "<TMPL_VAR StartTime>",
41 "<TMPL_VAR duration>",
42 "<TMPL_VAR JobFiles>",   
43 "<TMPL_VAR JobBytes>",
44 "<TMPL_VAR poolname>",
45 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",   
46 img
47  )
48 );
49
50 nrsTable.setup(
51 {
52  table_name:     "id0",
53  table_header: header,
54  table_data: data,
55  up_icon: up_icon,
56  down_icon: down_icon,
57  prev_icon: prev_icon,
58  next_icon: next_icon,
59  rew_icon:  rew_icon,
60  fwd_icon:  fwd_icon,
61 // natural_compare: true,
62  even_cell_color: even_cell_color,
63  odd_cell_color: odd_cell_color, 
64  header_color: header_color,
65  page_nav: true,
66  rows_per_page: rows_per_page,
67  padding: 3,
68 // disable_sorting: new Array(6)
69 }
70 );
71
72 </script>