1
2
3
4
5
6
7
8
9
10
11
12
13
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 %}
|