summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormarktaiwan <mark.taiwan@gmail.com>2015-03-18 18:44:47 +0800
committerczaks <marcin@6irc.net>2015-03-31 05:54:07 +0200
commit3bd7f94861e9a2a8b9a7f8f972f04eb6eaa45453 (patch)
tree444c9baece49201c56f0b5e466b8896f596538ed /templates
parentd7f82c58fdcae697d41330085b86cc39a60bf1d9 (diff)
Fallback for browsers that disables javascript
Conflicts: stylesheets/style.css templates/post_form.html
Diffstat (limited to 'templates')
-rw-r--r--templates/post_form.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index 1846adb5..9596ee6b 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -98,6 +98,14 @@
</th>
<td>
<input type="file" name="file" id="upload_file">
+
+ <div class="dropzone-wrap" style="display: none;">
+ <div class="dropzone">
+ <div class="file-hint">Select/drop/paste files here</div>
+ <div class="file-thumbs"></div>
+ </div>
+ </div>
+
{% if config.allow_upload_by_url %}
<div style="float:none;text-align:left" id="upload_url">
<label for="file_url">{% trans %}Or URL{% endtrans %}</label>: