Primer upload

This commit is contained in:
Daniel Cortes
2019-02-19 01:19:41 -03:00
commit 2633f84fc7
14 changed files with 1299 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{% extends 'base.html' %}
{% block title %}{% endblock %}
{% block content %}
<div class="file-listing">
{% for filename in filenames %}
<a href="{{ url_for('files.uploaded_file', filename=filename) }}">{{ filename }}</a>
{% endfor %}
</div>
{% endblock %}

View File

@@ -0,0 +1,11 @@
{% extends 'base.html' %}
{% block title %}upload{% endblock %}
{% block content %}
<form method="post" enctype="multipart/form-data">
<input type="file" class="u-full-width" name="file">
<input type="submit" class="button-primary" value="upload">
</form>
{% endblock %}