mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-14 10:47:26 +01:00
15 lines
413 B
Cheetah
15 lines
413 B
Cheetah
{{define "content"}}
|
|
<div id="svelte-app"></div>
|
|
{{end}}
|
|
|
|
{{define "stylesheets"}}
|
|
<link rel='stylesheet' href='/build/config.css'>
|
|
{{end}}
|
|
{{define "javascript"}}
|
|
<script>
|
|
const isAdmin = {{ .User.HasRole .Roles.admin }};
|
|
const filterPresets = {{ .FilterPresets }};
|
|
const clusterCockpitConfig = {{ .Config }};
|
|
</script>
|
|
<script src='/build/config.js'></script>
|
|
{{end}} |