diff --git a/web/frontend/src/Job.root.svelte b/web/frontend/src/Job.root.svelte index 0ea549f..1be505e 100644 --- a/web/frontend/src/Job.root.svelte +++ b/web/frontend/src/Job.root.svelte @@ -232,7 +232,7 @@ })); - + {#if $initq.error} @@ -323,64 +323,65 @@ -
- - - - {#if $initq.data} - - {/if} - - - - - {#if $jobMetrics.error} - {#if $initq.data.job.monitoringStatus == 0 || $initq.data.job.monitoringStatus == 2} - Not monitored or archiving failed -
- {/if} - {$jobMetrics.error.message} - {:else if $jobMetrics.fetching} - - {:else if $initq?.data && $jobMetrics?.data?.jobMetrics} - - {#if item.data} - gm.name == item.metric)?.unit} - nativeScope={$initq.data.globalMetrics.find((gm) => gm.name == item.metric)?.scope} - rawData={item.data.map((x) => x.metric)} - scopes={item.data.map((x) => x.scope)} - {width} - isShared={$initq.data.job.exclusive != 1} - /> - {:else} - No dataset returned for {item.metric} + + + + + {#if $initq.data} + {/if} - - {/if} - -
+ +
+
+ + + {#if $jobMetrics.error} + {#if $initq.data.job.monitoringStatus == 0 || $initq.data.job.monitoringStatus == 2} + Not monitored or archiving failed +
+ {/if} + {$jobMetrics.error.message} + {:else if $jobMetrics.fetching} + + {:else if $initq?.data && $jobMetrics?.data?.jobMetrics} + + {#if item.data} + gm.name == item.metric)?.unit} + nativeScope={$initq.data.globalMetrics.find((gm) => gm.name == item.metric)?.scope} + rawData={item.data.map((x) => x.metric)} + scopes={item.data.map((x) => x.scope)} + {width} + isShared={$initq.data.job.exclusive != 1} + /> + {:else} + No dataset returned for {item.metric} + {/if} + + {/if} + +
+ + -
- - + {#if $initq.data}