rowt/templates/kiosk.html.tera

25 lines
643 B
Plaintext
Raw Normal View History

2023-07-27 14:38:46 +02:00
{% import "includes/macros" as macros %}
{% import "includes/forms/log" as log %}
{% extends "base" %}
{% block content %}
{% if flash %}
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
2023-07-30 13:02:29 +02:00
{% endif %}
2023-07-27 14:38:46 +02:00
<div class="max-w-screen-lg w-full">
<h1 class="h1">Logbuch</h1>
<h2>Neue Ausfahrt starten</h2>
{{ log::new(only_ones=false, allow_any_shipmaster=true, shipmaster=-1) }}
<h2 style="font-size: 100px">Am Wasser</h2>
{% for log in on_water %}
{{ log::show(log=log, state="on_water", allowed_to_close=true, only_ones=false) }}
<hr />
{% endfor %}
</div>
{% endblock content%}