diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index 53d4552..5f1fe45 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -162,25 +162,25 @@ </div> {% endif %} <div id="log{{ log.id }}"> - {% if log.destination %} - {{ log.destination }} - {% endif %} + {% if log.destination %} + {{ log.destination }} + {% endif %} - {% for user in users %} - {% if user.id == log.shipmaster %} - <p> - <strong>{{ user.name }}</strong> - </p> - {% endif %} - {% endfor %} + {% for user in users %} + {% if user.id == log.shipmaster %} + <p> + <strong>{{ user.name }}</strong> + </p> + {% endif %} + {% endfor %} - {% for rower in log.rowers %} - <p>{{ rower.name }}</p> - {% endfor %} + {% for rower in log.rowers %} + <p>{{ rower.name }}</p> + {% endfor %} - {% if allowed_to_close and state == "on_water" %} - <a href="/log/{{ log.id }}/delete" onclick="return confirm('Willst du diesen Eintrag wirklich löschen? Die Daten gehen verloren :O');">LÖSCHEN</a> - {% endif %} + {% if allowed_to_close and state == "on_water" %} + <a href="/log/{{ log.id }}/delete" class="btn btn-alert w-full absolute bottom-0 left-0" style="border-radius: 0;" onclick="return confirm('Willst du diesen Eintrag wirklich löschen? Die Daten gehen verloren');">Löschen</a> + {% endif %} </div> </div> </div>