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

@@ -8,6 +8,7 @@
{{ template "opengraph" .OGData }}
{{ template "user_style" . }}
{{ template "user_style_js" . }}
<link rel="icon" sizes="32x32" href="/res/img/pixeldrain_32.png" />
<link rel="icon" sizes="128x128" href="/res/img/pixeldrain_128.png" />
@@ -23,7 +24,7 @@
<script>
window.api_endpoint = '{{.APIEndpoint}}';
window.initial_file = {{.Other.APIResponse}};
window.viewer_data = {{.Other}};
</script>
<link rel='stylesheet' href='/res/svelte/file_viewer.css'>