summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2024-09-06 12:21:06 +0200
committerVincent Douillet <vincent@vdouillet.fr>2024-09-06 12:22:20 +0200
commitd7edafe299d44a0bec9d29e2b3a4ca853ffa1a80 (patch)
tree9f4de85662fbfd997bf5ee96671a2f776f2c53a6 /template
parent35a145fd161fb4d4f19aa9820b50438695b94414 (diff)
upload: add form
Diffstat (limited to 'template')
-rw-r--r--template/browse_head.html2
-rw-r--r--template/upload_head.html11
2 files changed, 12 insertions, 1 deletions
diff --git a/template/browse_head.html b/template/browse_head.html
index 7ed3c58..cfc1081 100644
--- a/template/browse_head.html
+++ b/template/browse_head.html
@@ -1,4 +1,4 @@
-<h1><i class="fa-regular fa-folder-open"></i> Vault</h1>
+<h1><i class="fa-regular fa-folder-open"></i> Browsing</h1>
<a href="@@upload_url@@">Upload here</a>
<table id="file-list">
<thead>
diff --git a/template/upload_head.html b/template/upload_head.html
new file mode 100644
index 0000000..fbdb209
--- /dev/null
+++ b/template/upload_head.html
@@ -0,0 +1,11 @@
+<h1><i class="fa-regular fa-folder-open"></i> Uploading</h1>
+<p>to <pre>@@path@@</pre></p>
+<form action="@@submit_url@@" method="post">
+ <div>
+ <label for="file">File(s):</label>
+ <input type="file" name="file" id="file" multiple />
+ </div>
+ <div>
+ <input type="submit" value="Upload" />
+ </div>
+</form>