mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-04-04 15:07:29 +02:00
16 lines
454 B
Cheetah
16 lines
454 B
Cheetah
{{define "content"}}
|
|
<div id="svelte-app"></div>
|
|
{{end}}
|
|
{{define "stylesheets"}}
|
|
<link rel='stylesheet' href='/build/taglist.css'>
|
|
{{end}}
|
|
{{define "javascript"}}
|
|
<script>
|
|
const username = {{ .User.Username }};
|
|
const isAdmin = {{ .User.HasRole .Roles.admin }};
|
|
const tagmap = {{ .Infos.tagmap }};
|
|
const clusterCockpitConfig = {{ .Config }};
|
|
</script>
|
|
<script src='/build/taglist.js'></script>
|
|
{{end}}
|