{% import "includes/macros" as macros %}
{% import "includes/forms/log" as log %}

{% extends "base" %}

{% block content %}
<div class="max-w-screen-lg w-full">
  <h1 class="h1">Logbuch</h1>
  <h2>Neue Ausfahrt starten</h2>
  {{ log::new() }}

  <h2 style="font-size: 100px">Am Wasser</h2>
  {% for log in on_water %}
    {{ log::show(log=log, state="on_water") }}
    <hr />
  {% endfor %}

  <h2 style="font-size: 100px">Einträge</h2>
  {% for log in completed %}
    {{ log::show(log=log, state="completed") }}
    <hr />
  {% endfor %}
</div>

{% endblock content%}