Add public dashboard and route, add DoubleMetricPlot and GQL queries

- add roofline legend display switch
- small fixes
This commit is contained in:
Christoph Kluge
2025-12-09 10:26:55 +01:00
parent 967f0a3294
commit 4083de2a51
23 changed files with 2918 additions and 96 deletions

View File

@@ -0,0 +1,14 @@
{{define "content-public"}}
<div id="svelte-app"></div>
{{end}}
{{define "stylesheets"}}
<link rel='stylesheet' href='/build/dashpublic.css'>
{{end}}
{{define "javascript-public"}}
<script>
const infos = {{ .Infos }};
const clusterCockpitConfig = {{ .Config }};
</script>
<script src='/build/dashpublic.js'></script>
{{end}}

View File

@@ -8,6 +8,7 @@
{{define "javascript"}}
<script>
const infos = {{ .Infos }};
const displayType = {{ .Infos.displayType }};
const clusterCockpitConfig = {{ .Config }};
</script>
<script src='/build/status.js'></script>