2022-01-23 14:36:23 +01:00
|
|
|
<div id="upload" class="workflow">
|
2022-03-19 22:43:17 +01:00
|
|
|
<h2>Step 1: Upload</h2>
|
2022-02-18 12:41:20 +01:00
|
|
|
<p>Upload your files here:</p>
|
2022-01-23 14:36:23 +01:00
|
|
|
<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>
|
2022-02-13 21:49:07 +01:00
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.academicyear.label }}
|
2022-03-06 23:15:38 +01:00
|
|
|
<div class="selector-style">
|
2022-02-13 21:49:07 +01:00
|
|
|
{{ uploadform.academicyear }}
|
|
|
|
{% for message in uploadform.academicyear.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
2022-03-06 23:15:38 +01:00
|
|
|
</div>
|
2022-02-13 21:49:07 +01:00
|
|
|
</fieldset>
|
|
|
|
<fieldset class="required">
|
|
|
|
{{ uploadform.term.label }}
|
2022-02-18 14:47:37 +01:00
|
|
|
<div class="selector-style">
|
|
|
|
{{ uploadform.term }}
|
|
|
|
{% for message in uploadform.term.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2022-02-13 21:49:07 +01:00
|
|
|
</fieldset>
|
2022-02-18 12:41:20 +01:00
|
|
|
<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>
|
2022-03-25 12:29:02 +01:00
|
|
|
<fieldset class="required tagfield" id="tagfield">
|
2022-02-13 21:49:07 +01:00
|
|
|
{{ uploadform.tags.label }}
|
|
|
|
{{ uploadform.tags }}
|
|
|
|
{% for message in uploadform.tags.errors %}
|
|
|
|
<div class="error">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
</fieldset>
|
2022-01-23 14:36:23 +01:00
|
|
|
<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 %}
|
2022-03-04 21:10:06 +01:00
|
|
|
<p id="uploadsuccessful">Your files have been uploaded successfully</p>
|
2022-01-23 14:36:23 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|