mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
22 lines
603 B
Cheetah
22 lines
603 B
Cheetah
{{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 }}",
|
|
};
|
|
const clusterCockpitConfig = {{ .Config }};
|
|
const username = {{ .User.Username }};
|
|
const authlevel = {{ .User.GetAuthLevel }};
|
|
const roles = {{ .Roles }};
|
|
const resampleConfig = {{ .Resampling }};
|
|
const emission = {{ .Infos.emission }}
|
|
</script>
|
|
<script src='/build/job.js'></script>
|
|
{{end}}
|