tasks: show skipped tasks with dedicated color
This commit is contained in:
parent
ee60775243
commit
8b0a3ea271
|
@ -87,6 +87,7 @@ export default {
|
||||||
if (task.status == "failed") return "failed";
|
if (task.status == "failed") return "failed";
|
||||||
if (task.status == "stopped") return "failed";
|
if (task.status == "stopped") return "failed";
|
||||||
if (task.status == "running") return "running";
|
if (task.status == "running") return "running";
|
||||||
|
if (task.status == "skipped") return "skipped";
|
||||||
return "unknown";
|
return "unknown";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -148,6 +148,7 @@ export default {
|
||||||
if (task.status == "failed") return "failed";
|
if (task.status == "failed") return "failed";
|
||||||
if (task.status == "stopped") return "failed";
|
if (task.status == "stopped") return "failed";
|
||||||
if (task.status == "running") return "running";
|
if (task.status == "running") return "running";
|
||||||
|
if (task.status == "skipped") return "skipped";
|
||||||
return "unknown";
|
return "unknown";
|
||||||
},
|
},
|
||||||
update(tasks) {
|
update(tasks) {
|
||||||
|
|
|
@ -77,6 +77,7 @@ export default {
|
||||||
if (task.status == "failed") return "is-failed";
|
if (task.status == "failed") return "is-failed";
|
||||||
if (task.status == "stopped") return "is-failed";
|
if (task.status == "stopped") return "is-failed";
|
||||||
if (task.status == "running") return "is-running";
|
if (task.status == "running") return "is-running";
|
||||||
|
if (task.status == "skipped") return "is-skipped";
|
||||||
return "unknown";
|
return "unknown";
|
||||||
},
|
},
|
||||||
async fetchRun() {
|
async fetchRun() {
|
||||||
|
|
|
@ -85,6 +85,14 @@
|
||||||
@apply bg-blue-500 text-white;
|
@apply bg-blue-500 text-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.skipped {
|
||||||
|
@apply border-gray-800;
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-skipped {
|
||||||
|
@apply bg-gray-800 text-white;
|
||||||
|
}
|
||||||
|
|
||||||
.unknown {
|
.unknown {
|
||||||
@apply border-gray-400;
|
@apply border-gray-400;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue