mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-06 17:00:20 +00:00
后台关闭切换主题功能
This commit is contained in:
1 parent
ce7e2197dd
commit
fcb98c50f9
8 files changed
+40
-6
No files matched your search
+10
@@ -7,6 +7,16 @@
|
||||
{{.Version}}</small>
|
||||
</div>
|
||||
</div>
|
||||
{{ if not .Conf.DisableSwitchTemplateInFrontend }}
|
||||
<script>
|
||||
function showSwitchTemplate(list, currentBackendTheme) {
|
||||
console.log(list, currentBackendTheme);
|
||||
}
|
||||
showSwitchTemplate({{ .Themes }}, {{ .Conf.Site.Theme }})
|
||||
</script>
|
||||
{{ end }}
|
||||
<script>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
Reference in new issue
Block a user