Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwin Dondorp committed Apr 20, 2024
1 parent c9cb271 commit 94ab61f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions saltgui/static/scripts/output/Output.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,15 +389,14 @@ export class Output {
pSpan.classList.add("task-skipped");
} else if (pTask.result) {
if (nrChanges) {
pSpan.classList.add("task-changes-success");
pSpan.classList.add("task-changes");
} else {
pSpan.classList.add("task-success");
}
} else {
pSpan.classList.add("task-failure");
}
if (nrChanges) {
pSpan.classList.add("task-changes");
pSpan.innerText = Character.BLACK_CIRCLE_WITH_OUTLINE;
}

Expand Down
5 changes: 1 addition & 4 deletions saltgui/static/stylesheets/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,6 @@ table tr td:last-of-type {
color: lime;
}

.taskcircle.task-changes-success {
color: aqua;
}

.taskcircle.task-failure {
color: red;
}
Expand All @@ -329,6 +325,7 @@ table tr td:last-of-type {
}

.taskcircle.task-changes {
color: aqua;
}

@media print {
Expand Down

0 comments on commit 94ab61f

Please sign in to comment.