]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/fr/tpl/display_job_zoom.tpl
ebl fix documenation to activate bfileview
[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='bweb.pl?'>
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='bweb.pl?'>
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='bweb.pl?'>
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='bweb.pl?'>
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='bweb.pl?'>
47   <input type='hidden' name='fileset' value='<TMPL_VAR FileSet>'>
48   <label>
49   <input type="image" name='action' value='fileset_view' title='Voir le fileset associé'
50    src='/bweb/zoom.png'> Voir le FileSet
51   </label>
52  </form>
53  </td>
54 <!-- Enlever ce commentaire pour activer le bfileview
55  <td>
56  <form action='bfileview.pl?'>
57   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
58   <input type='hidden' name='where' value='/'>
59   <label>
60   <input type="image" name='action' value='bfileview' 
61    title="Voir la répartition des fichiers"
62    onclick='if (<TMPL_VAR JobFiles> > 5000) { return confirm("Ce traitement peut prendre beaucoup de temps, voulez vous continuer ?")} else { return 1; }'
63    src='/bweb/colorscm.png'> Voir la répartition des fichiers
64   </label>
65  </form>
66  </td>
67 -->
68  </table>
69 </div>
70
71 <script type="text/javascript" language='JavaScript'>
72 var header = new Array("JobId",
73                        "Client",
74                        "Nom du Job", 
75                        "FileSet",
76                        "Niveau",
77                        "Début", 
78                        "Durée",
79                        "Fichiers",
80                        "Taille",
81                        "Erreurs",
82                        "Pool",
83                        "Volumes utilisés",
84                        "Statut");
85
86 var data = new Array();
87
88 img = document.createElement("IMG");
89 img.src=bweb_get_job_img("<TMPL_VAR JobStatus>", <TMPL_VAR joberrors>);
90 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
91
92 data.push( new Array(
93 "<TMPL_VAR JobId>",
94 "<TMPL_VAR Client>",     
95 "<TMPL_VAR JobName>",    
96 "<TMPL_VAR FileSet>",    
97 "<TMPL_VAR Level>",      
98 "<TMPL_VAR StartTime>",
99 "<TMPL_VAR duration>",
100 "<TMPL_VAR JobFiles>",   
101 human_size(<TMPL_VAR JobBytes>),
102 "<TMPL_VAR joberrors>",
103 "<TMPL_VAR poolname>",
104 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",   
105 img
106  )
107 );
108
109 nrsTable.setup(
110 {
111  table_name:     "id0",
112  table_header: header,
113  table_data: data,
114  up_icon: up_icon,
115  down_icon: down_icon,
116  prev_icon: prev_icon,
117  next_icon: next_icon,
118  rew_icon:  rew_icon,
119  fwd_icon:  fwd_icon,
120 // natural_compare: true,
121  even_cell_color: even_cell_color,
122  odd_cell_color: odd_cell_color, 
123  header_color: header_color,
124  page_nav: true,
125  rows_per_page: rows_per_page,
126 // disable_sorting: new Array(6)
127  padding: 3
128 }
129 );
130
131 </script>