mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-31 18:56:16 +01:00
Update component header, format, streamline SV5 components
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<!--:
|
||||
@component Job-View subcomponent; display table of metric data statistics with selectable scopes
|
||||
@component Job-View subcomponent; display table of metric data statistics with selectable scopes
|
||||
|
||||
Properties:
|
||||
- `hosts [String]`: The list of hostnames of this job
|
||||
- `jobStats Object`: The data object
|
||||
- `selectedMetrics [String]`: The selected metrics
|
||||
-->
|
||||
Properties:
|
||||
- `hosts [String]`: The list of hostnames of this job
|
||||
- `jobStats Object`: The data object
|
||||
- `selectedMetrics [String]`: The selected metrics
|
||||
-->
|
||||
|
||||
<script>
|
||||
import {
|
||||
@@ -123,7 +123,6 @@
|
||||
return s.dir != "up" ? s1[stat] - s2[stat] : s2[stat] - s1[stat];
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<Table class="mb-0">
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<!--
|
||||
@component Job-View subcomponent; Single Statistics entry component for statstable
|
||||
@component Job-View subcomponent; Single Statistics entry component for statstable
|
||||
|
||||
Properties:
|
||||
- `data [Object]`: The jobs statsdata for host-metric-scope
|
||||
- `scope String`: The selected scope
|
||||
-->
|
||||
Properties:
|
||||
- `data [Object]`: The jobs statsdata for host-metric-scope
|
||||
- `scope String`: The selected scope
|
||||
-->
|
||||
|
||||
<script>
|
||||
import { Icon } from "@sveltestrap/sveltestrap";
|
||||
|
||||
Reference in New Issue
Block a user