djade formatting
This commit is contained in:
@@ -18,4 +18,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
{% extends "admin/base.html" %}
|
{% extends "admin/base.html" %}
|
||||||
{% load i18n admin_urls %}
|
{% load admin_urls i18n static %}
|
||||||
{% load static %}
|
|
||||||
|
|
||||||
{% block extrahead %}
|
{% block extrahead %}
|
||||||
<link rel="shortcut icon" type="image/png" href="{% static 'img/fet_logo_white.png' %}"/>
|
<link rel="shortcut icon" type="image/png" href="{% static 'img/fet_logo_white.png' %}"/>
|
||||||
{% endblock %}
|
{% endblock extrahead %}
|
||||||
|
|
||||||
{% block usertools %}
|
{% block usertools %}
|
||||||
{% if has_permission %}
|
{% if has_permission %}
|
||||||
@@ -12,14 +11,14 @@
|
|||||||
{% block welcome-msg %}
|
{% block welcome-msg %}
|
||||||
{% translate 'Welcome,' %}
|
{% translate 'Welcome,' %}
|
||||||
<strong>{% firstof user.get_short_name user.get_username %}</strong>.
|
<strong>{% firstof user.get_short_name user.get_username %}</strong>.
|
||||||
{% endblock %}
|
{% endblock welcome-msg %}
|
||||||
{% block userlinks %}
|
{% block userlinks %}
|
||||||
{% if site_url %}
|
{% if site_url %}
|
||||||
<a class="button" href="{{ site_url }}">Zurück zur FET Homepage</a>
|
<a class="button" href="{{ site_url }}">Zurück zur FET Homepage</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- TODO: FIXME: <a class="button" href="{% url 'authentications:password_change' %}">Passwort ändern</a> -->
|
<!-- TODO: FIXME: <a class="button" href="{% url 'authentications:password_change' %}">Passwort ändern</a> -->
|
||||||
<a class="button" href="{% url 'admin:logout' %}">{% translate 'Log out' %}</a>
|
<a class="button" href="{% url 'admin:logout' %}">{% translate 'Log out' %}</a>
|
||||||
{% endblock %}
|
{% endblock userlinks %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock usertools %}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{% extends "admin/change_form.html" %}
|
{% extends "admin/change_form.html" %}
|
||||||
{% load i18n admin_urls %}
|
{% load admin_urls i18n %}
|
||||||
|
|
||||||
{% block form_top %}
|
{% block form_top %}
|
||||||
{% if help_text %}<p>{{ help_text }}</p>{% endif %}
|
{% if help_text %}<p>{{ help_text }}</p>{% endif %}
|
||||||
{% endblock %}
|
{% endblock form_top %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends "admin/submit_line.html" %}
|
{% extends "admin/submit_line.html" %}
|
||||||
{% load i18n admin_urls %}
|
{% load admin_urls i18n %}
|
||||||
|
|
||||||
{% block submit-row %}
|
{% block submit-row %}
|
||||||
{% if not show_close %}
|
{% if not show_close %}
|
||||||
@@ -8,4 +8,4 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if generate_pdf %}<input type="submit" value="PDF File generieren" class="default" name="_generate_pdf">{% endif %}
|
{% if generate_pdf %}<input type="submit" value="PDF File generieren" class="default" name="_generate_pdf">{% endif %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
{% endblock %}
|
{% endblock submit-row %}
|
||||||
|
|||||||
@@ -26,4 +26,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -12,4 +12,4 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -28,4 +28,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{% load flatpages %}
|
{% load flatpages static version %}
|
||||||
{% load static %}
|
|
||||||
{% load version %}
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de" x-data="bodyData" x-bind="documentRoot">
|
<html lang="de" x-data="bodyData" x-bind="documentRoot">
|
||||||
@@ -50,9 +48,9 @@
|
|||||||
<link rel="stylesheet" href="{% static 'fonts/Fira_Code-6.2/fira_code.css' %}">
|
<link rel="stylesheet" href="{% static 'fonts/Fira_Code-6.2/fira_code.css' %}">
|
||||||
|
|
||||||
{% block galleryheader %}
|
{% block galleryheader %}
|
||||||
{% endblock %}
|
{% endblock galleryheader %}
|
||||||
{% block extraheader %}
|
{% block extraheader %}
|
||||||
{% endblock %}
|
{% endblock extraheader %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body x-bind="documentBody">
|
<body x-bind="documentBody">
|
||||||
@@ -203,7 +201,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<ul class="icon-list">
|
<ul class="icon-list">
|
||||||
|
|||||||
@@ -75,4 +75,4 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@@ -14,10 +13,10 @@
|
|||||||
<div id="nav"><nav>
|
<div id="nav"><nav>
|
||||||
{% block nav %}
|
{% block nav %}
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<a class="nav" href="/accounts/profile/">{% trans "profile" %}</a>
|
<a class="nav" href="/accounts/profile/">{% translate "profile" %}</a>
|
||||||
<a class="nav" href="/logout">{% trans "logout" %}</a>
|
<a class="nav" href="/logout">{% translate "logout" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock nav %}
|
||||||
</nav></div>
|
</nav></div>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
{% block wrapper %}
|
{% block wrapper %}
|
||||||
@@ -31,7 +30,7 @@
|
|||||||
<span class="mark">!</span>{{ message.text }}<span class="mark">!</span>
|
<span class="mark">!</span>{{ message.text }}<span class="mark">!</span>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
{% endblock messages %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
@@ -42,9 +41,8 @@
|
|||||||
<div id="footer"><footer>
|
<div id="footer"><footer>
|
||||||
</footer></div>
|
</footer></div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock wrapper %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{% extends "documents/base.html" %}
|
{% extends "documents/base.html" %}
|
||||||
|
|
||||||
|
|
||||||
{% block title %}{{ pad.name }}{% endblock %}
|
{% block title %}{{ pad.name }}{% endblock %}
|
||||||
|
|
||||||
{% block wrapper %}
|
{% block wrapper %}
|
||||||
@@ -31,4 +30,4 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock wrapper %}
|
||||||
|
|||||||
@@ -103,4 +103,4 @@
|
|||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -12,4 +12,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -178,4 +178,4 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -71,4 +71,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -35,4 +35,4 @@
|
|||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -57,4 +57,4 @@
|
|||||||
</a>
|
</a>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -65,4 +65,4 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -35,4 +35,4 @@
|
|||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -17,4 +17,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -77,4 +77,4 @@
|
|||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{% block galleryheader %}
|
{% block galleryheader %}
|
||||||
<link rel="stylesheet" href="{% static 'Gallery-3.4.0/css/blueimp-gallery.min.css' %}">
|
<link rel="stylesheet" href="{% static 'Gallery-3.4.0/css/blueimp-gallery.min.css' %}">
|
||||||
{% endblock %}
|
{% endblock galleryheader %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
@@ -77,4 +77,4 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -31,4 +31,4 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -121,4 +121,4 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -20,4 +20,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -61,4 +61,4 @@
|
|||||||
<a href="{% url 'intern:attachment_update' attachment.topic.topic_group.slug attachment.topic.slug attachment.slug %}" class="btn btn-primary block place-self-end"><i class="fa-solid fa-pen-to-square mr-2"></i>Beschreibung bearbeiten</a>
|
<a href="{% url 'intern:attachment_update' attachment.topic.topic_group.slug attachment.topic.slug attachment.slug %}" class="btn btn-primary block place-self-end"><i class="fa-solid fa-pen-to-square mr-2"></i>Beschreibung bearbeiten</a>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -20,4 +20,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -20,4 +20,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -20,4 +20,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -92,4 +92,4 @@
|
|||||||
<a href="{% url 'admin:intern_topicgroup_add' %}" class="btn btn-primary block w-full"><i class="fa-solid fa-plus-square mr-2"></i>Neuer Themenbereich</a>
|
<a href="{% url 'admin:intern_topicgroup_add' %}" class="btn btn-primary block w-full"><i class="fa-solid fa-plus-square mr-2"></i>Neuer Themenbereich</a>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -20,4 +20,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -36,4 +36,4 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -24,4 +24,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% load flatpages %}
|
{% load flatpages job_groups softhyphen_tags static %}
|
||||||
{% load job_groups %}
|
|
||||||
{% load softhyphen_tags %}
|
|
||||||
{% load static %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
@@ -106,21 +103,21 @@
|
|||||||
{% if member %}
|
{% if member %}
|
||||||
<!-- show details of a member -->
|
<!-- show details of a member -->
|
||||||
{% block member_content %}
|
{% block member_content %}
|
||||||
{% endblock %}
|
{% endblock member_content %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if members %}
|
{% if members %}
|
||||||
<!-- show all, active or pension members -->
|
<!-- show all, active or pension members -->
|
||||||
{% block members_content %}
|
{% block members_content %}
|
||||||
{% endblock %}
|
{% endblock members_content %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if job_members %}
|
{% if job_members %}
|
||||||
<!-- show job lists in a job group -->
|
<!-- show job lists in a job group -->
|
||||||
{% block jobs_content %}
|
{% block jobs_content %}
|
||||||
{% endblock %}
|
{% endblock jobs_content %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -36,4 +36,4 @@
|
|||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock jobs_content %}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<meta content="{{ member.firstname }}" property="og:profile:first_name">
|
<meta content="{{ member.firstname }}" property="og:profile:first_name">
|
||||||
<meta content="{{ member.surname }}" property="og:profile:last_name">
|
<meta content="{{ member.surname }}" property="og:profile:last_name">
|
||||||
<meta content="profile" property="og:type">
|
<meta content="profile" property="og:type">
|
||||||
{% endblock %}
|
{% endblock extraheader %}
|
||||||
|
|
||||||
{% block member_content %}
|
{% block member_content %}
|
||||||
<section class="flex-grow w-full max-w-prose my-8 sm:my-0 text-gray-800 dark:text-gray-300">
|
<section class="flex-grow w-full max-w-prose my-8 sm:my-0 text-gray-800 dark:text-gray-300">
|
||||||
@@ -70,4 +70,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock member_content %}
|
||||||
|
|||||||
@@ -26,4 +26,4 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{% endblock %}
|
{% endblock members_content %}
|
||||||
|
|||||||
@@ -5,9 +5,11 @@
|
|||||||
{% block title %}{{ post.title }}{% endblock %}
|
{% block title %}{{ post.title }}{% endblock %}
|
||||||
|
|
||||||
{% block prev_text_big %}Vorheriges<br>Event{% endblock %}
|
{% block prev_text_big %}Vorheriges<br>Event{% endblock %}
|
||||||
|
|
||||||
{% block next_text_big %}Nächstes<br>Event{% endblock %}
|
{% block next_text_big %}Nächstes<br>Event{% endblock %}
|
||||||
|
|
||||||
{% block prev_text %}Vorheriges Event{% endblock %}
|
{% block prev_text %}Vorheriges Event{% endblock %}
|
||||||
|
|
||||||
{% block next_text %}Nächstes Event{% endblock %}
|
{% block next_text %}Nächstes Event{% endblock %}
|
||||||
|
|
||||||
{% block update_button_desktop %}
|
{% block update_button_desktop %}
|
||||||
@@ -16,7 +18,7 @@
|
|||||||
<i class="fa-solid fa-pen-to-square mr-1"></i>Event bearbeiten
|
<i class="fa-solid fa-pen-to-square mr-1"></i>Event bearbeiten
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock update_button_desktop %}
|
||||||
|
|
||||||
{% block event_details_desktop %}
|
{% block event_details_desktop %}
|
||||||
<div class="hidden lg:block absolute top-0 right-0 bg-white dark:bg-gray-950 rounded-bl p-2 bg-opacity-60 dark:bg-opacity-60 gap-2 backdrop-blur">
|
<div class="hidden lg:block absolute top-0 right-0 bg-white dark:bg-gray-950 rounded-bl p-2 bg-opacity-60 dark:bg-opacity-60 gap-2 backdrop-blur">
|
||||||
@@ -46,13 +48,13 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock event_details_desktop %}
|
||||||
|
|
||||||
{% block post_body %}
|
{% block post_body %}
|
||||||
{% if post.body %}
|
{% if post.body %}
|
||||||
{{ post.body|safe|tags_to_url }}
|
{{ post.body|safe|tags_to_url }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock post_body %}
|
||||||
|
|
||||||
{% block event_details_mobile %}
|
{% block event_details_mobile %}
|
||||||
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
||||||
@@ -66,7 +68,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock event_details_mobile %}
|
||||||
|
|
||||||
{% block update_button_mobile %}
|
{% block update_button_mobile %}
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
@@ -74,4 +76,4 @@
|
|||||||
<i class="fa-solid fa-pen-to-square mr-1"></i>Event bearbeiten
|
<i class="fa-solid fa-pen-to-square mr-1"></i>Event bearbeiten
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock update_button_mobile %}
|
||||||
|
|||||||
@@ -27,4 +27,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -26,4 +26,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -5,9 +5,11 @@
|
|||||||
{% block title %}{{ post.title }} vom {{ post.event_start|date }}{% endblock %}
|
{% block title %}{{ post.title }} vom {{ post.event_start|date }}{% endblock %}
|
||||||
|
|
||||||
{% block prev_text_big %}Vorherige<br>Sitzung{% endblock %}
|
{% block prev_text_big %}Vorherige<br>Sitzung{% endblock %}
|
||||||
|
|
||||||
{% block next_text_big %}Nächste<br>Sitzung{% endblock %}
|
{% block next_text_big %}Nächste<br>Sitzung{% endblock %}
|
||||||
|
|
||||||
{% block prev_text %}Vorherige Sitzung{% endblock %}
|
{% block prev_text %}Vorherige Sitzung{% endblock %}
|
||||||
|
|
||||||
{% block next_text %}Nächste Sitzung{% endblock %}
|
{% block next_text %}Nächste Sitzung{% endblock %}
|
||||||
|
|
||||||
{% block update_button_desktop %}
|
{% block update_button_desktop %}
|
||||||
@@ -16,7 +18,7 @@
|
|||||||
<i class="fa-solid fa-pen-to-square mr-1"></i>FET Sitzung bearbeiten
|
<i class="fa-solid fa-pen-to-square mr-1"></i>FET Sitzung bearbeiten
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock update_button_desktop %}
|
||||||
|
|
||||||
{% block event_details_desktop %}
|
{% block event_details_desktop %}
|
||||||
<div class="hidden lg:block absolute top-0 right-0 bg-white dark:bg-gray-950 rounded-bl p-2 bg-opacity-60 dark:bg-opacity-60 gap-2 backdrop-blur">
|
<div class="hidden lg:block absolute top-0 right-0 bg-white dark:bg-gray-950 rounded-bl p-2 bg-opacity-60 dark:bg-opacity-60 gap-2 backdrop-blur">
|
||||||
@@ -46,7 +48,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock event_details_desktop %}
|
||||||
|
|
||||||
{% block post_body %}
|
{% block post_body %}
|
||||||
{% if post.has_agenda and post.agenda_html %}
|
{% if post.has_agenda and post.agenda_html %}
|
||||||
@@ -59,7 +61,7 @@
|
|||||||
<h2>Protokoll</h2>
|
<h2>Protokoll</h2>
|
||||||
{{ post.protocol_html|safe }}
|
{{ post.protocol_html|safe }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock post_body %}
|
||||||
|
|
||||||
{% block event_details_mobile %}
|
{% block event_details_mobile %}
|
||||||
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
<hr class="lg:hidden -mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
||||||
@@ -73,7 +75,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock event_details_mobile %}
|
||||||
|
|
||||||
{% block docu_buttons %}
|
{% block docu_buttons %}
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
@@ -176,7 +178,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock docu_buttons %}
|
||||||
|
|
||||||
{% block update_button_mobile %}
|
{% block update_button_mobile %}
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
@@ -184,4 +186,4 @@
|
|||||||
<i class="fa-solid fa-pen-to-square mr-1"></i>FET Sitzung bearbeiten
|
<i class="fa-solid fa-pen-to-square mr-1"></i>FET Sitzung bearbeiten
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock update_button_mobile %}
|
||||||
|
|||||||
@@ -25,4 +25,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -116,4 +116,4 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -10,13 +10,13 @@
|
|||||||
<i class="fa-solid fa-pen-to-square mr-1"></i>Artikel bearbeiten
|
<i class="fa-solid fa-pen-to-square mr-1"></i>Artikel bearbeiten
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock update_button_desktop %}
|
||||||
|
|
||||||
{% block post_body %}
|
{% block post_body %}
|
||||||
{% if post.body %}
|
{% if post.body %}
|
||||||
{{ post.body|safe|tags_to_url }}
|
{{ post.body|safe|tags_to_url }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock post_body %}
|
||||||
|
|
||||||
{% block files_buttons %}
|
{% block files_buttons %}
|
||||||
{% if files %}
|
{% if files %}
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock files_buttons %}
|
||||||
|
|
||||||
{% block update_button_mobile %}
|
{% block update_button_mobile %}
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
@@ -59,4 +59,4 @@
|
|||||||
<i class="fa-solid fa-pen-to-square mr-1"></i>Artikel bearbeiten
|
<i class="fa-solid fa-pen-to-square mr-1"></i>Artikel bearbeiten
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock update_button_mobile %}
|
||||||
|
|||||||
@@ -23,4 +23,4 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<meta content="{{ post.title }}" property="og:title">
|
<meta content="{{ post.title }}" property="og:title">
|
||||||
<meta content="article" property="og:type">
|
<meta content="article" property="og:type">
|
||||||
<meta content="" property="og:url">
|
<meta content="" property="og:url">
|
||||||
{% endblock %}
|
{% endblock extraheader %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
@@ -81,12 +81,12 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% block update_button_desktop %}
|
{% block update_button_desktop %}
|
||||||
{% endblock %}
|
{% endblock update_button_desktop %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="relative w-full h-44 sm:h-56 md:h-60 lg:h-64 xl:h-96 bg-center bg-no-repeat bg-cover sm:rounded-md mx-auto" style="background-image: url('{{ post.imageurl }}');">
|
<div class="relative w-full h-44 sm:h-56 md:h-60 lg:h-64 xl:h-96 bg-center bg-no-repeat bg-cover sm:rounded-md mx-auto" style="background-image: url('{{ post.imageurl }}');">
|
||||||
{% block event_details_desktop %}
|
{% block event_details_desktop %}
|
||||||
{% endblock %}
|
{% endblock event_details_desktop %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="mx-4 z-10">
|
<section class="mx-4 z-10">
|
||||||
@@ -94,17 +94,17 @@
|
|||||||
<div class="db-page-content-left">
|
<div class="db-page-content-left">
|
||||||
<!-- Content from DB here: -->
|
<!-- Content from DB here: -->
|
||||||
{% block post_body %}
|
{% block post_body %}
|
||||||
{% endblock %}
|
{% endblock post_body %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% block event_details_mobile %}
|
{% block event_details_mobile %}
|
||||||
{% endblock %}
|
{% endblock event_details_mobile %}
|
||||||
|
|
||||||
{% block docu_buttons %}
|
{% block docu_buttons %}
|
||||||
{% endblock %}
|
{% endblock docu_buttons %}
|
||||||
|
|
||||||
{% block files_buttons %}
|
{% block files_buttons %}
|
||||||
{% endblock %}
|
{% endblock files_buttons %}
|
||||||
|
|
||||||
<hr class="-mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
<hr class="-mx-4 border-gray-200 dark:border-gray-800 dark:border my-4">
|
||||||
<div class="-m-4 flex divide-x divide-gray-200 dark:divide-gray-800 dark:divide-x-2 text-sm sm:text-base">
|
<div class="-m-4 flex divide-x divide-gray-200 dark:divide-gray-800 dark:divide-x-2 text-sm sm:text-base">
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
</article>
|
</article>
|
||||||
|
|
||||||
{% block update_button_mobile %}
|
{% block update_button_mobile %}
|
||||||
{% endblock %}
|
{% endblock update_button_mobile %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% if related_posts and related_posts|length > 1 %}
|
{% if related_posts and related_posts|length > 1 %}
|
||||||
@@ -146,4 +146,4 @@
|
|||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -14,4 +14,4 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
@@ -45,4 +45,4 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user