]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/fr/tpl/display_job_zoom.tpl
ebl add fileview tool
[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' title="Voir la répartition des fichiers"
61    src='/bweb/colorscm.png'> Voir la répartition des fichiers
62   </label>
63  </form>
64  </td>
65 -->
66  </table>
67 </div>
68
69 <script type="text/javascript" language='JavaScript'>
70 var header = new Array("JobId",
71                        "Client",
72                        "Nom du Job", 
73                        "FileSet",
74                        "Niveau",
75                        "Début", 
76                        "Durée",
77                        "Fichiers",
78                        "Taille",
79                        "Erreurs",
80                        "Pool",
81                        "Volumes utilisés",
82                        "Statut");
83
84 var data = new Array();
85
86 img = document.createElement("IMG");
87 img.src=bweb_get_job_img("<TMPL_VAR JobStatus>", <TMPL_VAR joberrors>);
88 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
89
90 data.push( new Array(
91 "<TMPL_VAR JobId>",
92 "<TMPL_VAR Client>",     
93 "<TMPL_VAR JobName>",    
94 "<TMPL_VAR FileSet>",    
95 "<TMPL_VAR Level>",      
96 "<TMPL_VAR StartTime>",
97 "<TMPL_VAR duration>",
98 "<TMPL_VAR JobFiles>",   
99 human_size(<TMPL_VAR JobBytes>),
100 "<TMPL_VAR joberrors>",
101 "<TMPL_VAR poolname>",
102 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",   
103 img
104  )
105 );
106
107 nrsTable.setup(
108 {
109  table_name:     "id0",
110  table_header: header,
111  table_data: data,
112  up_icon: up_icon,
113  down_icon: down_icon,
114  prev_icon: prev_icon,
115  next_icon: next_icon,
116  rew_icon:  rew_icon,
117  fwd_icon:  fwd_icon,
118 // natural_compare: true,
119  even_cell_color: even_cell_color,
120  odd_cell_color: odd_cell_color, 
121  header_color: header_color,
122  page_nav: true,
123  rows_per_page: rows_per_page,
124 // disable_sorting: new Array(6)
125  padding: 3
126 }
127 );
128
129 </script>