aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.j2
blob: 656b18778bf0bc3956f45345b99252b38274af8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% from "macros.j2" import header, footer, navbar %}
<!doctype html>
<html lang="en">
	{{ header(url_for) }}
	<body>
		<section class="section">
			{{ navbar(url_for) }}
			<div hx-post="/clear" hx-swap="outerHTML" hx-trigger="load"></div>
			<div hx-get="/control" hx-swap="outerHTML" hx-trigger="load"></div>
			{% with messages = get_flashed_messages() %}
			{% if messages %}
			<ul>
				{% for message in messages %}
				<li>{{ message }}</li>
				{% endfor %}
			</ul>
			{% endif %}
			{% endwith %}
			{{ footer() }}
		</section>
	</body>
</html>