]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/fr/tpl/display_job_zoom.tpl
6c7d212c1542bbc04fa7ada17e86b1219192c562
[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 name="delete" action='bweb.pl?'>
8   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
9   <button type="submit" name='action' class="bp" value='delete' title='Supprimer ce job'
10  onclick="return confirm('Voulez vous vraiment supprimer ce job du catalogue ?');">
11    <img src='/bweb/purge.png' alt=''>Supprimer</button>
12  </form>
13  </td><td>
14  <form name="media" action='bweb.pl?'>
15   <TMPL_LOOP volumes>
16    <input type='hidden' name='media' value='<TMPL_VAR VolumeName>'>
17   </TMPL_LOOP>   
18   <button type="submit" name='action' value='media' title='Voir les médias' class="bp">
19    <img src='/bweb/zoom.png'alt=''>Voir les médias</button>
20  </form>
21  </td>
22  <td>
23  <form name="job" action='bweb.pl?'>
24   <input type='hidden' name='client' value='<TMPL_VAR Client>'>
25   <button type="submit" class="bp" name='action' value='job' title='voir <TMPL_VAR Client> jobs'><img src='/bweb/zoom.png'>Voir les jobs</button>
26  </form>
27  </td>
28  <td>
29  <form name="graph" action='bweb.pl?'>
30   <input type='hidden' name='age' value='2678400'>
31   <input type='hidden' name='client' value='<TMPL_VAR Client>'>
32   <input type='hidden' name='jobname' value='<TMPL_VAR jobname>'>
33   <button type="submit" class="bp" name='action' value='graph' title='Voir les tendances'>
34    <img src='/bweb/chart.png' alt=''> Voir les stats </button>
35  </form>
36  </td>
37  <td>
38  <form name="fileset_view" action='bweb.pl?'>
39   <input type='hidden' name='fileset' value='<TMPL_VAR FileSet>'>
40   <button type="submit" class="bp" name='action' value='fileset_view' title='Voir le fileset associé'> 
41  <img src='/bweb/zoom.png' alt=''>Voir le fileset associé</button>
42  </form>
43  </td>
44  <td>
45  <form name="bfileview" action='bfileview.pl?'>
46   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
47   <input type='hidden' name='where' value='/'>
48   <button type="submit" class="bp" name='action' value='bfileview' 
49    title='Répartition des fichiers' 
50    onclick='if (<TMPL_VAR JobFiles> > 50000) { return confirm("Ce traitement peut prendre beaucoup de temps, voulez vous continuer ?")} else { return 1; }'>
51    <img src='/bweb/colorscm.png' alt=''> Répartition des fichiers </button>
52  </form>
53  </td>
54 <TMPL_IF wiki_url>
55   <td>
56    <a href="<TMPL_VAR wiki_url><TMPL_VAR Client>" title='Documentation'><img src='/bweb/doc.png' alt='Documentation'></a>Documentation
57  </td>
58 </TMPL_IF>
59  <td>
60  <form name="rerun" action='bweb.pl?' onsubmit="document.getElementById('rerun_level').value=joblevelname['<TMPL_VAR NAME=Level>']">
61   <input type='hidden' name='storage' value='<TMPL_VAR storage>'>
62   <input type='hidden' name='fileset' value='<TMPL_VAR fileset>'>
63   <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
64   <input type='hidden' name='client' value='<TMPL_VAR client>'>
65   <input type='hidden' id="rerun_level" name='level'>
66   <input type='hidden' name='job' value='<TMPL_VAR jobname>'>
67   <button type="submit" class="bp" name='action' value='run_job_mod' title='Relancer ce job'>
68    <img src='/bweb/R.png'> Lancer ce job </button>
69  </form>
70  </td>
71 <TMPL_IF joberrors>
72  <td>
73     <a href="<TMPL_VAR thisurl>;error=1"
74          title="Voir les erreurs">
75     <img src='/bweb/doc.png' alt="View errors"></a> Voir les erreurs
76   </td>
77 </TMPL_IF>
78  </table>
79 </div>
80
81 <script type="text/javascript" language='JavaScript'>
82 var header = new Array("JobId",
83                        "Client",
84                        "Nom du Job", 
85                        "FileSet",
86                        "Niveau",
87                        "Début", 
88                        "Durée",
89                        "Fichiers",
90                        "Taille",
91                        "Erreurs",
92                        "Pool",
93                        "Nom de volume",
94                        "Statut");
95
96 var data = new Array();
97
98 img = document.createElement("IMG");
99 img.src=bweb_get_job_img("<TMPL_VAR JobStatus>", 
100                          <TMPL_VAR joberrors>,
101                          '<TMPL_VAR jobtype>');
102 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
103
104 data.push( new Array(
105 "<TMPL_VAR JobId>",
106 "<TMPL_VAR Client>",     
107 "<TMPL_VAR JobName>",    
108 "<TMPL_VAR FileSet>",    
109 "<TMPL_VAR Level>",      
110 "<TMPL_VAR StartTime>",
111 "<TMPL_VAR duration>",
112 "<TMPL_VAR JobFiles>",   
113 human_size(<TMPL_VAR JobBytes>),
114 "<TMPL_VAR joberrors>",
115 "<TMPL_VAR poolname>",
116 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",   
117 img
118  )
119 );
120
121 nrsTable.setup(
122 {
123  table_name:     "id0",
124  table_header: header,
125  table_data: data,
126  up_icon: up_icon,
127  down_icon: down_icon,
128  prev_icon: prev_icon,
129  next_icon: next_icon,
130  rew_icon:  rew_icon,
131  fwd_icon:  fwd_icon,
132 // natural_compare: true,
133  even_cell_color: even_cell_color,
134  odd_cell_color: odd_cell_color, 
135  header_color: header_color,
136  page_nav: true,
137  rows_per_page: rows_per_page,
138 // disable_sorting: new Array(6)
139  padding: 3
140 }
141 );
142
143 </script>