From 944db3fd33d80d067165260dd6951e84e96fc21c Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jan 18 2021 14:58:32 +0000 Subject: web: more accessible task colors/icons Fixes: https://pagure.io/koji/issue/2583 --- diff --git a/www/kojiweb/taskinfo.chtml b/www/kojiweb/taskinfo.chtml index 75f6010..f2956ba 100644 --- a/www/kojiweb/taskinfo.chtml +++ b/www/kojiweb/taskinfo.chtml @@ -19,6 +19,7 @@ #set $childState = $util.taskState($child.state) + $util.imageTag($childState) $koji.taskLabel($child) @@ -163,6 +164,8 @@ Descendants #if $len($descendents[$str($task.id)]) > 0 + #set $taskState = $util.taskState($task.state) + $util.imageTag($taskState) $task.method #end if $printChildren($task.id, $descendents) diff --git a/www/static/koji.css b/www/static/koji.css index b2535f9..f08716b 100644 --- a/www/static/koji.css +++ b/www/static/koji.css @@ -392,11 +392,11 @@ tr.row-even td.tree span.treeLabel { } .taskopen { - color: #f60; + color: #ff8c00; } .taskclosed, .repoready { - color: #0c0; + color: #008000; } .taskcanceled, .repoexpired { @@ -408,7 +408,7 @@ tr.row-even td.tree span.treeLabel { } .taskfailed, .repodeleted, .repoproblem { - color: #c00; + color: #ff0000; } a.help {