mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-16 20:26:16 +01:00
cleanup routes, cleanup root components
This commit is contained in:
@@ -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}}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user