From 5856146bf94282e5c3ba5a9a93e6aff36a17b2a0 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 20 Jun 2011 17:51:42 +0200 Subject: [PATCH] bacula-web: Added Start time column in backup job report page - Fixed column width in last 10 jobs list --- gui/bacula-web/backupjob-report.php | 2 +- gui/bacula-web/templates/backupjob-report.tpl | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) 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} -- 2.39.5
Job IdLevelFilesBytesEnd timeJob IdLevelFilesBytesStart timeEnd time
{$job.Level} {$job.JobFiles} {$job.JobBytes}{$job.StartTime} {$job.EndTime}