diff options
Diffstat (limited to 'fbin/templates/uploaded.html')
-rw-r--r-- | fbin/templates/uploaded.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fbin/templates/uploaded.html b/fbin/templates/uploaded.html new file mode 100644 index 0000000..84a541c --- /dev/null +++ b/fbin/templates/uploaded.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block content %} +<p>Your file has been uploaded:</p> +<ul> + <li><a href="{{ url_for('.file', hash = file.hash, filename = file.filename, _external = True) }}">{{ url_for('.file', hash = file.hash, filename = file.filename, _external = True) }}</a></li> + <li><a href="{{ url_for('.file', hash = file.hash, ext = file.ext, _external = True) }}">{{ url_for('.file', hash = file.hash, ext = file.ext, _external = True) }}</a></li> + <li><a href="{{ url_for('.file', hash = file.hash, _external = True) }}">{{ url_for('.file', hash = file.hash, _external = True) }}</a></li> +</ul> +{% if current_user.is_authenticated %} +<p>Your file will also appear in <a href="{{ url_for('.files') }}">your file list</a>.</p> +{% else %} +<p>If you were <a href="{{ url_for('.login') }}">logged in</a>, your file would also appear in <a href="{{ url_for('.files') }}">your file list</a>.</p> +{% endif %} +{% endblock %} |