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.
49 lines
1.2 KiB
49 lines
1.2 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
|
<title>THIS IS A TITLE</title>
|
|
</head>
|
|
<body>
|
|
<form method="POST" action="/upload" enctype="multipart/form-data">
|
|
{{ upload_form.csrf_token }}
|
|
|
|
{{ upload_form.metadata.label }}
|
|
{{ upload_form.metadata }}
|
|
|
|
{{ upload_form.title.label }}
|
|
{{ upload_form.title }}
|
|
|
|
{{ upload_form.author.label }}
|
|
{{ upload_form.author }}
|
|
|
|
{{ upload_form.tags.label }}
|
|
{{ upload_form.tags }}
|
|
|
|
{{ upload_form.comments.label }}
|
|
{{ upload_form.comments }}
|
|
|
|
{{ upload_form.timestamp.label }}
|
|
{{ upload_form.timestamp }}
|
|
|
|
<input type="submit" value="Go" />
|
|
</form>
|
|
|
|
{% if upload_form.metadata.errors %}
|
|
<ul class="errors">
|
|
{% for error in upload_form.metadata.errors %}
|
|
<li>{{ error }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
</form>
|
|
|
|
<object data="{{ pdf }}" type="application/pdf">
|
|
<iframe src="{{ pdf }}"></iframe>
|
|
</object>
|
|
|
|
</body>
|
|
</html>
|
|
|