2023-07-27 14:38:46 +02:00
|
|
|
{% import "includes/macros" as macros %}
|
|
|
|
{% import "includes/forms/log" as log %}
|
|
|
|
|
|
|
|
{% extends "base" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-07-27 15:24:29 +02:00
|
|
|
|
|
|
|
{% 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-30 13:42:33 +02:00
|
|
|
<div class="w-full grid grid-cols-5 gap-3">
|
|
|
|
<div style="background-color: red;">
|
2023-07-30 14:00:15 +02:00
|
|
|
{{ log::show_boats(only_ones=false) }}
|
2023-07-30 13:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-span-3" style="background-color: yellow;">
|
|
|
|
<h2>Neue Ausfahrt starten</h2>
|
|
|
|
{{ log::new(only_ones=false, allow_any_shipmaster=true, shipmaster=-1) }}
|
2023-07-27 14:38:46 +02:00
|
|
|
|
2023-07-30 13:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div style="background-color: green;">
|
2023-07-30 14:02:53 +02:00
|
|
|
<h2 style="font-size: 100px">Am Wasser</h2>
|
2023-07-30 13:42:33 +02:00
|
|
|
{% for log in on_water %}
|
|
|
|
{{ log::show(log=log, state="on_water", allowed_to_close=true, only_ones=false) }}
|
|
|
|
<hr />
|
2023-07-30 14:02:53 +02:00
|
|
|
{% endfor %}
|
2023-07-30 13:42:33 +02:00
|
|
|
</div>
|
2023-07-27 14:38:46 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock content%}
|