From 116c7523d2a338ce5ed9e46b7d048cad6759b9ca Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 19 Aug 2024 11:57:51 +0200 Subject: [PATCH] styling --- Rocket.toml | 2 +- templates/admin/schnupper/index.html.tera | 8 +++- templates/admin/user/scheckbuch.html.tera | 52 +++++++++++------------ templates/includes/forms/log.html.tera | 9 ++-- templates/index.html.tera | 8 +--- 5 files changed, 41 insertions(+), 38 deletions(-) diff --git a/Rocket.toml b/Rocket.toml index 4b4856e..cc93d2b 100644 --- a/Rocket.toml +++ b/Rocket.toml @@ -2,7 +2,7 @@ secret_key = "/NtVGizglEoyoxBLzsRDWTy4oAG1qDw4J4O+CWJSv+fypD7W9sam8hUY4j90EZsbZk8wEradS5zBoWtWKi3k8w==" rss_key = "rss-key-for-ci" limits = { file = "10 MiB", data-form = "10 MiB"} -smtp_pw = "8kIjlLH79Ky6D3jQ" +smtp_pw = "8kIjlLH79Ky6D3j" usage_log_path = "./usage.txt" openweathermap_key = "c8dab8f91b5b815d76e9879cbaecd8d5" wordpress_key = "pw-to-allow-sending-notifications" diff --git a/templates/admin/schnupper/index.html.tera b/templates/admin/schnupper/index.html.tera index 2fd0437..755985d 100644 --- a/templates/admin/schnupper/index.html.tera +++ b/templates/admin/schnupper/index.html.tera @@ -12,8 +12,12 @@ {% for user in schnupperanten %}
  • - {{ user.name }} ({{ user.mail }} {% if user.notes %} | {{ user.notes }}{% endif %}) - Zu Scheckbuch umwandeln + {{ user.name }} ({{ user.mail }} + {%- if user.notes %} | {{ user.notes }}{% endif -%} + ) + Zu Scheckbuch umwandeln
  • {% endfor %} diff --git a/templates/admin/user/scheckbuch.html.tera b/templates/admin/user/scheckbuch.html.tera index c01625f..249ce1d 100644 --- a/templates/admin/user/scheckbuch.html.tera +++ b/templates/admin/user/scheckbuch.html.tera @@ -4,34 +4,34 @@ {% block content %}

    Scheckbücher

    -
    -
    -

    Neues Scheckbuch hinzufügen

    -
    -
    - - -
    -
    - - -
    + +
    +

    Neues Scheckbuch hinzufügen

    +
    +
    + + +
    +
    + +
    -
    - -
    - +
    +
    + +
    +
    diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index b72dad1..9b1e94b 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -53,10 +53,13 @@ id="destination" name="destination" value="" - data-relation="distance_in_km" - autocomplete="off" /> + data-relation="distance_in_km" + autocomplete="off" /> - {% for distance in distances %}
    diff --git a/templates/index.html.tera b/templates/index.html.tera index a275d0f..a9cd032 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -35,9 +35,7 @@
    {% if notification.link %} - + {% endif %} {% if not notification.read_at %} @@ -65,9 +63,7 @@
    {{ notification.message | safe }}
    {% if notification.link %} - + {% endif %}