summaryrefslogtreecommitdiff
path: root/templates/upload_form.swig
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-16 08:26:45 +0200
committerEliot Whalan <ewhal@pantsu.cat>2016-06-16 08:26:45 +0200
commitca328e16d887a4615608e981a889a20692bf13e5 (patch)
tree3ae8694a69baf9ce29e63f7b1ea3503045344516 /templates/upload_form.swig
parente558ac5e94d69bc40c65fd1faf342a304f850276 (diff)
Rename pages folder to better describe its purpose
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>