ui-improvements #751

Merged
philipp merged 5 commits from ui-improvements into staging 2024-09-24 20:12:24 +02:00
Showing only changes of commit 4581ec4abc - Show all commits

View File

@ -4,28 +4,35 @@
<div class="max-w-screen-lg w-full"> <div class="max-w-screen-lg w-full">
<h1 class="h1">Schnupper Verwaltung</h1> <h1 class="h1">Schnupper Verwaltung</h1>
<div class="grid gap-3"> <div class="grid gap-3">
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5" <div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5">
role="alert">
<h2 class="h2">Angemeldete Personen: {{ schnupperanten | length }}</h2> <h2 class="h2">Angemeldete Personen: {{ schnupperanten | length }}</h2>
<div class="text-sm p-3"> <ol>
<ol class="list-decimal"> {% for user in schnupperanten %}
{% for user in schnupperanten %} <li class="border-t border-gray-200 dark:border-primary-600 px-3 py-1">
<li class="py-1 ml-4"> <span class="flex items-center justify-between">
<span class="flex items-center justify-between"> <span>
<span> <span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span>&nbsp;{{ user.name }} ({{ user.mail }}
<span class="status-damage status-damage-{% if "paid" in user.roles %}none {% else %}locked {% endif %}"></span>&nbsp;{{ user.name }} ({{ user.mail }} {%- if user.notes %} | {{ user.notes }}
{%- if user.notes %} | {{ user.notes }} {% endif -%}
{% endif -%} )
)
</span>
<a class="btn btn-primary"
href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
</span> </span>
</li> <a class="btn btn-primary"
{% endfor %} href="/admin/user/move/schnupperant/{{ user.id }}/to/scheckbuch"
</ol> onclick="return confirm('Willst du wirklich ein Scheckbuch erstellen? Die Person erhält ein Mail mit allen Infos.')">Zu Scheckbuch umwandeln</a>
</div> </span>
</li>
{% endfor %}
</ol>
</div>
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5">
<h2 class="h2">Legende</h2>
<div class="px-3 py-1">
<span class="status-damage status-damage-none"></span> Bezahlt - Juhuuu!
</div>
<div class="px-3 py-1">
<span class="status-damage status-damage-locked"></span> Noch nicht bezahlt
</div>
</div> </div>
</div> </div>
</div> </div>