]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/display_job_zoom.tpl
bacula-web: Replaced Get_human_file_size() function by Utils::Get_Human_Size
[bacula/bacula] / gui / bweb / tpl / display_job_zoom.tpl
index 49712b18d0438dc76a3723fbf71da81b13d59312..f8eafd0b6eb54bb6a555cfb4da0bc9b832dbbf50 100644 (file)
@@ -1,5 +1,6 @@
  <div class='titlediv'>
-  <h1 class='newstitle'>__Information about job__</h1>
+  <h1 class='newstitle'>__Information about job__ <i><TMPL_VAR JobName></i>
+       <TMPL_IF comment>(<TMPL_VAR comment>)</TMPL_IF></h1>
  </div>
  <div class="bodydiv">
  <table id='id0'></table>
@@ -41,7 +42,6 @@
  <img src='/bweb/zoom.png' alt=''>__View FileSet__</button>
  </form>
  </td>
-<!-- Remove this to activate bfileview 
  <td>
  <form name="bfileview" action='bfileview.pl?'>
   <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'>
@@ -52,7 +52,6 @@
    <img src='/bweb/colorscm.png' alt=''> __View file usage__ </button>
  </form>
  </td>
--->
 <TMPL_IF wiki_url>
   <td>
    <a href="<TMPL_VAR wiki_url><TMPL_VAR Client>" title='__View doc__'><img src='/bweb/doc.png' alt='__View doc__'></a>__View doc__
@@ -90,6 +89,7 @@ var header = new Array("JobId",
                       "__Duration__",
                        "__JobFiles__",
                        "__JobBytes__",
+//                       "__Comp__",
                        "__Errors__",
                       "__Pool__",
                        "__Volume Name__",
@@ -98,7 +98,9 @@ var header = new Array("JobId",
 var data = new Array();
 
 img = document.createElement("IMG");
-img.src=bweb_get_job_img("<TMPL_VAR JobStatus>", <TMPL_VAR joberrors>);
+img.src=bweb_get_job_img("<TMPL_VAR JobStatus>", 
+                         <TMPL_VAR joberrors>,
+                         '<TMPL_VAR jobtype>');
 img.title=jobstatus['<TMPL_VAR JobStatus>']; 
 
 data.push( new Array(
@@ -108,9 +110,10 @@ data.push( new Array(
 "<TMPL_VAR FileSet>",    
 "<TMPL_VAR Level>",      
 "<TMPL_VAR StartTime>",
-"<TMPL_VAR duration>",
+human_duration("<TMPL_VAR duration>"),
 "<TMPL_VAR JobFiles>",   
 human_size(<TMPL_VAR JobBytes>),
+//parseInt(100-100*<TMPL_VAR JobBytes>/(<TMPL_VAR ReadBytes>+0.00001), 10) + "%",
 "<TMPL_VAR joberrors>",
 "<TMPL_VAR poolname>",
 "<TMPL_LOOP volumes><TMPL_VAR VolumeName>\n</TMPL_LOOP>",