cc-backend/web/templates/monitoring/list.tmpl

18 lines
499 B
Cheetah
Raw Normal View History

2022-01-17 13:31:40 +01:00
{{define "content"}}
<div id="svelte-app"></div>
{{end}}
{{define "stylesheets"}}
<link rel='stylesheet' href='/build/list.css'>
{{end}}
{{define "javascript"}}
<script>
const listType = {{ .Infos.listType }};
const filterPresets = {{ .FilterPresets }};
const clusterCockpitConfig = {{ .Config }};
const project = {{ .User.Project }};
const isManager = {{ eq .User.AuthLevel 3 }};
2022-01-17 13:31:40 +01:00
</script>
<script src='/build/list.js'></script>
{{end}}