Browse Source

edited index.html

main
simoon 3 years ago
parent
commit
f4806d75fc
  1. 88
      templates/index.html

88
templates/index.html

@ -4,54 +4,58 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
<title>THIS IS A TITLE</title> <title>Temporary Indexing</title>
</head> </head>
<body> <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> <p>{{ petname_message}}. You are anonymous. You may reveal your identity later when saving your generated files.</p>
{% if generation_message %} {% if generation_message %}
<p> {{ generation_message }} </p> <p> {{ generation_message }} </p>
{% endif %} {% endif %}
<div class="container">
<form method="POST" action="/upload" enctype="multipart/form-data"> <div class="forms">
{{ upload_form.csrf_token }} <form method="POST" action="/upload" enctype="multipart/form-data">
{{ upload_form.csrf_token }}
{{ upload_form.metadata.label }}
{{ upload_form.metadata }} {{ upload_form.metadata.label }}
{{ upload_form.metadata }}
{{ upload_form.title.label }} </form>
{{ upload_form.title }}
<form class="metafields" method="POST" action="/upload" enctype="multipart/form-data">
{{ upload_form.author.label }} {{ upload_form.title.label }}
{{ upload_form.author }} {{ upload_form.title }}
{{ upload_form.comments.label }} {{ upload_form.author.label }}
{{ upload_form.comments }} {{ upload_form.author }}
{{ upload_form.timestamp.label }} {{ upload_form.comments.label }}
{{ upload_form.timestamp }} {{ upload_form.comments }}
{{ upload_form.tags.label }} {{ upload_form.timestamp.label }}
{{ upload_form.tags }} {{ upload_form.timestamp }}
<input type="hidden" id="petname" name="petname" value="{{ petname }}"> {{ upload_form.tags.label }}
{{ upload_form.tags }}
<input type="submit" value="generate" />
</form> <input type="hidden" id="petname" name="petname" value="{{ petname }}">
{% if upload_form.metadata.errors %} <input type="submit" value="generate" />
<ul class="errors"> </form>
{% for error in upload_form.metadata.errors %}
<li>{{ error }}</li> {% if upload_form.metadata.errors %}
{% endfor %} <ul class="errors">
</ul> {% for error in upload_form.metadata.errors %}
{% endif %} <li>{{ error }}</li>
{% endfor %}
</form> </ul>
{% endif %}
<object data="{{ pdf }}" type="application/pdf"> </div>
<iframe src="{{ pdf }}"></iframe> <div class ="iframe">
</object> <object data="{{ pdf }}" type="application/pdf">
<iframe src="{{ pdf }}"></iframe>
</object>
</div>
</div>
</body> </body>
</html> </html>

Loading…
Cancel
Save