pdlzbs/core/templates/administration.html

81 lines
2.2 KiB
HTML

{% extends 'base.html' %} {% block title %}Strona główna | pdlzbs{% endblock %}
{% load static tailwind_tags %} {% block content %}
<div class="flex flex-col items-center gap-4">
<h1 class="text-4xl">Zarząd PodlZBS</h1>
{% if czlonkowie %}
<div
class="grid lg:grid-cols-2 gap-4 text-center items-center place-items-center prose-h1:font-light prose-h3:text-xs prose-h2:text-md prose-h2:my-0 prose-h1:mb-0"
>
{% for member in czlonkowie %}
<div class="prose">
<h1>{{ member.function }}</h1>
<h2>{{ member.name }}</h2>
<h3>{{ member.contact }}</h3>
</div>
{% endfor %}
</div>
{% else %}
<span class="py-4 text-xl">Brak członków</span>
{% endif %}
<div class="prose prose-h2:font-light">
<a href="{{ statut.attachment.url }}" target="_blank">
<h2 class="my-0 text-center">{{ statut.title }}</h2>
</a>
</div>
<div class="flex flex-col items-center text-xl font-semibold">
<span>Adres Podlaskiego ZBS - 15-057 Białystok</span>
<span>ul. B. Chrobrego 5B m.33</span>
<span>Konto: PKO SA O/B-tok 43 1240 5211 1111 0000 4919 1721</span>
<span>NIP: 542 258 14 53 REGON 050816091</span>
</div>
<h1 class="text-3xl">Ogłoszenia</h1>
{% for file in ogloszenia %}
<article>
<a
href="{{ file.attachment.url }}"
target="_blank"
class="text-xl font-semibold underline"
>
<h2 class="mb-0">{{ file }}</h2>
</a>
</article>
{% empty %}
<span class="py-4 text-xl">Brak ogłoszeń</span>
{% endfor %}
<h1 class="text-3xl">Protokoły / Ustawy</h1>
{% for file in protokoly %}
<article>
<a
href="{{ file.attachment.url }}"
target="_blank"
class="text-xl font-semibold underline"
>
<h2 class="mb-0">{{ file }}</h2>
</a>
</article>
{% empty %}
<span class="py-4 text-xl">Brak protokołów / ustaw</span>
{% endfor %}
<h1 class="text-3xl">Regulaminy</h1>
{% for file in regulaminy %}
<article>
<a
href="{{ file.attachment.url }}"
target="_blank"
class="text-xl font-semibold underline"
>
<h2 class="mb-0">{{ file }}</h2>
</a>
</article>
{% empty %}
<span class="py-4 text-xl">Brak regulaminów</span>
{% endfor %}
</div>
{% endblock %}