diff --git a/web/frontend/src/generic/helper/JobFootprint.svelte b/web/frontend/src/generic/helper/JobFootprint.svelte
index dd56a95..187eff9 100644
--- a/web/frontend/src/generic/helper/JobFootprint.svelte
+++ b/web/frontend/src/generic/helper/JobFootprint.svelte
@@ -109,21 +109,21 @@
return {
...fmBase,
color: "danger",
- message: `Metric average way ${fmc.lowerIsBetter ? "above" : "below"} expected normal thresholds.`,
+ message: `Footprint value way ${fmc.lowerIsBetter ? "above" : "below"} expected normal threshold.`,
impact: 3
};
} else if (evalFootprint(jf.value, fmt, fmc.lowerIsBetter, "caution")) {
return {
...fmBase,
color: "warning",
- message: `Metric average ${fmc.lowerIsBetter ? "above" : "below"} expected normal thresholds.`,
+ message: `Footprint value ${fmc.lowerIsBetter ? "above" : "below"} expected normal threshold.`,
impact: 2,
};
} else if (evalFootprint(jf.value, fmt, fmc.lowerIsBetter, "normal")) {
return {
...fmBase,
color: "success",
- message: "Metric average within expected thresholds.",
+ message: "Footprint value within expected thresholds.",
impact: 1,
};
} else if (evalFootprint(jf.value, fmt, fmc.lowerIsBetter, "peak")) {
@@ -131,7 +131,7 @@
...fmBase,
color: "info",
message:
- "Metric average above expected normal thresholds: Check for artifacts recommended.",
+ "Footprint value above expected normal threshold: Check for artifacts recommended.",
impact: 0,
};
} else {
@@ -139,7 +139,7 @@
...fmBase,
color: "secondary",
message:
- "Metric average above expected peak threshold: Check for artifacts!",
+ "Footprint value above expected peak threshold: Check for artifacts!",
impact: -1,
};
}
@@ -201,10 +201,14 @@
>
- {#if fpd.impact === 3 || fpd.impact === -1}
-
+ {#if fpd.impact === 3}
+
{:else if fpd.impact === 2}
+ {:else if fpd.impact === 0}
+
+ {:else if fpd.impact === -1}
+
{/if}
{#if fpd.impact === 3}
@@ -214,7 +218,7 @@
{:else if fpd.impact === 1}
{:else if fpd.impact === 0}
-
+
{:else if fpd.impact === -1}
{/if}
diff --git a/web/frontend/src/job/JobSummary.svelte b/web/frontend/src/job/JobSummary.svelte
index 303782f..f7772c7 100644
--- a/web/frontend/src/job/JobSummary.svelte
+++ b/web/frontend/src/job/JobSummary.svelte
@@ -114,21 +114,21 @@
return {
...fmBase,
color: "danger",
- message: `Metric average way ${fmc.lowerIsBetter ? "above" : "below"} expected normal thresholds.`,
+ message: `Footprint value way ${fmc.lowerIsBetter ? "above" : "below"} expected normal threshold.`,
impact: 3
};
} else if (evalFootprint(jf.value, fmt, fmc.lowerIsBetter, "caution")) {
return {
...fmBase,
color: "warning",
- message: `Metric average ${fmc.lowerIsBetter ? "above" : "below"} expected normal thresholds.`,
+ message: `Footprint value ${fmc.lowerIsBetter ? "above" : "below"} expected normal threshold.`,
impact: 2,
};
} else if (evalFootprint(jf.value, fmt, fmc.lowerIsBetter, "normal")) {
return {
...fmBase,
color: "success",
- message: "Metric average within expected thresholds.",
+ message: "Footprint value within expected thresholds.",
impact: 1,
};
} else if (evalFootprint(jf.value, fmt, fmc.lowerIsBetter, "peak")) {
@@ -136,7 +136,7 @@
...fmBase,
color: "info",
message:
- "Metric average above expected normal thresholds: Check for artifacts recommended.",
+ "Footprint value above expected normal threshold: Check for artifacts recommended.",
impact: 0,
};
} else {
@@ -144,7 +144,7 @@
...fmBase,
color: "secondary",
message:
- "Metric average above expected peak threshold: Check for artifacts!",
+ "Footprint value above expected peak threshold: Check for artifacts!",
impact: -1,
};
}
@@ -264,10 +264,14 @@
id={`footprint-${job.jobId}-${index}`}
>
- {#if fpd.impact === 3 || fpd.impact === -1}
+ {#if fpd.impact === 3}
{:else if fpd.impact === 2}
+ {:else if fpd.impact === 0}
+
+ {:else if fpd.impact === -1}
+
{/if}
{#if fpd.impact === 3}
@@ -276,7 +280,7 @@
{:else if fpd.impact === 1}
{:else if fpd.impact === 0}
-
+
{:else if fpd.impact === -1}
{/if}