skeleton done

This commit is contained in:
2020-11-27 03:52:17 +01:00
parent 7349e8e035
commit 28ee777ed1
20 changed files with 484 additions and 0 deletions

16
src/templates/upload.html Normal file
View File

@@ -0,0 +1,16 @@
{% extends 'webapp/base.html' %}
{% block content %}
{% if current_user.is_authenticated %}
<div class="jumbotron">
<h1 class="display-3">File Upload</h1>
<br>
<form method="POST" action="" enctype="multipart/form-data">
<p><input type="file" name="file" accept=".caff"></p>
<p><input type="submit" value="Submit" class="btn btn-primary"></p>
</form>
</div>
{% else %}
<p><a href="{{ url_for('login') }}">Log in</a> to upload an animation.</p>
{% endif %}
{% endblock %}