From de1b6b76c999b59bb46d58b384e130455fb0bdf1 Mon Sep 17 00:00:00 2001 From: philipp Date: Thu, 21 Mar 2024 20:47:48 +0100 Subject: [PATCH] format with djlint --- templates/includes/macros.html.tera | 338 +++++++++++------------ templates/includes/rowing-icon.html.tera | 38 ++- templates/index.html.tera | 127 +++++---- 3 files changed, 256 insertions(+), 247 deletions(-) diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index f2f9e5d..1c49080 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -16,178 +16,176 @@
-
- {% if "scheckbuch" in loggedin_user.roles and loggedin_user.weight and loggedin_user.sex and loggedin_user.dob %} - - {% include "includes/book" %} - Ergo - - - {% endif %} - {% if "scheckbuch" not in loggedin_user.roles %} - - {% include "includes/book" %} - Logbuch - - - {% endif %} - - - - - - - Ausloggen - -
+ + Hü + {{ loggedin_user.name }} + +
+
+ {% if "scheckbuch" in loggedin_user.roles and loggedin_user.weight and loggedin_user.sex and loggedin_user.dob %} + + {% include "includes/book" %} + Ergo + + + {% endif %} + {% if "scheckbuch" not in loggedin_user.roles %} + + {% include "includes/book" %} + Logbuch + + + {% endif %} + + + + + + + Ausloggen +
-
-
- {% endmacro header %} - {% macro input(label, name, type, required=false, class='rounded-md', value='', min='', hide_label=false, id='', autofocus=false, wrapper_class='', pattern='', readonly=false, accept='') %} -
- -
- {% endmacro input %} - {% macro checkbox(label, name, id='', checked=false, class='', disabled=false) %} -