summaryrefslogtreecommitdiff
path: root/templates/upload_form.swig
diff options
context:
space:
mode:
Diffstat (limited to 'templates/upload_form.swig')
-rw-r--r--templates/upload_form.swig6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/upload_form.swig b/templates/upload_form.swig
new file mode 100644
index 0000000..6c5de14
--- /dev/null
+++ b/templates/upload_form.swig
@@ -0,0 +1,6 @@
+<form id="upload-form" enctype="multipart/form-data" method="post" action="upload.php?output=html">
+ <button id="upload-btn" class="btn" type="button">Select or drop file(s)</button>
+ <input type="file" id="upload-input" name="files[]" multiple data-max-size="{{max_upload_size}}MiB">
+ <input type="submit" value="Submit">
+</form>
+<ul id="upload-filelist"></ul>