|
|
|
<div id="upload" class="workflow">
|
|
|
|
<h3>Step 1: Upload</h3>
|
|
|
|
<p>Upload your files here:</p>
|
|
|
|
<form method="POST" enctype="multipart/form-data" action="{{ url_for('upload') }}">
|
|
|
|
{{ uploadform.csrf_token }}
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.sitename.label }}
|
|
|
|
{{ uploadform.sitename }}
|
|
|
|
{% for message in uploadform.sitename.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.academicyear.label }}
|
|
|
|
<div class="selector-style">
|
|
|
|
{{ uploadform.academicyear }}
|
|
|
|
{% for message in uploadform.academicyear.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.term.label }}
|
|
|
|
<div class="selector-style">
|
|
|
|
{{ uploadform.term }}
|
|
|
|
{% for message in uploadform.term.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.course.label }}
|
|
|
|
<div class="selector-style">
|
|
|
|
{{ uploadform.course }}
|
|
|
|
{% for message in uploadform.course.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.tags.label }}
|
|
|
|
{{ uploadform.tags }}
|
|
|
|
{% for message in uploadform.tags.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.zipfile.label }}
|
|
|
|
{{ uploadform.zipfile }}
|
|
|
|
{% for message in uploadform.zipfile.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
|
|
|
<fieldset class="button required">
|
|
|
|
{{ uploadform.submit }}
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
{% if files_uploaded %}
|
|
|
|
<p id="uploadsuccessful">Your files have been uploaded successfully</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|