seriow/templates/index.html

46 lines
1.3 KiB
HTML
Raw Normal View History

2023-08-18 17:37:48 +02:00
<!doctype html>
<html>
<head>
2023-08-18 17:50:05 +02:00
{% if autorefresh %}
2023-08-18 17:37:48 +02:00
<meta http-equiv="refresh" content="60">
2023-08-18 17:50:05 +02:00
{% endif %}
2023-08-18 17:37:48 +02:00
<title>Squeow</title>
<style>
table td { text-align: right; }
table th { text-align: left; }
table { border: 1px solid black; border-collapse: collapse; }
td, th { border: 1px solid black; padding: 0.3em; font-family: Monospace; font-size: 2em; }
</style>
</head>
<body>
<section>
<header> <h2>Variables</h2> </header>
<table border><tbody>
{% for key, value in variables.items() %}
<tr>
<th>{{key}}</th>
<td>{{value}}</td>
</tr>
{% endfor %}
</tbody></table>
</section>
2023-08-18 17:50:05 +02:00
<section>
<header> <h2>Docs</h2> </header>
<p>
<ul>
<li><a href="https://git.lattuga.net/boyska/seriow">Code</a></li>
<li><a href="{{url_for("swagger_ui_html")}}">API</a></li>
2023-08-18 18:00:04 +02:00
<li>
{% if autorefresh %}
<a href="{{url_for("html_index").include_query_params(refresh=0)}}">Disable autorefresh</a>
{% else %}
<a href="{{url_for("html_index").include_query_params(refresh=1)}}">Enable autorefresh</a>
{% endif %}
2023-08-18 17:50:05 +02:00
</ul>
</p>
</section>
2023-08-18 17:37:48 +02:00
</body>
</html>