diff --git a/web/frontend/src/Config.root.svelte b/web/frontend/src/Config.root.svelte
index e8a2045..171b2a0 100644
--- a/web/frontend/src/Config.root.svelte
+++ b/web/frontend/src/Config.root.svelte
@@ -6,7 +6,8 @@
- `isSupport Bool!`: Is currently logged in user support authority
- `isApi Bool!`: Is currently logged in user api authority
- `username String!`: Empty string if auth. is disabled, otherwise the username as string
- - `ncontent String!`: The currently displayed message on the homescreen
+ - `ncontent String!`: The currently displayed message on the homescreen
+ - `clusters [String]`: The available clusternames
-->
@@ -30,7 +32,7 @@
Admin Options
-
+
{/if}
diff --git a/web/frontend/src/DashPublic.root.svelte b/web/frontend/src/DashPublic.root.svelte
index dac3f9a..676e496 100644
--- a/web/frontend/src/DashPublic.root.svelte
+++ b/web/frontend/src/DashPublic.root.svelte
@@ -30,6 +30,7 @@
Table,
Progress,
Icon,
+ Button
} from "@sveltestrap/sveltestrap";
import Roofline from "./generic/plots/Roofline.svelte";
import Pie, { colors } from "./generic/plots/Pie.svelte";
@@ -353,6 +354,11 @@
}}
/>
+
+
+
{#if $statusQuery.fetching || $statesTimed.fetching}
diff --git a/web/frontend/src/config.entrypoint.js b/web/frontend/src/config.entrypoint.js
index f9d8e45..5d11eed 100644
--- a/web/frontend/src/config.entrypoint.js
+++ b/web/frontend/src/config.entrypoint.js
@@ -10,6 +10,7 @@ mount(Config, {
isApi: isApi,
username: username,
ncontent: ncontent,
+ clusters: hClusters.map((c) => c.name) // Defined in Header Template
},
context: new Map([
['cc-config', clusterCockpitConfig],
diff --git a/web/frontend/src/config/AdminSettings.svelte b/web/frontend/src/config/AdminSettings.svelte
index 1a426b8..79072e3 100644
--- a/web/frontend/src/config/AdminSettings.svelte
+++ b/web/frontend/src/config/AdminSettings.svelte
@@ -3,6 +3,7 @@
Properties:
- `ncontent String`: The homepage notice content
+ - `clusters [String]`: The available clusternames
-->