Implement most of the file viewer in svelte

This commit is contained in:
2021-10-26 22:15:01 +02:00
parent a88d83ae30
commit 2ae2993adf
25 changed files with 1700 additions and 136 deletions

View File

@@ -5,10 +5,10 @@
<head>
{{template "meta_tags" "Administrator panel"}}
{{template "user_style" .}}
{{template "user_style_js" . }}
<script>
window.api_endpoint = '{{.APIEndpoint}}';
window.highlight_color = '#{{.Style.HighlightColor.RGB}}';
</script>
<link rel='stylesheet' href='/res/svelte/admin_panel.css'>
<script defer src='/res/svelte/admin_panel.js'></script>