]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/fr/tpl/display_job_zoom.tpl
6f94248290e1df8356c3bcdc3de9a55913387881
[bacula/bacula] / gui / bweb / lang / fr / tpl / display_job_zoom.tpl
1  <div class='titlediv'>
2   <h1 class='newstitle'>Information sur un job</h1>
3  </div>
4  <div class="bodydiv">
5  <table id='id0'></table>
6  <table><td>
7  <form action='?'>
8   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
9   <label>
10   <input type="image" name='action' value='delete' title='Supprimer ce job'
11  onclick="return confirm('Voulez vous vraiment supprimer ce job du catalogue ?');"
12    src='/bweb/purge.png'> Purger
13   </label>
14  </form>
15  </td><td>
16  <form action='?'>
17   <TMPL_LOOP volumes>
18    <input type='hidden' name='media' value='<TMPL_VAR VolumeName>'>
19   </TMPL_LOOP>   
20   <label>
21   <input type="image" name='action' value='media' title='Voir les médias associés' 
22    src='/bweb/zoom.png'>Voir les médias
23   </label>
24  </form>
25  </td>
26  <td>
27  <form action='?'>
28   <input type='hidden' name='client' value='<TMPL_VAR Client>'>
29   <label>
30   <input type="image" name='action' value='job' title='Voir les jobs de <TMPL_VAR Client>' src='/bweb/zoom.png'>Voir les jobs
31   </label>
32  </form>
33  </td>
34  <td>
35  <form action='?'>
36   <input type='hidden' name='age' value='2678400'>
37   <input type='hidden' name='client' value='<TMPL_VAR Client>'>
38   <input type='hidden' name='jobname' value='<TMPL_VAR jobname>'>
39   <label>
40   <input type="image" name='action' value='graph' title='Voir les tendances'
41    src='/bweb/chart.png'> Voir les stats
42   </label>
43  </form>
44  </td>
45  <td>
46  <form action='?'>
47   <input type='hidden' name='fileset' value='<TMPL_VAR FileSet>'>
48   <label>
49   <input type="image" name='action' value='fileset_view' title='view fileset'
50    src='/bweb/zoom.png'> Voir le FileSet
51   </label>
52  </form>
53  </td>
54  </table>
55 </div>
56
57 <script type="text/javascript" language='JavaScript'>
58 var header = new Array("JobId",
59                        "Client",
60                        "Nom du Job", 
61                        "FileSet",
62                        "Niveau",
63                        "Début", 
64                        "Durée",
65                        "Fichiers",
66                        "Taille",
67                        "Pool",
68                        "Volumes utilisés",
69                        "Statut");
70
71 var data = new Array();
72
73 img = document.createElement("IMG");
74 img.src="/bweb/<TMPL_VAR JobStatus>.png";
75 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
76
77 data.push( new Array(
78 "<TMPL_VAR JobId>",
79 "<TMPL_VAR Client>",     
80 "<TMPL_VAR JobName>",    
81 "<TMPL_VAR FileSet>",    
82 "<TMPL_VAR Level>",      
83 "<TMPL_VAR StartTime>",
84 "<TMPL_VAR duration>",
85 "<TMPL_VAR JobFiles>",   
86 human_size(<TMPL_VAR JobBytes>),
87 "<TMPL_VAR poolname>",
88 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",   
89 img
90  )
91 );
92
93 nrsTable.setup(
94 {
95  table_name:     "id0",
96  table_header: header,
97  table_data: data,
98  up_icon: up_icon,
99  down_icon: down_icon,
100  prev_icon: prev_icon,
101  next_icon: next_icon,
102  rew_icon:  rew_icon,
103  fwd_icon:  fwd_icon,
104 // natural_compare: true,
105  even_cell_color: even_cell_color,
106  odd_cell_color: odd_cell_color, 
107  header_color: header_color,
108  page_nav: true,
109  rows_per_page: rows_per_page,
110 // disable_sorting: new Array(6)
111  padding: 3
112 }
113 );
114
115 </script>