pdlzbs/core/templates/administration.html

81 lines
2.8 KiB
HTML

{% extends 'base.html' %}
<!---->
{% block title %}Zarząd | pdlzbs{% endblock %}
<!---->
{% load static tailwind_tags %} {% block content %}
<div
class="flex flex-col lg:flex-row flex-wrap items-center justify-around gap-6 bg-white shadow-md rounded-md p-4 mb-2"
>
<h1 class="text-[2.25rem] font-extrabold">Zarząd PodlZBS</h1>
<nav>
<ul class="flex flex-wrap justify-center lg:items-end gap-3">
<li
class="adm_nav-item {% if '/zarzad' == request.path %}adm_active{% endif %}"
>
<a href="{% url 'administration' %}">Zarząd</a>
</li>
<li
class="adm_nav-item {% if 'ogloszenia' in request.path %}adm_active{% endif %}"
>
<a href="{% url 'administration_announcements' %}">Ogłoszenia</a>
</li>
<li
class="adm_nav-item {% if 'protokolyiuchwaly' in request.path %}adm_active{% endif %}"
>
<a href="{% url 'administration_protocols' %}">Protokoły i Uchwały</a>
</li>
<li
class="adm_nav-item {% if 'regulaminy' in request.path %}adm_active{% endif %}"
>
<a href="{% url 'administration_regulations' %}">Regulaminy</a>
</li>
<li
class="adm_nav-item {% if 'rodo' in request.path %}adm_active{% endif %}"
>
<a href="{% url 'administration_rodos' %}">RODO</a>
</li>
</ul>
</nav>
</div>
<div
class="mx-auto p-4 prose prose-h2:font-normal prose-h2:text-2xl prose-h2:text-center prose-h4:font-normal prose-h4:text-xl prose-h4:text-center"
>
{% block adm_content %}
<h2 class="prose prose-h2:font-light">
<a href="{{ statut.attachment.url }}" target="_blank">
<span class="my-0 text-center">{{ statut.title }}</span>
</a>
</h2>
<h2 class="mb-2">Dane adresowe</h2>
<h3
class="flex flex-col items-center text-xl font-medium px-4 py-3 bg-blue-50 border border-blue-100 rounded-md shadow-md mb-8"
>
<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>
</h3>
<h2 class="mb-2">Członkowie</h2>
{% if czlonkowie %}
<div class="flex flex-col gap-4 text-center items-center place-items-center">
{% for member in czlonkowie %}
<h3
class="w-screen max-w-screen-lg flex flex-col lg:flex-row-reverse justify-between items-center px-4 py-3 bg-blue-50 border border-blue-100 rounded-md shadow-md my-0"
>
<span class="text-2xl font-light mb-0">{{ member.function }}</span>
<div class="text-left">
<span class="text-3xl my-0">{{ member.name }}</span>
<br />
<span class="text-xs italic">{{ member.contact }}</span>
</div>
</h3>
{% endfor %}
</div>
{% else %}
<h4>Brak członków</h4>
{% endif %} {% endblock %}
</div>
{% endblock %}