Update component header, format, streamline SV5 components

This commit is contained in:
Christoph Kluge
2025-07-02 18:43:25 +02:00
parent dd48f5ab87
commit 60ec7e54f5
76 changed files with 2070 additions and 1988 deletions

View File

@@ -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">

View File

@@ -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";