edited index.html
This commit is contained in:
parent
55c5039e01
commit
f4806d75fc
@ -4,54 +4,58 @@
|
||||
<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>
|
||||
<title>Temporary Indexing</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="title">Temporary Indexing</h1>
|
||||
<p>{{ petname_message}}. You are anonymous. You may reveal your identity later when saving your generated files.</p>
|
||||
|
||||
{% if generation_message %}
|
||||
<p> {{ generation_message }} </p>
|
||||
{% endif %}
|
||||
<div class="container">
|
||||
<div class="forms">
|
||||
<form method="POST" action="/upload" enctype="multipart/form-data">
|
||||
{{ upload_form.csrf_token }}
|
||||
|
||||
<form method="POST" action="/upload" enctype="multipart/form-data">
|
||||
{{ upload_form.csrf_token }}
|
||||
{{ upload_form.metadata.label }}
|
||||
{{ upload_form.metadata }}
|
||||
</form>
|
||||
|
||||
{{ upload_form.metadata.label }}
|
||||
{{ upload_form.metadata }}
|
||||
<form class="metafields" method="POST" action="/upload" enctype="multipart/form-data">
|
||||
{{ upload_form.title.label }}
|
||||
{{ upload_form.title }}
|
||||
|
||||
{{ upload_form.title.label }}
|
||||
{{ upload_form.title }}
|
||||
{{ upload_form.author.label }}
|
||||
{{ upload_form.author }}
|
||||
|
||||
{{ upload_form.author.label }}
|
||||
{{ upload_form.author }}
|
||||
{{ upload_form.comments.label }}
|
||||
{{ upload_form.comments }}
|
||||
|
||||
{{ upload_form.comments.label }}
|
||||
{{ upload_form.comments }}
|
||||
{{ upload_form.timestamp.label }}
|
||||
{{ upload_form.timestamp }}
|
||||
|
||||
{{ upload_form.timestamp.label }}
|
||||
{{ upload_form.timestamp }}
|
||||
{{ upload_form.tags.label }}
|
||||
{{ upload_form.tags }}
|
||||
|
||||
{{ upload_form.tags.label }}
|
||||
{{ upload_form.tags }}
|
||||
<input type="hidden" id="petname" name="petname" value="{{ petname }}">
|
||||
|
||||
<input type="hidden" id="petname" name="petname" value="{{ petname }}">
|
||||
|
||||
<input type="submit" value="generate" />
|
||||
</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>
|
||||
<input type="submit" value="generate" />
|
||||
</form>
|
||||
|
||||
{% if upload_form.metadata.errors %}
|
||||
<ul class="errors">
|
||||
{% for error in upload_form.metadata.errors %}
|
||||
<li>{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class ="iframe">
|
||||
<object data="{{ pdf }}" type="application/pdf">
|
||||
<iframe src="{{ pdf }}"></iframe>
|
||||
</object>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user