format-tera #429

Merged
philipp merged 4 commits from format-tera into staging 2024-04-24 09:48:03 +02:00
4 changed files with 43 additions and 42 deletions

View File

@ -15,9 +15,7 @@
Vereinsfremde Boote Vereinsfremde Boote
{% endif %} {% endif %}
</span> </span>
<small class="text-gray-500 dark:text-gray-100"> <small class="text-gray-500 dark:text-gray-100">({{ grouped_boats | length }})</small>
({{ grouped_boats | length }})
</small>
</summary> </summary>
<div class="pb-3"> <div class="pb-3">
{% for boat in grouped_boats | sort(attribute="name") %} {% for boat in grouped_boats | sort(attribute="name") %}
@ -35,7 +33,6 @@
</details> </details>
{% endfor %} {% endfor %}
{% endmacro show_boats %} {% endmacro show_boats %}
{# Shows the form for creating a new logbook entry. #} {# Shows the form for creating a new logbook entry. #}
{% macro new(shipmaster) %} {% macro new(shipmaster) %}
<form action="/log" <form action="/log"

View File

@ -192,7 +192,11 @@
{% if allow_removing %} {% if allow_removing %}
<a href="/planned/remove/{{ trip_details_id }}/{{ rower.name }}" <a href="/planned/remove/{{ trip_details_id }}/{{ rower.name }}"
class="absolute r-0 bg-red-500 w-5 h-5 text-white rounded-full flex items-center justify-center transform rotate-45 top-0 right-0"> class="absolute r-0 bg-red-500 w-5 h-5 text-white rounded-full flex items-center justify-center transform rotate-45 top-0 right-0">
<svg class="inline h-5 w-5" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"> <svg class="inline h-5 w-5"
width="16"
height="16"
fill="currentColor"
viewBox="0 0 16 16">
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"></path> <path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"></path>
</svg> </svg>
<span class="sr-only">Abmelden</span> <span class="sr-only">Abmelden</span>