Browse Source

updated index.html

main
simoon 3 years ago
parent
commit
20e9d6bf56
  1. 57
      templates/index.html

57
templates/index.html

@ -1,16 +1,6 @@
<!DOCTYPE html> {% extends 'base.html' %}
<html>
<head> {% block content %}
<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>Temporary Indexing</title>
</head>
<body>
<h1 class="title">Temporary Indexing</h1>
{% with messages = get_flashed_messages() %} {% with messages = get_flashed_messages() %}
{% if messages %} {% if messages %}
@ -28,36 +18,38 @@
</div> </div>
{% endfor %} {% endfor %}
<p> <p class="display-2">
{{ petname_message}}. You are anonymous. {{ petname_message }}
</p> </p>
<p class="intro">Welcome, {{ petname }}. You are anonymous.</p>
{% if generation_message %} {% if generation_message %}
<p> {{ generation_message }} </p> <p class="lead"> {{ generation_message }} </p>
{% endif %} {% endif %}
<div class="container">
<div class="forms"> <div class="forms">
<form class="metafields" 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 }} <span class="field-heading">{{ upload_form.metadata.label }}</span>
{{ upload_form.metadata }} {{ upload_form.metadata }}
<br>
<div class="fields">
<span class="field-heading">{{ upload_form.title.label }}</span>
{{ upload_form.title }}
{{ upload_form.title.label }} <span class="field-heading">{{ upload_form.authors.label }}</span>
{{ upload_form.title }} {{ upload_form.authors }}
{{ upload_form.authors.label }}
{{ upload_form.authors }}
{{ upload_form.comments.label }} <span class="field-heading">{{ upload_form.comments.label }}</span>
{{ upload_form.comments }} {{ upload_form.comments }}
{{ upload_form.timestamp.label }} <span class="field-heading">{{ upload_form.timestamp.label }}</span>
{{ upload_form.timestamp }} {{ upload_form.timestamp }}
{{ upload_form.tags.label }}
{{ upload_form.tags }}
<span class="field-heading">{{ upload_form.tags.label }}</span>
{{ upload_form.tags }}
</div>
<input <input
type="hidden" type="hidden"
id="petname" id="petname"
@ -75,6 +67,5 @@
<iframe src="{{ pdf }}"></iframe> <iframe src="{{ pdf }}"></iframe>
</object> </object>
</div> </div>
</div>
</body> {% endblock %}
</html>
Loading…
Cancel
Save