Add beginnings of the directory uploader

This commit is contained in:
2022-02-21 21:55:09 +01:00
parent fff4410801
commit e4e061869e
8 changed files with 167 additions and 13 deletions

View File

@@ -0,0 +1,25 @@
{{define "directory_upload"}}<!DOCTYPE html>
<html lang="en">
<head>
{{template "meta_tags" "Directory upload"}}
{{template "user_style" . }}
{{template "user_style_js" . }}
<script>
window.api_endpoint = '{{.APIEndpoint}}';
window.user = {{.User}};
</script>
<link rel='stylesheet' href='/res/svelte/directory_upload.css?v{{.CacheID}}'>
<script defer src='/res/svelte/directory_upload.js?v{{.CacheID}}'></script>
</head>
<body>
{{template "page_top" .}}
<div id="page_content" class="page_content"></div>
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>
{{end}}