]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Added Start time column in backup job report page
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 20 Jun 2011 15:51:42 +0000 (17:51 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:13 +0000 (14:49 +0200)
 - Fixed column width in last 10 jobs list

gui/bacula-web/backupjob-report.php
gui/bacula-web/templates/backupjob-report.tpl

index 5918aec36d15a77edbcddd85f6feee1bea558871..b9e3504d849b57e6d465f4fb8415c9a8f0c395c4 100644 (file)
@@ -85,7 +85,7 @@
   $dbSql->tpl->assign('graph_stored_files', $graph->Get_Image_file() );
 \r
   // Last 10 jobs\r
-  $query    = "SELECT JobId, Level, JobFiles, JobBytes, JobStatus, EndTime, Name ";  \r
+  $query    = "SELECT JobId, Level, JobFiles, JobBytes, JobStatus, StartTime, EndTime, Name ";  
   $query   .= "FROM Job ";\r
   $query   .= "WHERE Name = '$backupjob_name' ";\r
   $query   .= "ORDER BY EndTime DESC ";\r
index f3f0b6684f2a2a7d798482d7c4baac1de3c2ccef..5e5b18a049ba35e6354975b36ca2583f6fc2de29 100644 (file)
   <div class="box">\r
        <p class="title">Last jobs</p>\r
        \r
-       <table>\r
+       <table border="1">
                <tr>\r
-                       <td class="tbl_header">Job Id</td>\r
-                       <td class="tbl_header">Level</td>\r
-                       <td class="tbl_header">Files</td>\r
-                       <td class="tbl_header">Bytes</td>\r
-                       <td class="tbl_header">End time</td>\r
+                       <td class="tbl_header" width="60">Job Id</td>
+                       <td class="tbl_header" width="60">Level</td>
+                       <td class="tbl_header" width="70">Files</td>
+                       <td class="tbl_header" width="70">Bytes</td>
+                       <td class="tbl_header" width="80">Start time</td>
+                       <td class="tbl_header" width="80">End time</td>
                </tr>\r
                {foreach from=$jobs item=job}\r
                <tr>\r
@@ -56,6 +57,7 @@
                        <td>{$job.Level}</td>\r
                        <td>{$job.JobFiles}</td>\r
                        <td>{$job.JobBytes}</td>\r
+                       <td>{$job.StartTime}</td>
                        <td>{$job.EndTime}</td>\r
                </tr>\r
                {/foreach}\r