aboutsummaryrefslogtreecommitdiffstats
path: root/shareit/templates/propose_upload.html
diff options
context:
space:
mode:
authorVG <vg@devys.org>2015-01-28 18:45:29 +0100
committerVG <vg@devys.org>2015-01-28 18:45:29 +0100
commit12240fb74c0c6f2768e1070f849cd265ea3dd181 (patch)
tree6f5cb93e0e020bd918e015aba164e90db1fd0739 /shareit/templates/propose_upload.html
downloadshareit-12240fb74c0c6f2768e1070f849cd265ea3dd181.tar.gz
shareit-12240fb74c0c6f2768e1070f849cd265ea3dd181.tar.bz2
shareit-12240fb74c0c6f2768e1070f849cd265ea3dd181.zip
First commit
Diffstat (limited to 'shareit/templates/propose_upload.html')
-rw-r--r--shareit/templates/propose_upload.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/shareit/templates/propose_upload.html b/shareit/templates/propose_upload.html
new file mode 100644
index 0000000..c3c8bb9
--- /dev/null
+++ b/shareit/templates/propose_upload.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+{% block title %}
+{% if lang == 'en' %}Upload{% else %}Dépôt{% endif %}
+{% endblock %}
+{% block content %}
+<form action="/upload/" method="post" enctype="multipart/form-data">
+
+<p>
+ {% if lang == 'en' %}
+ <label for="browse_file">Select your file:</label>
+ {% else %}
+ <label for="browse_file">Sélectionnez votre fichier:</label>
+ {% endif %}
+
+ <input type="file" id="browse_file" name="upload" />
+
+ <input type="submit" />
+</p>
+
+</form>
+{% endblock content %}