add changeable title in header

This commit is contained in:
2022-01-20 12:30:10 +00:00
committed by root
parent 0015b1f534
commit cf3ae74f44
10 changed files with 47 additions and 29 deletions

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block title %}FET: Login{% endblock %}
{% block content %}
<!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-grow flex flex-col">

View File

@@ -5,8 +5,8 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FET: Startseite</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}FET: Startseite{% endblock %}</title>
<meta name="author" content="Fachschaft Elektrotechnik (FET)">
<meta name="description" content="Die Fachschaft Elektrotechnik besteht aus ET Studierenden, die sich um die Anliegen der Studenten und Studentinnen kümmern.">
@@ -117,37 +117,37 @@
{% block content %}
{% endblock %}
<footer>
<ul class="icon-list">
<li>
<a href="https://facebook.fet.at/"><i class="fab fa-facebook"></i></a>
</li>
<li>
<a href="https://instagram.fet.at/"><i class="fab fa-instagram"></i></a>
</li>
<li>
<a href="https://discord.fet.at/"><i class="fab fa-discord"></i></a>
</li>
<li>
<a href="https://telegram.fet.at/"><i class="fab fa-telegram"></i></a>
</li>
<li>
<a href="mailto:service@fet.at"><i class="fas fa-envelope"></i></a>
</li>
</ul>
<div class="legal">
<a href="{% url 'impressum' %}" class="text-center text-sm sm:text-base">Impressum</a>
</div>
<hr class="legal-divider">
<p class="copyright">© {% now 'Y' %} FET - Alle Rechte vorbehalten.</p>
</footer>
<div class="super-duper-awesome-signature" x-data="{ counter: 0 }">
<footer>
<ul class="icon-list">
<li>
<a href="https://facebook.fet.at/"><i class="fab fa-facebook"></i></a>
</li>
<li>
<a href="https://instagram.fet.at/"><i class="fab fa-instagram"></i></a>
</li>
<li>
<a href="https://discord.fet.at/"><i class="fab fa-discord"></i></a>
</li>
<li>
<a href="https://telegram.fet.at/"><i class="fab fa-telegram"></i></a>
</li>
<li>
<a href="mailto:service@fet.at"><i class="fas fa-envelope"></i></a>
</li>
</ul>
<div class="legal">
<a href="{% url 'impressum' %}" class="text-center text-sm sm:text-base">Impressum</a>
</div>
<hr class="legal-divider">
<p class="copyright">© {% now 'Y' %} FET - Alle Rechte vorbehalten.</p>
</footer>
<div class="super-duper-awesome-signature" x-data="{ counter: 0 }">
<span :class="counter>=4 && 'text-purple-300'">Handcrafted </span>
<span :class="counter>=5 && 'text-green-400'">with </span>
<i class="fa-solid fa-heart" aria-label="love" @click="counter++" :class="counter>=2 ? 'text-proprietary hover:text-proprietary-dark' : 'text-red-600 hover:text-red-700'"></i>
<span :class="counter>=6 && 'text-pink-400'"> by</span>
<span class="font-normal" :class="counter>=3 && 'text-yellow-500'"> Matteo Duchscher</span>
</div>
</div>
<script src="{% static 'js/gumshoe@5.1.1.js' %}"></script>
<script src="{% static 'js/smooth-scroll@16.1.2.js' %}"></script>

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block title %}FET: Blackboard{% endblock %}
{% block content %}
<!-- Main Content -->
<main class="container mx-auto w-full px-4 mt-8 flex-1">

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block title %}FET: {{ flatpage.title }}{% endblock %}
{% block content %}
<!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-1">

View File

@@ -1,5 +1,7 @@
{% extends 'members/index.html' %}
{% block title %}FET: {{ active_job_group.name }}{% endblock %}
{% block jobs_content %}
<div class="db-page-content">
<h2>{{ active_job_group.name }}</h2>

View File

@@ -1,6 +1,8 @@
{% extends 'members/index.html' %}
{% load softhyphen_tags %}
{% block title %}FET: {{ member.firstname }} {{ member.surname }}{% endblock %}
{% block extraheader %}
<meta content="{{member.image.url}}" property="og:image">
<meta content="{{ member.firstname }}" property="og:profile:first_name">

View File

@@ -1,5 +1,7 @@
{% extends 'members/index.html' %}
{% block title %}FET: Fachschaft{% endblock %}
{% block members_content %}
{% if fs_info %}
<div class="db-page-content">

View File

@@ -2,6 +2,8 @@
{% load post_helpers %}
{% block title %}FET: News{% endblock %}
{% block content %}
<!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-1">

View File

@@ -3,6 +3,8 @@
{% load post_helpers %}
{% load admin_urls %}
{% block title %}FET: News{% endblock %}
{% block extraheader %}
<meta content="{{ post.imageurl }}" property="og:image">
<meta content="{{ post.title }}" property="og:title">

View File

@@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% block title %}FET: News{% endblock %}
{% block content %}
<!-- Main Content -->
<main class="container mx-auto w-full px-4 my-8 flex-1">