gd: Hauptseite überarbeitet, Moderatoren-Seite, Favicon
- Dashboard: kein verschachtelter container, Hover nur auf Kennzahlen, besserer Kontrast, echte "Harte Brocken" (ohne Folgen ohne Lösungs- daten, mit Hinweis), Zeitraum statt Tagesdatum, verlinkte Namen, h1, gültiges aria-valuenow, deutsche ARIA-Beschriftungen, Aufräumen - Warnmeldungen werden gelb statt blau angezeigt - Moderatoren-Seite mit Rolle, moderierten Folgen und zwischen- gespeicherten Wikipedia-Auszügen (CC BY-SA); Moderator in Personen- liste und Suche; Erkennung über Folge.moderator statt fester Namen - Favicon (SVG/PNG/ICO), /favicon.ico über WHITENOISE_ROOT - 13 neue Tests (97 insgesamt), Changelog und Datenschutz ergänzt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
43879d4b40
commit
b4f18b9125
18 files changed
+456
-112
No files matched your search
+16
-7
@@ -6,6 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="referrer" content="no-referrer-when-downgrade">
|
||||
<title>Genial Daneben DB</title>
|
||||
{% include 'partials/favicon.html' %}
|
||||
<link href="{% static 'vendor/bootstrap/bootstrap.min.css' %}" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{% static 'vendor/bootstrap-icons/bootstrap-icons.min.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'consent/consent.css' %}">
|
||||
@@ -24,6 +25,14 @@
|
||||
z-index: 1060; /* Über der Navbar */
|
||||
min-width: 300px;
|
||||
max-width: 400px;
|
||||
animation: meldung-einblenden 0.4s ease-out;
|
||||
}
|
||||
@keyframes meldung-einblenden {
|
||||
from { opacity: 0; transform: translateX(40px); }
|
||||
to { opacity: 1; transform: none; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.message-container { animation: none; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
@@ -31,7 +40,8 @@
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4 shadow">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{% url 'gd:dashboard' %}">GENIAL DANEBEN ARCHIV</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
||||
aria-controls="navbarNav" aria-expanded="false" aria-label="Menü öffnen">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
@@ -46,7 +56,7 @@
|
||||
name="q"
|
||||
list="teamOptions"
|
||||
placeholder="Suche..."
|
||||
aria-label="Search"
|
||||
aria-label="Suche"
|
||||
value="{{ query|default:'' }}"
|
||||
minlength="2"
|
||||
required>
|
||||
@@ -64,9 +74,9 @@
|
||||
</nav>
|
||||
|
||||
{% if messages %}
|
||||
<div class="message-container animate__animated animate__fadeInRight">
|
||||
<div class="message-container">
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-{% if message.tags == 'error' %}danger{% elif message.tags == 'success' %}success{% else %}info{% endif %} alert-dismissible fade show shadow-lg border-0" role="alert">
|
||||
<div class="alert alert-{% if message.tags == 'error' %}danger{% elif message.tags == 'success' %}success{% elif message.tags == 'warning' %}warning{% else %}info{% endif %} alert-dismissible fade show shadow-lg border-0" role="alert">
|
||||
<div class="d-flex align-items-center">
|
||||
{% if message.tags == 'success' %}
|
||||
<i class="bi bi-check-circle-fill me-2"></i>
|
||||
@@ -77,7 +87,7 @@
|
||||
{% endif %}
|
||||
<div>{{ message }}</div>
|
||||
</div>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Schließen"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -87,8 +97,7 @@
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
{# Fußzeile für alle gd-Seiten (vorher nur im Dashboard), mit Impressum/Datenschutz/Cookie-Einstellungen #}
|
||||
{# Trennlinie am container statt am footer, damit sie nur so breit wie der Inhalt ist #}
|
||||
{# Fußzeile für alle gd-Seiten mit Impressum/Datenschutz/Cookie-Einstellungen; Trennlinie am container, damit sie nur so breit wie der Inhalt ist #}
|
||||
<footer class="mt-5">
|
||||
<div class="container py-4 border-top">
|
||||
<div class="row align-items-center g-2">
|
||||
|
||||
@@ -1,39 +1,53 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<style>
|
||||
/* Kennzahl-Kacheln: leichtes Anheben beim Überfahren (nur diese, nicht alle Karten) */
|
||||
.kpi-kachel { transition: transform 0.2s; }
|
||||
.kpi-kachel:hover { transform: translateY(-3px); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.kpi-kachel, .kpi-kachel:hover { transition: none; transform: none; }
|
||||
}
|
||||
/* Kachelfarben mit ausreichendem Kontrast zu weißer Schrift */
|
||||
.kpi-grau { background-color: #4a4a4a; }
|
||||
.kpi-grau-hell { background-color: #5c636a; }
|
||||
.kpi-petrol { background-color: #0b7285; }
|
||||
.kpi-titel { font-size: 0.8rem; letter-spacing: 0.03em; }
|
||||
</style>
|
||||
|
||||
<div class="row mb-4">
|
||||
<div class="col-12">
|
||||
<div class="card border-0 shadow-sm overflow-hidden">
|
||||
<div class="card-body p-0">
|
||||
<div class="d-flex flex-column flex-md-row">
|
||||
|
||||
|
||||
<div class="bg-light d-flex align-items-center justify-content-center px-4 py-3 d-none d-md-flex">
|
||||
<i class="bi bi-database-fill-check text-success" style="font-size: 3.5rem;"></i>
|
||||
<i class="bi bi-database-fill-check text-success" style="font-size: 3.5rem;" aria-hidden="true"></i>
|
||||
</div>
|
||||
|
||||
<div class="p-4 flex-grow-1">
|
||||
<div class="d-flex align-items-center mb-2">
|
||||
<i class="bi bi-info-circle-fill text-primary me-2 d-md-none"></i>
|
||||
<h4 class="fw-bold text-dark mb-0">Genial Daneben - Statistisches Archiv</h4>
|
||||
<i class="bi bi-info-circle-fill text-primary me-2 d-md-none" aria-hidden="true"></i>
|
||||
<h1 class="h4 fw-bold text-dark mb-0">Genial Daneben – Statistisches Archiv</h1>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="text-secondary mb-3 lead" style="font-size: 1.05rem;">
|
||||
Digitale Erfassung aller Sendungen, Panel-Gäste und Fragen.
|
||||
Digitale Erfassung aller Sendungen, Panel-Gäste und Fragen.
|
||||
Dieses Dashboard dient der Analyse von Lösungsquoten und der Performance der Rateteams über alle Staffeln hinweg (bis 2011).
|
||||
</p>
|
||||
|
||||
<div class="alert alert-warning border-0 bg-opacity-10 mb-0 py-3 px-3">
|
||||
<div class="d-flex align-items-start mb-2">
|
||||
<i class="bi bi-exclamation-triangle-fill me-3 mt-1"></i>
|
||||
<i class="bi bi-exclamation-triangle-fill me-3 mt-1" aria-hidden="true"></i>
|
||||
<div class="small">
|
||||
<strong class="text-uppercase">Archiv im Aufbau:</strong>
|
||||
<strong class="text-uppercase">Archiv im Aufbau:</strong>
|
||||
Derzeit befindet sich dieses Archiv noch im Aufbau! Daten können unvollständig sein. Die Ergänzung erfolgt auf Basis öffentlicher Quellen – alle Angaben ohne Gewähr!
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex align-items-start pt-2 border-top border-warning border-opacity-25">
|
||||
<i class="bi bi-info-square-fill me-3 mt-1 small"></i>
|
||||
<i class="bi bi-info-square-fill me-3 mt-1 small" aria-hidden="true"></i>
|
||||
<div style="font-size: 0.8rem;" class="text-muted">
|
||||
<strong>Externer Content:</strong> Eingebettete YouTube-Videos sind externe Verlinkungen. <br>
|
||||
<strong>Externe Inhalte:</strong> Eingebettete YouTube-Videos sind externe Inhalte und werden erst nach Zustimmung geladen. <br>
|
||||
Für externe Inhalte, deren Erreichbarkeit sowie die Datenverarbeitung durch Drittanbieter wird keine Gewähr übernommen.
|
||||
</div>
|
||||
</div>
|
||||
@@ -46,49 +60,51 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container py-4">
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h2><i class="bi bi-speedometer2"></i> Statistik-Zentrale</h2>
|
||||
<span class="text-muted small">Stand: {% now "d. F Y" %}</span>
|
||||
<div class="py-4">
|
||||
<div class="d-flex flex-wrap justify-content-between align-items-center gap-2 mb-4">
|
||||
<h2 class="mb-0"><i class="bi bi-speedometer2" aria-hidden="true"></i> Statistik-Zentrale</h2>
|
||||
{% if zeitraum.erste %}
|
||||
<span class="text-muted small">Erfasste Folgen: {{ zeitraum.erste|date:"d.m.Y" }} – {{ zeitraum.letzte|date:"d.m.Y" }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="row g-4 mb-5">
|
||||
<div class="col-md">
|
||||
<div class="card border-0 shadow-sm bg-primary text-white h-100">
|
||||
<div class="card kpi-kachel border-0 shadow-sm bg-primary text-white h-100">
|
||||
<div class="card-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Folgen Gesamt</h6>
|
||||
<h3 class="kpi-titel text-uppercase">Folgen Gesamt</h3>
|
||||
<div class="display-5 fw-bold">{{ anzahl_folgen }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md">
|
||||
<div class="card border-0 shadow-sm bg-dark text-white h-100">
|
||||
<div class="card kpi-kachel border-0 shadow-sm bg-dark text-white h-100">
|
||||
<div class="card-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Fragen im Archiv</h6>
|
||||
<h3 class="kpi-titel text-uppercase">Fragen im Archiv</h3>
|
||||
<div class="display-5 fw-bold">{{ anzahl_fragen }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md">
|
||||
<div class="card border-0 shadow-sm bg-secondary text-white h-100" style="background-color: #4a4a4a !important;">
|
||||
<div class="card kpi-kachel kpi-grau border-0 shadow-sm text-white h-100">
|
||||
<div class="card-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Ø Fragen / Folge</h6>
|
||||
<h3 class="kpi-titel text-uppercase">Ø Fragen / Folge</h3>
|
||||
<div class="display-5 fw-bold">{{ avg_fragen_pro_folge }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md">
|
||||
<div class="card border-0 shadow-sm bg-info text-white h-100">
|
||||
<div class="card kpi-kachel kpi-petrol border-0 shadow-sm text-white h-100">
|
||||
<div class="card-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Gelöste Fragen (%)</h6>
|
||||
<h3 class="kpi-titel text-uppercase">Gelöste Fragen (%)</h3>
|
||||
<div class="display-5 fw-bold">{{ global_quote }}%</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md">
|
||||
<div class="card border-0 shadow-sm text-white h-100" style="background-color: #6c757d;">
|
||||
<div class="card kpi-kachel kpi-grau-hell border-0 shadow-sm text-white h-100">
|
||||
<div class="card-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Ø Lösungen / Folge</h6>
|
||||
<h3 class="kpi-titel text-uppercase">Ø Lösungen / Folge</h3>
|
||||
<div class="display-5 fw-bold">{{ avg_loesungen }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -98,7 +114,7 @@
|
||||
<div class="row g-4">
|
||||
<div class="col-md-4">
|
||||
<div class="card h-100 shadow-sm border-0">
|
||||
<div class="card-header bg-white fw-bold"><i class="bi bi-people"></i> Die Dauerbrenner</div>
|
||||
<h3 class="card-header h6 bg-white fw-bold mb-0"><i class="bi bi-people" aria-hidden="true"></i> Die Dauerbrenner</h3>
|
||||
<ul class="list-group list-group-flush">
|
||||
{% for gast in top_gaeste %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
@@ -112,38 +128,39 @@
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card h-100 shadow-sm border-0">
|
||||
<div class="card-header bg-white fw-bold text-success"><i class="bi bi-graph-up-arrow"></i> Effizienz-Index</div>
|
||||
<h3 class="card-header h6 bg-white fw-bold text-success mb-0"><i class="bi bi-graph-up-arrow" aria-hidden="true"></i> Effizienz-Index</h3>
|
||||
<ul class="list-group list-group-flush">
|
||||
{% for e in effizienz_liste %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<span>{{ e.name }}</span>
|
||||
<span class="fw-bold text-success">{{ e.effizienz|floatformat:2 }} <small class="text-muted">(Lö/Au)</small></span>
|
||||
<a href="{% url 'gd:team_member_detail' e.id %}" class="text-decoration-none text-dark">{{ e.name }}</a>
|
||||
<span class="fw-bold text-success">{{ e.effizienz|floatformat:2 }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="card-footer small text-muted">Mindestens 3 Auftritte</div>
|
||||
<div class="card-footer small text-muted">Lösungen pro Auftritt · mindestens 3 Auftritte</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="card h-100 shadow-sm border-0">
|
||||
<div class="card-header bg-white fw-bold text-warning"><i class="bi bi-trophy"></i> Solo-Könige</div>
|
||||
<h3 class="card-header h6 bg-white fw-bold text-warning-emphasis mb-0"><i class="bi bi-trophy" aria-hidden="true"></i> Solo-Könige</h3>
|
||||
<ul class="list-group list-group-flush">
|
||||
{% for s in solo_koenige %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<span>{{ s.name }}</span>
|
||||
<a href="{% url 'gd:team_member_detail' s.id %}" class="text-decoration-none text-dark">{{ s.name }}</a>
|
||||
<span class="badge bg-warning text-dark rounded-pill">{{ s.solo_count }} Solo-Treffer</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="card-footer small text-muted">Fragen, die eine Person allein gelöst hat</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<div class="card shadow-sm border-0 mt-2">
|
||||
<div class="card-header bg-danger text-white fw-bold">
|
||||
<i class="bi bi-exclamation-triangle"></i> Harte Brocken (Folgen mit den wenigsten Lösungen)
|
||||
</div>
|
||||
<h3 class="card-header h6 bg-danger text-white fw-bold mb-0">
|
||||
<i class="bi bi-exclamation-triangle" aria-hidden="true"></i> Harte Brocken – die 10 Folgen mit der niedrigsten Lösungsquote
|
||||
</h3>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover align-middle mb-0">
|
||||
<thead>
|
||||
@@ -153,47 +170,43 @@
|
||||
<th>Fragen Gesamt</th>
|
||||
<th>Gelöst</th>
|
||||
<th>Quote</th>
|
||||
<th></th>
|
||||
<th><span class="visually-hidden">Aktion</span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for f in harte_folgen %}
|
||||
<tr>
|
||||
<td class="fw-bold">#{{ f.folgen_nummer }}</td>
|
||||
<td>{{ f.datum|date:"d.m.Y" }}</td>
|
||||
<td>{{ f.fragen_total }}</td>
|
||||
<td>{{ f.fragen_geloest }}</td>
|
||||
<td>
|
||||
<div class="progress" style="height: 12px; width: 100px; background-color: #e9ecef;">
|
||||
<div class="progress-bar {% if f.quote < 30 %}bg-danger{% elif f.quote < 50 %}bg-warning{% else %}bg-info{% endif %}"
|
||||
role="progressbar"
|
||||
style="width: {{ f.quote|stringformat:".2f"|slice:":-1"|default:"0" }}%;"
|
||||
aria-valuenow="{{ f.quote }}"
|
||||
aria-valuemin="0"
|
||||
aria-valuemax="100">
|
||||
</div>
|
||||
</div>
|
||||
<small>
|
||||
{{ f.quote|floatformat:1 }}%
|
||||
</small>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="{% url 'gd:folge_detail' f.id %}" class="btn btn-sm btn-outline-danger btn-pill">
|
||||
Analyse
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
{% for f in harte_folgen %}
|
||||
<tr>
|
||||
<td class="fw-bold">#{{ f.folgen_nummer }}</td>
|
||||
<td>{{ f.datum|date:"d.m.Y" }}</td>
|
||||
<td>{{ f.fragen_total }}</td>
|
||||
<td>{{ f.fragen_geloest }}</td>
|
||||
<td>
|
||||
{# stringformat statt floatformat: Punkt als Dezimaltrenner, wie CSS und ARIA ihn brauchen #}
|
||||
<div class="progress" style="height: 12px; width: 100px;" role="progressbar"
|
||||
aria-label="Lösungsquote Folge {{ f.folgen_nummer }}"
|
||||
aria-valuenow="{{ f.quote|stringformat:'.1f' }}" aria-valuemin="0" aria-valuemax="100">
|
||||
<div class="progress-bar {% if f.quote < 30 %}bg-danger{% elif f.quote < 50 %}bg-warning{% else %}bg-info{% endif %}"
|
||||
style="width: {{ f.quote|stringformat:'.1f' }}%;"></div>
|
||||
</div>
|
||||
<small>{{ f.quote|floatformat:1 }}%</small>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="{% url 'gd:folge_detail' f.id %}" class="btn btn-sm btn-outline-danger rounded-pill">
|
||||
Analyse
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% if folgen_ohne_loesungsdaten %}
|
||||
<div class="card-footer small text-muted">
|
||||
{{ folgen_ohne_loesungsdaten }} Folge{{ folgen_ohne_loesungsdaten|pluralize:"n" }} ohne erfasste Lösungen {{ folgen_ohne_loesungsdaten|pluralize:"ist,sind" }} hier nicht berücksichtigt (Archiv im Aufbau).
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.card { transition: transform 0.2s; }
|
||||
.card:hover { transform: translateY(-3px); }
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
@@ -85,8 +85,8 @@
|
||||
|
||||
<h2 class="h5 mt-4">6. Bilder und Inhalte von Wikipedia</h2>
|
||||
<p>
|
||||
Profilbilder von Personen werden von unserem Server bei Wikipedia abgerufen und lokal
|
||||
gespeichert. Beim Besuch der Seite wird daher keine Verbindung zwischen deinem Browser
|
||||
Profilbilder von Personen und kurze Textauszüge (z. B. auf der Seite des Moderators)
|
||||
werden von unserem Server bei Wikipedia abgerufen und lokal gespeichert. Beim Besuch der Seite wird daher keine Verbindung zwischen deinem Browser
|
||||
und Wikipedia hergestellt. Erst wenn du einen Link zu Wikipedia anklickst, gelten die
|
||||
Datenschutzbestimmungen der Wikimedia Foundation.
|
||||
</p>
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb mb-3">
|
||||
<li class="breadcrumb-item"><a href="{% url 'gd:team_list' %}">Personen</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ member.name }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<div class="card border-0 shadow-sm mb-4">
|
||||
<div class="card-body p-4 d-flex flex-column flex-md-row align-items-md-center gap-4">
|
||||
{% if wiki_image_url %}
|
||||
<img src="{{ wiki_image_url }}" alt="{{ member.name }}" class="rounded-circle shadow-sm flex-shrink-0"
|
||||
width="120" height="120" style="object-fit: cover;">
|
||||
{% endif %}
|
||||
<div>
|
||||
<h1 class="h2 mb-2">{{ member.name }}</h1>
|
||||
<div class="d-flex flex-wrap gap-2 mb-2">
|
||||
<span class="badge bg-dark"><i class="bi bi-mic-fill" aria-hidden="true"></i> Moderator</span>
|
||||
<span class="badge bg-warning text-dark"><i class="bi bi-lightbulb-fill" aria-hidden="true"></i> Erfinder der Sendung</span>
|
||||
<span class="badge bg-secondary"><i class="bi bi-camera-reels-fill" aria-hidden="true"></i> Produzent</span>
|
||||
</div>
|
||||
<p class="text-muted mb-0">
|
||||
Als Moderator stellt {{ member.name }} die Fragen und rät nicht mit.
|
||||
Deshalb gibt es hier keine Lösungsstatistik wie bei den Panel-Mitgliedern.
|
||||
</p>
|
||||
{% if wiki_page_url %}
|
||||
<a href="{{ wiki_page_url }}" target="_blank" rel="noopener noreferrer" class="btn btn-sm btn-outline-dark mt-2">
|
||||
<i class="bi bi-wikipedia" aria-hidden="true"></i> Wikipedia
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-4 mb-4">
|
||||
<div class="col-md-4">
|
||||
<div class="card border-0 shadow-sm text-center h-100">
|
||||
<div class="card-body">
|
||||
<h2 class="h6 text-uppercase text-muted">Moderierte Folgen im Archiv</h2>
|
||||
<div class="display-6 fw-bold">{{ kennzahlen.anzahl }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="card border-0 shadow-sm text-center h-100">
|
||||
<div class="card-body">
|
||||
<h2 class="h6 text-uppercase text-muted">Gestellte Fragen</h2>
|
||||
<div class="display-6 fw-bold">{{ anzahl_fragen }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="card border-0 shadow-sm text-center h-100">
|
||||
<div class="card-body">
|
||||
<h2 class="h6 text-uppercase text-muted">Zeitraum</h2>
|
||||
<div class="fs-5 fw-bold">
|
||||
{% if kennzahlen.erste %}{{ kennzahlen.erste|date:"d.m.Y" }} – {{ kennzahlen.letzte|date:"d.m.Y" }}{% else %}–{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if auszuege %}
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body p-4">
|
||||
<h2 class="h5 mb-3"><i class="bi bi-wikipedia" aria-hidden="true"></i> Aus der Wikipedia</h2>
|
||||
{% for auszug in auszuege %}
|
||||
<figure class="mb-4">
|
||||
<blockquote class="blockquote fs-6 border-start border-3 ps-3">
|
||||
<p class="mb-0">{{ auszug.text|linebreaksbr }}</p>
|
||||
</blockquote>
|
||||
<figcaption class="blockquote-footer mt-1">
|
||||
Wikipedia-Artikel <a href="{{ auszug.url }}" target="_blank" rel="noopener noreferrer">„{{ auszug.titel }}“</a>
|
||||
</figcaption>
|
||||
</figure>
|
||||
{% endfor %}
|
||||
<p class="small text-muted mb-0">
|
||||
Textauszüge aus der deutschsprachigen Wikipedia, verfügbar unter der Lizenz
|
||||
<a href="https://creativecommons.org/licenses/by-sa/4.0/deed.de" target="_blank" rel="noopener noreferrer">CC BY-SA 4.0</a>.
|
||||
Die Autoren sind in der Versionsgeschichte des jeweiligen Artikels aufgeführt.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -61,7 +61,9 @@
|
||||
{% for person in team %}
|
||||
<a href="{% url 'gd:team_member_detail' person.id %}" class="btn btn-white shadow-sm border">
|
||||
<i class="bi bi-person me-1"></i> {{ person.name|highlight:query }}
|
||||
{% if person.ist_stamm %}
|
||||
{% if person.ist_moderator %}
|
||||
<span class="badge bg-dark ms-1">Moderator</span>
|
||||
{% elif person.ist_stamm %}
|
||||
<span class="badge bg-warning text-dark ms-1">Stamm</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
|
||||
@@ -1,8 +1,29 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
{% if moderatoren %}
|
||||
<h1 class="h2 mb-3"><i class="bi bi-mic" aria-hidden="true"></i> Moderation</h1>
|
||||
<div class="row mb-4">
|
||||
{% for member in moderatoren %}
|
||||
<div class="col-md-3 col-sm-6 mb-3">
|
||||
<div class="card h-100 shadow-sm border-0">
|
||||
<div class="card-body text-center">
|
||||
<h2 class="h5 card-title mb-1">{{ member.name }}</h2>
|
||||
<span class="badge bg-dark mb-2">Moderator</span>
|
||||
<div class="mt-2">
|
||||
<a href="{% url 'gd:team_member_detail' member.id %}" class="btn btn-sm btn-outline-dark">
|
||||
Infos zeigen
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h2><i class="bi bi-people"></i> Panel-Mitglieder</h2>
|
||||
<h2><i class="bi bi-people" aria-hidden="true"></i> Panel-Mitglieder</h2>
|
||||
<span class="badge bg-secondary">{{ team|length }} Personen erfasst</span>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{% load static %}
|
||||
{# Favicon: Fragezeichen, dessen Punkt "daneben" liegt. /favicon.ico liefert WhiteNoise aus webroot/ #}
|
||||
<link rel="icon" href="{% static 'favicon/favicon.svg' %}" type="image/svg+xml">
|
||||
<link rel="icon" href="{% static 'favicon/favicon-32.png' %}" sizes="32x32" type="image/png">
|
||||
<link rel="apple-touch-icon" href="{% static 'favicon/favicon-180.png' %}">
|
||||
Reference in new issue
Block a user