From f14177d497d5a2dfd6dc35c25ad5c089e76e1556 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 9 Mar 2024 16:49:04 +0100 Subject: [PATCH] MB: styling of boathouse --- templates/board/boathouse.html.tera | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/board/boathouse.html.tera b/templates/board/boathouse.html.tera index d07f520..c8e60b0 100644 --- a/templates/board/boathouse.html.tera +++ b/templates/board/boathouse.html.tera @@ -3,11 +3,11 @@ {% import "includes/forms/boat" as boat %} {% extends "base" %} {% macro show_place(aisle_name, side_name, level) %} -
  • +
  • {% set aisle = aisle_name ~ "-aisle" %} {% set place = boathouse[aisle][side_name] %} {% if place[level] %} - {{ place[level].1.name }} X + {{ place[level].1.name }} X {% elif boats | length > 0 %}
    Kein Boot @@ -36,8 +36,8 @@ {% endmacro show_side %} -{% macro show_aisle(name) %} -
    +{% macro show_aisle(name, last=false) %} +
    {{ self::show_side(aisle_name = name, side_name = "mountain") }} {{ self::show_side(aisle_name = name, side_name = "water") }}
    @@ -45,10 +45,10 @@ {% block content %}

    Bootshaus

    -
    +
    {{ self::show_aisle(name = "mountain") }} {{ self::show_aisle(name = "middle") }} - {{ self::show_aisle(name = "water") }} + {{ self::show_aisle(name = "water", last = true) }}
    {% endblock content %}