Add /monitoring/analysis route

This commit is contained in:
Lou Knauer
2022-02-03 10:42:15 +01:00
parent efc3e1735b
commit e8c6a7d589
4 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
{{define "content"}}
<div id="svelte-app"></div>
{{end}}
{{define "stylesheets"}}
<link rel='stylesheet' href='/build/analysis.css'>
{{end}}
{{define "javascript"}}
<script>
const cluster = {{ .Infos.cluster }};
const filterPresets = {{ .FilterPresets }};
const clusterCockpitConfig = {{ .Config }};
</script>
<script src='/build/analysis.js'></script>
{{end}}