From 547cab368c3dbe67c1387e8c8196ed2d1815ba4e Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Mon, 23 Oct 2023 21:43:01 +0200 Subject: [PATCH 1/2] [TASK] style header kiosk mode --- templates/base.html.tera | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/templates/base.html.tera b/templates/base.html.tera index 910e4c1..a257bcf 100644 --- a/templates/base.html.tera +++ b/templates/base.html.tera @@ -14,13 +14,22 @@ {{ macros::header(loggedin_user=loggedin_user) }} {% endif %} {% if show_kiosk_header %} - Ausfahrt eintragen - Logbuch - Statistik - Bootsschaden +
+
+ + Hü + +
+
+ Ausfahrt eintragen + Logbuch + Statistik + Bootsschaden +
+
{% endif %} -
{% block content %}{% endblock content %} +
{% block content %}{% endblock content %}
{% if loggedin_user %} From da29d5dcdca42f8cbec0c22fc314da28c7531cfa Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Mon, 23 Oct 2023 21:53:43 +0200 Subject: [PATCH 2/2] [TASK] style delete button in logbook --- templates/includes/forms/log.html.tera | 32 +++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) 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 @@
{% endif %}
- {% if log.destination %} - {{ log.destination }} - {% endif %} + {% if log.destination %} + {{ log.destination }} + {% endif %} - {% for user in users %} - {% if user.id == log.shipmaster %} -

- {{ user.name }} -

- {% endif %} - {% endfor %} + {% for user in users %} + {% if user.id == log.shipmaster %} +

+ {{ user.name }} +

+ {% endif %} + {% endfor %} - {% for rower in log.rowers %} -

{{ rower.name }}

- {% endfor %} + {% for rower in log.rowers %} +

{{ rower.name }}

+ {% endfor %} - {% if allowed_to_close and state == "on_water" %} - LÖSCHEN - {% endif %} + {% if allowed_to_close and state == "on_water" %} + Löschen + {% endif %}