mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
19 lines
491 B
Cheetah
19 lines
491 B
Cheetah
{{define "content"}}
|
|
<div id="svelte-app"></div>
|
|
{{end}}
|
|
|
|
{{define "stylesheets"}}
|
|
<link rel='stylesheet' href='/build/jobs.css'>
|
|
{{end}}
|
|
|
|
{{define "javascript"}}
|
|
<script>
|
|
const filterPresets = {{ .FilterPresets }};
|
|
const clusterCockpitConfig = {{ .Config }};
|
|
const authlevel = {{ .User.GetAuthLevel }};
|
|
const roles = {{ .Roles }};
|
|
const resampleConfig = {{ .Resampling }};
|
|
</script>
|
|
<script src='/build/jobs.js'></script>
|
|
{{end}}
|