cc-backend/web/templates/config.tmpl
Christoph Kluge 802c10588f Completely replace outdated template config rendering
- Deleted respective old files
- Renamed new components
2022-09-09 15:27:00 +02:00

16 lines
390 B
Cheetah

{{define "content"}}
<div id="svelte-app"></div>
{{end}}
{{define "stylesheets"}}
<link rel='stylesheet' href='/build/config.css'>
{{end}}
{{define "javascript"}}
<script>
const user = {{ .User }};
const filterPresets = {{ .FilterPresets }};
const clusterCockpitConfig = {{ .Config }};
</script>
<script src='/build/config.js'></script>
{{end}}