[TASK] style planned events and sidebar forms

This commit is contained in:
Marie Birner
2023-04-06 17:54:08 +02:00
parent d5d55909ff
commit ecab5b4fc6
4 changed files with 178 additions and 97 deletions

View File

@ -1,7 +1,7 @@
<footer class="bg-primary-950 text-white w-full flex justify-center p-3">
<div class="max-w-screen-lg w-full flex justify-between">
<div>
Marie Birner <span class="text-[#ff0000]">&hearts;</span> Philipp Hofer
<span class="text-[#ff0000]">&hearts;</span> ASKÖ Ruderverein Donau Linz
</div>
<div>
&copy; {{ now() | date(format="%Y") }}

View File

@ -20,4 +20,15 @@
</div>
</header>
<div class="h-8"></div>
{% endmacro input %}
{% endmacro header %}
{% macro input(label, name, type, required=false) %}
<label for="{{ name }}" class="sr-only">{{ label }}</label>
<input id="{{ name }}" name="{{ name }}" type="{{ type }}" {% if required %} required {% endif %} class="relative block w-full rounded-md border-0 py-1.5 px-2 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6" placeholder="{{ label }}">
{% endmacro input %}
{% macro checkbox(label, name, checked=false) %}
<label for="{{ name }}" class="flex items-center cursor-pointer hover:text-gray-900">
<input type="checkbox" id="{{ name }}" name="{{ name }}" {% if checked %} checked {% endif %} class="h-4 w-4 accent-primary-600 mr-2"/> {{ label }}
</label>
{% endmacro checkbox %}