cleanup routes, cleanup root components

This commit is contained in:
Christoph Kluge
2025-12-15 15:10:10 +01:00
parent c5aff1a2ca
commit d56b0e93db
6 changed files with 21 additions and 43 deletions

View File

@@ -27,13 +27,13 @@
<main>
<div class="container">
{{block "content-public" .}}
Whoops, you should not see this... [MAIN]
Whoops, you should not see this... [PUBLIC]
{{end}}
</div>
</main>
{{block "javascript-public" .}}
Whoops, you should not see this... [JS]
Whoops, you should not see this... [JS PUBLIC]
{{end}}
{{else}}

View File

@@ -7,7 +7,7 @@
{{end}}
{{define "javascript-public"}}
<script>
const infos = {{ .Infos }};
const presetCluster = {{ .Infos.cluster }};
const clusterCockpitConfig = {{ .Config }};
</script>
<script src='/build/dashpublic.js'></script>