contentmatcher/templates/upload.html

15 lines
503 B
HTML

{% extends 'partials/base.html' %}
{% block name %}upload{% endblock %}
{% block content %}
<main>
<form class="dropzone dropzone-form" method="post" enctype="multipart/form-data" action="/upload/uploader">
<span id="dropzone-txt" class="dropzone-txt">Drop file here or click to upload.</span>
<input class="dropzone-input" type="file" name="file" runat="server" accept=".pdf" multiple >
</form>
</main>
<script src="{{ url_for('static', filename='js/dropzone.js') }}"></script>
{% endblock %}