feat: add dashboard (#139)

This commit is contained in:
2025-01-13 13:30:04 +02:00
parent 65324633b4
commit 08640d9108
7 changed files with 146 additions and 19 deletions

View File

@ -58,6 +58,14 @@
return value.includes(dataList[index].toLowerCase());
}
function headerClass(status) {
if (status === "pending") return ["bg-warning"];
if (status === "building") return ["bg-warning"];
if (status === "failed") return ["bg-danger", "text-white"];
if (status === "success") return ["bg-success", "text-white"];
return ["bg-secondary", "text-white"];
}
function listToTable(data) {
return Array.from(new Set(data))
.sort()