cc-backend/templates/monitoring/list.tmpl

17 lines
472 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>
2022-02-15 10:03:09 +01:00
header.currentView = {{ .Infos.listType }}.toLowerCase() + 's';
2022-01-17 13:31:40 +01:00
const listType = {{ .Infos.listType }};
const filterPresets = {{ .FilterPresets }};
const clusterCockpitConfig = {{ .Config }};
</script>
<script src='/build/list.js'></script>
{{end}}