From bba077a5dd29fb1bda004c0ccf3062b38c562cc5 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Fri, 27 May 2011 18:33:10 +0200 Subject: [PATCH] bacula-web: Changed icons apparence and filename for jobs page - New icon for jobs with status "completed with errors" - Changed icon for jobs status "Fatal error" - Renammed some icons file and removed useless --- gui/bacula-web/jobs.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/gui/bacula-web/jobs.php b/gui/bacula-web/jobs.php index 27f551a8ea..9bf9751d8e 100644 --- a/gui/bacula-web/jobs.php +++ b/gui/bacula-web/jobs.php @@ -31,13 +31,13 @@ $query .= "WHERE Job.JobStatus = 'R' "; break; case 'waiting': - $query .= "WHERE Job.JobStatus IN ('F','S','M','m','s','j','c','d','t','C') "; + $query .= "WHERE Job.JobStatus IN ('F','S','M','m','s','j','c','d','t','p','C') "; break; case 'completed': - $query .= "WHERE Job.JobStatus = 'T' "; + $query .= "WHERE Job.JobStatus IN ('T', 'E') "; break; case 'failed': - $query .= "WHERE Job.JobStatus IN ('f','E') "; + $query .= "WHERE Job.JobStatus = 'f' "; break; case 'canceled': $query .= "WHERE Job.JobStatus = 'A' "; @@ -70,12 +70,16 @@ $job['Job_icon'] = "running.png"; break; case 'T': - $job['Job_icon'] = "s_ok.png"; + $job['Job_icon'] = "ok.png"; break; case 'A': - case 'f': + $job['Job_icon'] = "canceled.png"; + break; case 'E': - $job['Job_icon'] = "s_error.gif"; + $job['Job_icon'] = "warning.png"; + break; + case 'f': + $job['Job_icon'] = "error.png"; break; case 'F': case 'S': -- 2.39.5