From: Davide Franco Date: Mon, 20 Jun 2011 15:51:42 +0000 (+0200) Subject: bacula-web: Added Start time column in backup job report page X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5856146bf94282e5c3ba5a9a93e6aff36a17b2a0;p=bacula%2Fbacula bacula-web: Added Start time column in backup job report page - Fixed column width in last 10 jobs list --- diff --git a/gui/bacula-web/backupjob-report.php b/gui/bacula-web/backupjob-report.php index 5918aec36d..b9e3504d84 100644 --- a/gui/bacula-web/backupjob-report.php +++ b/gui/bacula-web/backupjob-report.php @@ -85,7 +85,7 @@ $dbSql->tpl->assign('graph_stored_files', $graph->Get_Image_file() ); // Last 10 jobs - $query = "SELECT JobId, Level, JobFiles, JobBytes, JobStatus, EndTime, Name "; + $query = "SELECT JobId, Level, JobFiles, JobBytes, JobStatus, StartTime, EndTime, Name "; $query .= "FROM Job "; $query .= "WHERE Name = '$backupjob_name' "; $query .= "ORDER BY EndTime DESC "; diff --git a/gui/bacula-web/templates/backupjob-report.tpl b/gui/bacula-web/templates/backupjob-report.tpl index f3f0b6684f..5e5b18a049 100644 --- a/gui/bacula-web/templates/backupjob-report.tpl +++ b/gui/bacula-web/templates/backupjob-report.tpl @@ -42,13 +42,14 @@

Last jobs

- +
- - - - - + + + + + + {foreach from=$jobs item=job} @@ -56,6 +57,7 @@ + {/foreach}
Job IdLevelFilesBytesEnd timeJob IdLevelFilesBytesStart timeEnd time
{$job.Level} {$job.JobFiles} {$job.JobBytes}{$job.StartTime} {$job.EndTime}