mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-16 20:26:16 +01:00
Add public dashboard and route, add DoubleMetricPlot and GQL queries
- add roofline legend display switch - small fixes
This commit is contained in:
14
web/templates/monitoring/dashboard.tmpl
Normal file
14
web/templates/monitoring/dashboard.tmpl
Normal file
@@ -0,0 +1,14 @@
|
||||
{{define "content-public"}}
|
||||
<div id="svelte-app"></div>
|
||||
{{end}}
|
||||
|
||||
{{define "stylesheets"}}
|
||||
<link rel='stylesheet' href='/build/dashpublic.css'>
|
||||
{{end}}
|
||||
{{define "javascript-public"}}
|
||||
<script>
|
||||
const infos = {{ .Infos }};
|
||||
const clusterCockpitConfig = {{ .Config }};
|
||||
</script>
|
||||
<script src='/build/dashpublic.js'></script>
|
||||
{{end}}
|
||||
@@ -8,6 +8,7 @@
|
||||
{{define "javascript"}}
|
||||
<script>
|
||||
const infos = {{ .Infos }};
|
||||
const displayType = {{ .Infos.displayType }};
|
||||
const clusterCockpitConfig = {{ .Config }};
|
||||
</script>
|
||||
<script src='/build/status.js'></script>
|
||||
|
||||
Reference in New Issue
Block a user