|
@ -11,6 +11,13 @@ |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
<h1 class="title">Temporary Indexing</h1> |
|
|
<h1 class="title">Temporary Indexing</h1> |
|
|
|
|
|
|
|
|
|
|
|
{% for field, errors in upload_form.errors.items() %} |
|
|
|
|
|
<div class="error"> |
|
|
|
|
|
{{ upload_form[field].label }}: {{ ', '.join(errors) }} |
|
|
|
|
|
</div> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
{{ petname_message}}. You are anonymous. You may reveal your identity |
|
|
{{ petname_message}}. You are anonymous. You may reveal your identity |
|
|
later when saving your generated files. |
|
|
later when saving your generated files. |
|
@ -21,14 +28,12 @@ |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
<div class="container"> |
|
|
<div class="container"> |
|
|
<div class="forms"> |
|
|
<div class="forms"> |
|
|
<form method="POST" action="/upload" enctype="multipart/form-data"> |
|
|
<form class="metafields" method="POST" action="/upload" enctype="multipart/form-data"> |
|
|
{{ upload_form.csrf_token }} |
|
|
{{ upload_form.csrf_token }} |
|
|
|
|
|
|
|
|
{{ upload_form.metadata.label }} |
|
|
{{ upload_form.metadata.label }} |
|
|
{{ upload_form.metadata }} |
|
|
{{ upload_form.metadata }} |
|
|
</form> |
|
|
|
|
|
|
|
|
|
|
|
<form class="metafields" method="POST" action="/upload" enctype="multipart/form-data"> |
|
|
|
|
|
{{ upload_form.title.label }} |
|
|
{{ upload_form.title.label }} |
|
|
{{ upload_form.title }} |
|
|
{{ upload_form.title }} |
|
|
|
|
|
|
|
@ -54,14 +59,8 @@ |
|
|
<input type="submit" value="generate" /> |
|
|
<input type="submit" value="generate" /> |
|
|
</form> |
|
|
</form> |
|
|
|
|
|
|
|
|
{% if upload_form.metadata.errors %} |
|
|
|
|
|
<ul class="errors"> |
|
|
|
|
|
{% for error in upload_form.metadata.errors %} |
|
|
|
|
|
<li>{{ error }}</li> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
</ul> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="iframe"> |
|
|
<div class="iframe"> |
|
|
<object data="{{ pdf }}" type="application/pdf"> |
|
|
<object data="{{ pdf }}" type="application/pdf"> |
|
|
<iframe src="{{ pdf }}"></iframe> |
|
|
<iframe src="{{ pdf }}"></iframe> |
|
|