direct upload from listing page
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
<h1>{{ name }}</h1>
|
||||
{% if upload %}
|
||||
<a href="{{ url_for('send', name=name) }}">+ upload</a>
|
||||
<form action={{ url_for('upload') }} method=post enctype=multipart/form-data>
|
||||
<input type=hidden name=name value="{{ name|safe }}" />
|
||||
<p><input type=file name=file>
|
||||
<input type=submit value=Upload>
|
||||
</form>
|
||||
{% else %}
|
||||
Grayed out + upload
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user