From db43ef628f14369121fe22458ae05b9ad78bd131 Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Sun, 14 Apr 2024 18:36:27 +0200 Subject: [PATCH 1/2] [TASK] style steering html --- templates/steering.html.tera | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/templates/steering.html.tera b/templates/steering.html.tera index bea6763..c02d95f 100644 --- a/templates/steering.html.tera +++ b/templates/steering.html.tera @@ -2,21 +2,20 @@ {% extends "base" %} {% block content %}
-

Steuerberechtigte (Steuerprüfung oder Ausnahmegenehmigung)

-
-
-
    - {% for cox in coxes | sort(attribute='name') %}
  • {{ cox.name }}
  • {% endfor %} -
-
+

Steuerberechtigungen

+ +
+

Bootskundige

+
    + {% for cox in bootskundige | sort(attribute='name') %}
  • {{ cox.name }}
  • {% endfor %} +
-

Bootskundige

-
-
-
    - {% for cox in bootskundige | sort(attribute='name') %}
  • {{ cox.name }}
  • {% endfor %} -
-
+ +
+

Steuerberechtigte oder Personen mit Ausnahmegenehmigung

+
    + {% for cox in coxes | sort(attribute='name') %}
  • {{ cox.name }}
  • {% endfor %} +
{% endblock content %} From b111c4a1b965c073b71b0f35e3299cc3237f5dbb Mon Sep 17 00:00:00 2001 From: philipp Date: Sun, 14 Apr 2024 18:38:41 +0200 Subject: [PATCH 2/2] lint html --- templates/index.html.tera | 7 ++++--- templates/steering.html.tera | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index 95a1bb7..21e1388 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -22,7 +22,7 @@ {{ notification.category }} • {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M",) }} -
{{ notification.message | safe}}
+
{{ notification.message | safe }}
{% if not notification.read_at %} @@ -47,7 +47,7 @@ {{ notification.category }} • {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M") }} -
{{ notification.message | safe}}
+
{{ notification.message | safe }}
{% endif %} {% endfor %} @@ -154,7 +154,8 @@ Fingerabdruck-Liste überprüfen
  • - Nachricht ausschreiben + Nachricht ausschreiben
  • diff --git a/templates/steering.html.tera b/templates/steering.html.tera index c02d95f..36461eb 100644 --- a/templates/steering.html.tera +++ b/templates/steering.html.tera @@ -3,14 +3,12 @@ {% block content %}

    Steuerberechtigungen

    -

    Bootskundige

      {% for cox in bootskundige | sort(attribute='name') %}
    • {{ cox.name }}
    • {% endfor %}
    -

    Steuerberechtigte oder Personen mit Ausnahmegenehmigung