mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-08-22 10:12:59 +02:00
.github
api
auth
config
frontend
graph
metricdata
schema
templates
monitoring
analysis.html
job.html
jobs.html
node.html
systems.html
user.html
users.html
404.html
base.html
home.html
login.html
templates.go
utils
.env
.gitignore
.gitmodules
LICENSE
README.md
go.mod
go.sum
gqlgen.yml
init-db.go
server.go
30 lines
1.4 KiB
HTML
30 lines
1.4 KiB
HTML
{{define "content"}}
|
|
<div id="svelte-app"></div>
|
|
{{end}}
|
|
|
|
{{define "stylesheets"}}
|
|
<link rel='stylesheet' href='/build/job.css'>
|
|
{{end}}
|
|
{{define "javascript"}}
|
|
<script>
|
|
const jobInfos = {
|
|
id: "{{ .Infos.id }}",
|
|
jobId: "{{ .Infos.jobId }}",
|
|
clusterId: "{{ .Infos.clusterId }}"
|
|
};
|
|
const clusterCockpitConfigPromise = Promise.resolve({
|
|
plot_general_colorscheme: {{ .Config.plot_general_colorscheme }},
|
|
plot_general_lineWidth: {{ .Config.plot_general_lineWidth }},
|
|
plot_general_colorBackground: {{ .Config.plot_general_colorBackground }},
|
|
plot_view_showRoofline: {{ .Config.plot_view_showRoofline }},
|
|
plot_view_showPolarplot: {{ .Config.plot_view_showPolarplot }},
|
|
plot_view_showStatTable: {{ .Config.plot_view_showStatTable }},
|
|
plot_view_plotsPerRow: {{ .Config.plot_view_plotsPerRow }},
|
|
job_view_selectedMetrics: {{ .Config.job_view_selectedMetrics }},
|
|
job_view_nodestats_selectedMetrics: {{ .Config.job_view_nodestats_selectedMetrics }},
|
|
job_view_polarPlotMetrics: {{ .Config.plot_view_polarPlotMetrics }},
|
|
});
|
|
</script>
|
|
<script src='/build/job.js'></script>
|
|
{{end}}
|