2021-12-08 15:50:03 +01:00
|
|
|
{{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 }}",
|
|
|
|
};
|
2022-01-17 13:31:40 +01:00
|
|
|
const clusterCockpitConfig = {{ .Config }};
|
2024-08-01 18:59:24 +02:00
|
|
|
const username = {{ .User.Username }};
|
2023-06-01 15:13:12 +02:00
|
|
|
const authlevel = {{ .User.GetAuthLevel }};
|
|
|
|
const roles = {{ .Roles }};
|
2024-09-24 11:13:39 +02:00
|
|
|
const resampleConfig = {{ .Resampling }};
|
2024-09-27 13:46:19 +02:00
|
|
|
const emission = {{ .Infos.emission }}
|
2021-12-08 15:50:03 +01:00
|
|
|
</script>
|
|
|
|
<script src='/build/job.js'></script>
|
|
|
|
{{end}}
|