web: more accessible task colors/icons
Fixes: https://pagure.io/koji/issue/2583
This commit is contained in:
parent
39ab9fbb69
commit
684a3389c4
2 changed files with 6 additions and 3 deletions
|
|
@ -19,6 +19,7 @@
|
|||
#set $childState = $util.taskState($child.state)
|
||||
<span class="treeBranch">
|
||||
<span class="treeLabel">
|
||||
<span class="task$childState">$util.imageTag($childState)</span>
|
||||
<a href="taskinfo?taskID=$child.id" class="task$childState" title="$childState">$koji.taskLabel($child)</a>
|
||||
</span>
|
||||
</span>
|
||||
|
|
@ -163,6 +164,8 @@
|
|||
<th>Descendants</th>
|
||||
<td class="tree">
|
||||
#if $len($descendents[$str($task.id)]) > 0
|
||||
#set $taskState = $util.taskState($task.state)
|
||||
<span class="task$taskState">$util.imageTag($taskState)</span>
|
||||
<span class="root">$task.method</span>
|
||||
#end if
|
||||
$printChildren($task.id, $descendents)
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue