{% extends "admin/change_list.html" %}

{% block extrastyle %}
    {{ block.super }}
    {{ form.media.css }}
{% endblock extrastyle %}

{% block content_title %}{% endblock %}

{% block content %}
<div id="content-main">
    <h1>Upload Files (<a href="uploaded_files/">Previously Uploaded Files</a>)</h1>
    <!-- The file upload form used as target for the file upload widget -->
    <form id="fileupload" method="post" action="." enctype="multipart/form-data">
        {% csrf_token %}
        {% include "uploader/upload_ui.html" %}
    </form>
</div>
{% endblock content %}

{% block footer %}
{% if JQUERY_URL %}
    <script src="{{ JQUERY_URL }}"></script>
{% else %}
    <script>window.jQuery = django.jQuery; window.$ = django.jQuery;</script>
{% endif %}
{{ block.super }}
{{ form.media.js }}
{% include "uploader/basicplus_script.html" %}
{% endblock footer %}

