You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.9 KiB
76 lines
1.9 KiB
{% extends "base.html" %}
|
|
{% block main %}
|
|
<div id="nav" class="container">
|
|
<button id="leftmostbtn"><a href="/">All books</a></button>
|
|
<button><a href="/upload">Upload</a></button>
|
|
</div>
|
|
<div id="uploadform">
|
|
<h2 id="uploadformtitle">Upload a new book</h2>
|
|
|
|
<form method="POST" action="{{ url_for('upload') }}">
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.uploadpublication.label }}
|
|
{{ uploadform.uploadpublication(size=20) }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.author.label }}
|
|
{{ uploadform.author }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.year.label }}
|
|
{{ uploadform.year }}
|
|
</fieldset>
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.custodian.label }}
|
|
{{ uploadform.custodian(size=20) }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.fields.label }}
|
|
{{ uploadform.fields }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.type.label }}
|
|
{{ uploadform.type }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.publishers.label }}
|
|
{{ uploadform.publishers(size=20) }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.license.label }}
|
|
{{ uploadform.license }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.licenseshort.label }}
|
|
{{ uploadform.licenseshort }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.highlights.label }}
|
|
{{ uploadform.highlights(size=20) }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.comments.label }}
|
|
{{ uploadform.comments }}
|
|
</fieldset>
|
|
|
|
<fieldset class="uploadform-field">
|
|
{{ uploadform.borrowed.label }}
|
|
{{ uploadform.borrowed }}
|
|
</fieldset>
|
|
|
|
{{ uploadform.submit }}
|
|
|
|
</form>
|
|
</div>
|
|
<script src="{{ url_for('static', filename='js/dropdown.js')}}"></script>
|
|
{% endblock %}
|
|
|