diff --git a/web/frontend/src/Job.root.svelte b/web/frontend/src/Job.root.svelte
index 8e508fa..cddace1 100644
--- a/web/frontend/src/Job.root.svelte
+++ b/web/frontend/src/Job.root.svelte
@@ -25,7 +25,6 @@
CardHeader,
CardTitle,
Button,
- Icon,
} from "@sveltestrap/sveltestrap";
import { getContext } from "svelte";
import {
@@ -35,7 +34,6 @@
transformDataForRoofline,
} from "./generic/utils.js";
import Metric from "./job/Metric.svelte";
- import TagManagement from "./job/TagManagement.svelte";
import StatsTable from "./job/StatsTable.svelte";
import JobSummary from "./job/JobSummary.svelte";
import ConcurrentJobs from "./generic/helper/ConcurrentJobs.svelte";
@@ -54,12 +52,10 @@
const ccconfig = getContext("cc-config")
let isMetricsSelectionOpen = false,
- showFootprint = !!ccconfig[`job_view_showFootprint`],
selectedMetrics = [],
selectedScopes = [];
let plots = {},
- jobTags,
roofWidth
let missingMetrics = [],
@@ -240,14 +236,22 @@
{:else if $initq.data}
This note was added by administrators: {@html $initq.data.job.metaData.message}Job {$initq.data?.job?.jobId} ({$initq.data?.job?.cluster})
+ The following note was added by administrators:
+
-
Initq Error: {$initq.error?.message}
diff --git a/web/frontend/src/generic/helper/Tag.svelte b/web/frontend/src/generic/helper/Tag.svelte index b3e2d6b..7efaf63 100644 --- a/web/frontend/src/generic/helper/Tag.svelte +++ b/web/frontend/src/generic/helper/Tag.svelte @@ -23,12 +23,22 @@ if ($initialized && tag == null) tag = allTags.find(tag => tag.id == id) } + + function getScopeColor(scope) { + switch (scope) { + case "admin": + return "#19e5e6"; + case "global": + return "#c85fc8"; + default: + return "#ffc107"; + } + }