From: Davide Franco Date: Fri, 27 May 2011 16:33:10 +0000 (+0200) Subject: bacula-web: Changed icons apparence and filename for jobs page X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bba077a5dd29fb1bda004c0ccf3062b38c562cc5;p=bacula%2Fbacula 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 --- 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':