mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 12:51:40 +02:00
adapt and improve svelte taglist component
This commit is contained in:
@@ -6,8 +6,10 @@
|
||||
{{end}}
|
||||
{{define "javascript"}}
|
||||
<script>
|
||||
const authlevel = {{ .User.GetAuthLevel }};
|
||||
const username = {{ .User.Username }};
|
||||
const isAdmin = {{ .User.HasRole .Roles.admin }};
|
||||
const tagmap = {{ .Infos.tagmap }};
|
||||
const clusterCockpitConfig = {{ .Config }};
|
||||
</script>
|
||||
<script src='/build/taglist.js'></script>
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user