mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-08-01 00:48:09 +02:00
Update configurations and add new files
This commit is contained in:
15
web/templates/monitoring/history.tmpl
Normal file
15
web/templates/monitoring/history.tmpl
Normal file
@@ -0,0 +1,15 @@
|
||||
{{define "content"}}
|
||||
<div id="svelte-app"></div>
|
||||
{{end}}
|
||||
|
||||
{{define "stylesheets"}}
|
||||
<link rel='stylesheet' href='/build/history.css'>
|
||||
{{end}}
|
||||
{{define "javascript"}}
|
||||
<script>
|
||||
const cluster = {{ .Infos.cluster }};
|
||||
const filterPresets = {{ .FilterPresets }};
|
||||
const clusterCockpitConfig = {{ .Config }};
|
||||
</script>
|
||||
<script src='/build/history.js'></script>
|
||||
{{end}}
|
Reference in New Issue
Block a user