Merge "web: Show failed tasks in red on task page"

This commit is contained in:
Zuul 2022-10-07 11:40:31 +00:00 committed by Gerrit Code Review
commit 30c725ff6e
2 changed files with 5 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class BuildOutput extends React.Component {
renderFailedTask (host, task) {
const max_lines = 42
return (
<Card key={host + task.zuul_log_id}>
<Card key={host + task.zuul_log_id} className="zuul-task-summary-failed">
<CardHeader>
<TimesIcon style={{ color: 'var(--pf-global--danger-color--100)' }}/>
&nbsp;Task&nbsp;<strong>{task.name}</strong>&nbsp;

View File

@ -432,3 +432,7 @@ details.foldable[open] summary::before {
{
background: var(--pf-global--active-color--400);
}
.zuul-task-summary-failed.pf-c-card {
background: var(--pf-global--palette--red-50);
}