]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/display_job_zoom.tpl
ebl remove Purged/Recycled status in update media
[bacula/bacula] / gui / bweb / tpl / display_job_zoom.tpl
index 0e11d747f8af8afd9bfffebde9935e86affccc28..0c2f29487ef00fa8c817e2c11646ef8459b5fac1 100644 (file)
@@ -8,6 +8,7 @@
   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
   <label>
   <input type="image" name='action' value='delete' title='delete this job'
+ onclick="return confirm('Do you want to delete this job from the catalog ?');"
    src='/bweb/purge.png'> Delete
   </label>
  </form>
   </label>
  </form>
  </td>
+ <td>
+ <form action='?'>
+  <input type='hidden' name='fileset' value='<TMPL_VAR FileSet>'>
+  <label>
+  <input type="image" name='action' value='fileset_view' title='view fileset'
+   src='/bweb/zoom.png'> View FileSet
+  </label>
+ </form>
+ </td>
  </table>
 </div>
 
@@ -54,6 +64,7 @@ var header = new Array("JobId",
                       "Duration",
                        "JobFiles",
                        "JobBytes",
+                       "Errors",
                       "Pool",
                        "Volume Name",
                       "Status");
@@ -61,7 +72,7 @@ var header = new Array("JobId",
 var data = new Array();
 
 img = document.createElement("IMG");
-img.src="/bweb/<TMPL_VAR JobStatus>.png";
+img.src=bweb_get_job_img("<TMPL_VAR JobStatus>", <TMPL_VAR joberrors>);
 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
 
 data.push( new Array(
@@ -73,7 +84,8 @@ data.push( new Array(
 "<TMPL_VAR StartTime>",
 "<TMPL_VAR duration>",
 "<TMPL_VAR JobFiles>",   
-"<TMPL_VAR JobBytes>",
+human_size(<TMPL_VAR JobBytes>),
+"<TMPL_VAR joberrors>",
 "<TMPL_VAR poolname>",
 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",   
 img