distribusi-verse/verse/templates/distribusiworkflow/upload.html

53 lines
1.8 KiB
HTML
Raw Normal View History

<div id="upload" class="workflow">
<h2>Step 1: Upload</h2>
<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">
2024-04-21 21:28:44 +02:00
{{ uploadform.year.label }}
<div class="selector-style">
2024-04-21 21:28:44 +02:00
{{ uploadform.year }}
{% for message in uploadform.year.errors %}
<div class="error">{{ message }}</div>
{% endfor %}
</div>
</fieldset>
<fieldset class="required">
2024-04-21 21:28:44 +02:00
{{ uploadform.category.label }}
<div class="selector-style">
2024-04-21 21:28:44 +02:00
{{ uploadform.category }}
{% for message in uploadform.category.errors %}
<div class="error">{{ message }}</div>
{% endfor %}
</div>
</fieldset>
2022-03-25 12:29:02 +01:00
<fieldset class="required tagfield" id="tagfield">
{{ 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 %}
2022-03-04 21:10:06 +01:00
<p id="uploadsuccessful">Your files have been uploaded successfully</p>
{% endif %}
</div>