aboutsummaryrefslogtreecommitdiffstats
path: root/shareit/templates/upload.html
diff options
context:
space:
mode:
Diffstat (limited to 'shareit/templates/upload.html')
-rw-r--r--shareit/templates/upload.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/shareit/templates/upload.html b/shareit/templates/upload.html
new file mode 100644
index 0000000..5d9fb31
--- /dev/null
+++ b/shareit/templates/upload.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+{% block title
+%}{% if lang == 'en'
+ %}Correctly uploaded{%
+else
+ %}Téléchargé correctement{%
+endif %}{% endblock %}
+{% block content %}
+{% if lang == 'en' %}
+<p>
+ Your file was correctly uploaded. <br />
+ It will be available for 10 days. <br />
+ To share it with others, use this link:
+ <a href="{{link}}" >{{link}}</a> <br />
+ You can check the integrity of your download with the md5 hash: {{digest}}
+</p>
+<p>
+ <a href="/">Go back to the upload form</a>
+</p>
+{% else %}
+<p>
+ Votre fichier a correctement été enregistré sur le serveur. <br />
+ Il sera disponible pendant 10 jours. <br />
+ Pour le partager avec d'autres personnes, utilisez ce lien:
+ <a href="{{link}}" >{{link}}</a> <br />
+ Vous pouvez vérifier l'intégrité de votre téléchargement via la somme md5
+ suivante: {{digest}}
+</p>
+<p>
+ <a href="/">Revenir sur le formulaire d'envoi de fichiers</a>
+</p>
+{% endif %}
+{% endblock %}