New Functionalities & Addons
This commit is contained in:
1 parent
74fe9c7b90
commit
2f1dac4c09
55 files changed
+4415
-316
No files matched your search
+95
-64
@@ -1,65 +1,96 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Genial Daneben DB</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<style>
|
||||
body { background-color: #f4f7f6; }
|
||||
.navbar { background-color: #2c3e50; }
|
||||
.navbar-brand { font-weight: bold; color: #f39c12 !important; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4 shadow">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{% url 'dashboard' %}">GENIAL DANEBEN ARCHIV</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav me-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="{% url 'folgen_list' %}">Folgen</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="{% url 'team_list' %}">Personen</a></li>
|
||||
</ul>
|
||||
<form class="d-flex" action="{% url 'search' %}" method="get">
|
||||
<input class="form-control me-2 border-0 shadow-sm"
|
||||
type="search"
|
||||
name="q"
|
||||
list="teamOptions"
|
||||
placeholder="Suche..."
|
||||
aria-label="Search"
|
||||
value="{{ query|default:'' }}"
|
||||
required>
|
||||
|
||||
<datalist id="teamOptions">
|
||||
{% for member in alle_namen %}
|
||||
<option value="{{ member.name }}">
|
||||
{% endfor %}
|
||||
</datalist>
|
||||
|
||||
<button class="btn btn-warning fw-bold" type="submit">Suchen</button>
|
||||
</form>
|
||||
|
||||
{% if messages %}
|
||||
<div class="container mt-2">
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||
{{ message }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="container">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="referrer" content="no-referrer-when-downgrade">
|
||||
<title>Genial Daneben DB</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css">
|
||||
<style>
|
||||
body { background-color: #f4f7f6; }
|
||||
.navbar { background-color: #2c3e50; }
|
||||
.navbar-brand { font-weight: bold; color: #f39c12 !important; }
|
||||
|
||||
/* Floating Message Container */
|
||||
.message-container {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
z-index: 1060; /* Über der Navbar */
|
||||
min-width: 300px;
|
||||
max-width: 400px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<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">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav me-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="{% url 'gd:folgen_list' %}">Folgen</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="{% url 'gd:team_list' %}">Personen</a></li>
|
||||
</ul>
|
||||
<form class="d-flex" action="{% url 'gd:search' %}" method="get">
|
||||
<input class="form-control me-2 border-0 shadow-sm"
|
||||
type="search"
|
||||
name="q"
|
||||
list="teamOptions"
|
||||
placeholder="Suche..."
|
||||
aria-label="Search"
|
||||
value="{{ query|default:'' }}"
|
||||
required>
|
||||
|
||||
<datalist id="teamOptions">
|
||||
{% for member in alle_namen %}
|
||||
<option value="{{ member.name }}">
|
||||
{% endfor %}
|
||||
</datalist>
|
||||
|
||||
<button class="btn btn-warning fw-bold" type="submit">Suchen</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{% if messages %}
|
||||
<div class="message-container animate__animated animate__fadeInRight">
|
||||
{% 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="d-flex align-items-center">
|
||||
{% if message.tags == 'success' %}
|
||||
<i class="bi bi-check-circle-fill me-2"></i>
|
||||
{% elif message.tags == 'error' or message.tags == 'warning' %}
|
||||
<i class="bi bi-exclamation-triangle-fill me-2"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-info-circle-fill me-2"></i>
|
||||
{% endif %}
|
||||
<div>{{ message }}</div>
|
||||
</div>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="container">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
let alerts = document.querySelectorAll('.message-container .alert');
|
||||
alerts.forEach(function(alert) {
|
||||
let bsAlert = new bootstrap.Alert(alert);
|
||||
bsAlert.close();
|
||||
});
|
||||
}, 5000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,17 +3,43 @@
|
||||
{% block content %}
|
||||
<div class="row mb-4">
|
||||
<div class="col-12">
|
||||
<div class="card border-0 shadow-sm bg-light">
|
||||
<div class="card-body d-flex align-items-center p-4">
|
||||
<div class="me-4 d-none d-md-block">
|
||||
<i class="bi bi-database-fill-check text-success" style="font-size: 3rem;"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h5 class="fw-bold text-dark mb-1">Genial Daneben - Statistisches Archiv</h5>
|
||||
<p class="mb-0 text-muted">
|
||||
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.
|
||||
</p>
|
||||
<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>
|
||||
</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>
|
||||
</div>
|
||||
|
||||
<p class="text-secondary mb-3 lead" style="font-size: 1.05rem;">
|
||||
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>
|
||||
<div class="small">
|
||||
<strong class="text-uppercase">Archiv im Aufbau:</strong>
|
||||
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>
|
||||
<div style="font-size: 0.8rem;" class="text-muted">
|
||||
<strong>Externer Content:</strong> Eingebettete YouTube-Videos sind externe Verlinkungen. <br>
|
||||
Für externe Inhalte, deren Erreichbarkeit sowie die Datenverarbeitung durch Drittanbieter wird keine Gewähr übernommen.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -27,7 +53,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row g-4 mb-5">
|
||||
<div class="col-md-3">
|
||||
<div class="col-md">
|
||||
<div class="card 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>
|
||||
@@ -35,7 +61,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md">
|
||||
<div class="card 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>
|
||||
@@ -43,7 +69,15 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<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-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Ø Fragen / Folge</h6>
|
||||
<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-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Gelöste Fragen (%)</h6>
|
||||
@@ -51,8 +85,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="card border-0 shadow-sm bg-secondary text-white h-100">
|
||||
<div class="col-md">
|
||||
<div class="card border-0 shadow-sm text-white h-100" style="background-color: #6c757d;">
|
||||
<div class="card-body text-center">
|
||||
<h6 class="text-uppercase small opacity-75">Ø Lösungen / Folge</h6>
|
||||
<div class="display-5 fw-bold">{{ avg_loesungen }}</div>
|
||||
@@ -68,7 +102,7 @@
|
||||
<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">
|
||||
<a href="{% url 'team_member_detail' gast.id %}" class="text-decoration-none text-dark">{{ gast.name }}</a>
|
||||
<a href="{% url 'gd:team_member_detail' gast.id %}" class="text-decoration-none text-dark">{{ gast.name }}</a>
|
||||
<span class="badge bg-primary rounded-pill">{{ gast.teilnahmen }} Sendungen</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
@@ -136,7 +170,7 @@
|
||||
<small>{{ f.quote|floatformat:1 }}%</small>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="{% url 'folge_detail' f.id %}" class="btn btn-sm btn-outline-danger">Analyse</a>
|
||||
<a href="{% url 'gd:folge_detail' f.id %}" class="btn btn-sm btn-outline-danger">Analyse</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@@ -161,13 +195,6 @@
|
||||
<span class="badge bg-light text-muted border">Django 5.x</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-2">
|
||||
<div class="col-12 text-center text-md-start">
|
||||
<p class="text-muted" style="font-size: 0.75rem;">
|
||||
Privates Archiv-Projekt zur Dokumentation deutscher TV-Geschichte.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
@@ -1,35 +1,141 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load youtube_filters %} {# Wichtig: Deinen neuen Filter laden #}
|
||||
|
||||
{% block content %}
|
||||
<style>
|
||||
/* Definiert die maximale Höhe und das Scroll-Verhalten für die Fragen */
|
||||
.questions-scroll-area {
|
||||
max-height: 80vh; /* 80% der Bildschirmhöhe */
|
||||
overflow-y: auto;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Schönerer Scrollbar für moderne Browser */
|
||||
.questions-scroll-area::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
.questions-scroll-area::-webkit-scrollbar-track {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
.questions-scroll-area::-webkit-scrollbar-thumb {
|
||||
background: #ccc;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.questions-scroll-area::-webkit-scrollbar-thumb:hover {
|
||||
background: #999;
|
||||
}
|
||||
|
||||
/* Video-Container Hintergrund für Jellyfin */
|
||||
.bg-black {
|
||||
background-color: #000;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 mb-4 d-flex justify-content-between align-items-end">
|
||||
<div>
|
||||
<h2 class="mb-0">Folge {{ folge.folgen_nummer }}</h2>
|
||||
<p class="text-muted mb-0">Ausstrahlung am {{ folge.datum|date:"d. F Y" }} | Moderator: {{ folge.moderator }}</p>
|
||||
</div>
|
||||
<a href="{% url 'folgen_list' %}" class="btn btn-outline-secondary btn-sm">Zurück zur Liste</a>
|
||||
<a href="{% url 'gd:folgen_list' %}" class="btn btn-outline-secondary btn-sm">Zurück zur Liste</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 mb-4">
|
||||
<div class="card shadow-sm">
|
||||
|
||||
<div class="card shadow-sm mb-4">
|
||||
<div class="card-header bg-dark text-white fw-bold">Das Panel</div>
|
||||
<div class="list-group list-group-flush">
|
||||
{% for p in panel %}
|
||||
<div class="list-group-item d-flex align-items-center">
|
||||
<span class="badge bg-secondary me-3">{{ p.position }}</span>
|
||||
<a href="{% url 'team_member_detail' p.team_member.id %}" class="text-decoration-none text-dark fw-bold">
|
||||
<a href="{% url 'gd:team_member_detail' p.team_member.id %}" class="text-decoration-none text-dark fw-bold">
|
||||
{{ p.team_member.name }}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="video-section mb-4">
|
||||
{% if video_mode == 'jellyfin' %}
|
||||
{# --- INTERNE ANSICHT (Jellyfin Native Player) --- #}
|
||||
<div class="card border-primary shadow-sm">
|
||||
<div class="card-header bg-primary text-white p-2 small fw-bold text-center">Lokalarchiv (Jellyfin)</div>
|
||||
<div class="card-body p-0 bg-black">
|
||||
<div class="ratio ratio-16x9">
|
||||
<video controls preload="metadata"
|
||||
poster="{{ jellyfin_url }}/Items/{{ folge.zusatzinfo.jellyfin_item_id }}/Images/Primary"
|
||||
style="width: 100%; height: 100%;">
|
||||
<source src="{{ jellyfin_url }}/Videos/{{ folge.zusatzinfo.jellyfin_item_id }}/stream.mp4?static=true" type="video/mp4">
|
||||
Dein Browser unterstützt keine HTML5 Videos.
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% elif video_mode == 'youtube' %}
|
||||
{# --- EXTERNE ANSICHT (YouTube mit Embed-Filter) --- #}
|
||||
<div class="card border-danger shadow-sm">
|
||||
<div class="card-header bg-danger text-white p-2 small fw-bold text-center">Video (YouTube)</div>
|
||||
<div class="card-body p-0">
|
||||
<div class="ratio ratio-16x9">
|
||||
<iframe
|
||||
src="{{ folge.zusatzinfo.yt_adresse|as_embed }}"
|
||||
title="YouTube video player"
|
||||
frameborder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-light alert-dismissible fade show border-top rounded-0 rounded-bottom mb-0 py-2 ps-3 pe-5" role="alert">
|
||||
<div class="d-flex flex-column flex-sm-row justify-content-between align-items-start align-items-sm-center">
|
||||
<p class="text-muted mb-2 mb-sm-0" style="font-size: 0.75rem; line-height: 1.2;">
|
||||
<i class="bi bi-youtube text-danger me-1"></i>
|
||||
<strong>Externer Inhalt:</strong> Dieses Video wird von YouTube bereitgestellt. Für Inhalte und Erreichbarkeit wird keine Haftung übernommen.
|
||||
</p>
|
||||
|
||||
{# --- MELDE-LOGIK --- #}
|
||||
<div id="report-section">
|
||||
{% if zusatzinfo.video_defekt_gemeldet %}
|
||||
<span class="badge bg-warning text-dark small animate__animated animate__fadeIn">
|
||||
<i class="bi bi-exclamation-triangle-fill me-1"></i> Defekt bereits gemeldet
|
||||
</span>
|
||||
{% else %}
|
||||
<form action="{% url 'gd:video_melden' folge.id %}" method="post" class="d-inline">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-sm btn-outline-danger py-0 px-2 shadow-none" style="font-size: 0.7rem;">
|
||||
<i class="bi bi-flag-fill me-1"></i> Defekt melden
|
||||
</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="btn-close small" data-bs-dismiss="alert" aria-label="Schließen" style="padding: 0.75rem;"></button>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-secondary text-center small">Kein Video verfügbar.</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if folge.zusatzinfo.folgen_infos %}
|
||||
<div class="card border-info shadow-sm">
|
||||
<div class="card-header bg-info text-dark p-2 small fw-bold">Infos zur Folge</div>
|
||||
<div class="card-body small">
|
||||
{{ folge.zusatzinfo.folgen_infos|linebreaks }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-header bg-white fw-bold">Gestellte Fragen</div>
|
||||
<div class="card-body">
|
||||
<div class="card shadow-sm h-100">
|
||||
<div class="card-header bg-white fw-bold d-flex justify-content-between align-items-center">
|
||||
<span>Gestellte Fragen</span>
|
||||
<span class="badge bg-light text-muted fw-normal">{{ fragen|length }} Fragen</span>
|
||||
</div>
|
||||
<div class="card-body questions-scroll-area">
|
||||
{% for f in fragen %}
|
||||
<div class="mb-4 {% if not forloop.last %}border-bottom pb-4{% endif %}">
|
||||
<div class="d-flex justify-content-between">
|
||||
@@ -38,24 +144,24 @@
|
||||
<span class="badge bg-info text-dark" style="font-size: 0.7rem;">ZUSCHAUERFRAGE</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<p class="lead" style="font-size: 1.3rem; font-weight: bold;">{{ f.frage_text }}</p>
|
||||
<p class="lead" style="font-size: 1.25rem; font-weight: bold;">{{ f.frage_text }}</p>
|
||||
|
||||
<div class="bg-light p-3 rounded">
|
||||
<div class="bg-light p-3 rounded border-start border-success border-4">
|
||||
<strong class="text-success small d-block mb-1">ANTWORT:</strong>
|
||||
<p class="mb-0">{{ f.antwort.antwort_text }}</p>
|
||||
<p class="mb-2">{{ f.antwort.antwort_text }}</p>
|
||||
|
||||
{% if f.antwort.team.all %}
|
||||
<div class="mt-2">
|
||||
<div class="pt-2 border-top">
|
||||
<small class="text-muted">Gelöst durch:</small>
|
||||
{% for member in f.antwort.team.all %}
|
||||
<span class="badge bg-outline-success border border-success text-success fw-normal">{{ member.name }}</span>
|
||||
<span class="badge bg-white border border-success text-success fw-normal">{{ member.name }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% empty %}
|
||||
<p class="text-center text-muted">Keine Fragen zu dieser Folge vorhanden.</p>
|
||||
<p class="text-center text-muted py-5">Keine Fragen zu dieser Folge vorhanden.</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h2><i class="bi bi-tv"></i> Episodenübersicht</h2>
|
||||
<a href="{% url 'dashboard' %}" class="btn btn-outline-secondary">Zurück zum Dashboard</a>
|
||||
<a href="{% url 'gd:dashboard' %}" class="btn btn-outline-secondary">Zurück zum Dashboard</a>
|
||||
</div>
|
||||
|
||||
<ul class="nav nav-pills mb-4 shadow-sm bg-white p-2 rounded" id="pills-tab" role="tablist">
|
||||
@@ -54,7 +54,7 @@
|
||||
<span class="badge rounded-pill bg-light text-dark border">{{ f.fragen.count }}</span>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="{% url 'folge_detail' f.id %}" class="btn btn-sm btn-info text-white shadow-sm">
|
||||
<a href="{% url 'gd:folge_detail' f.id %}" class="btn btn-sm btn-info text-white shadow-sm">
|
||||
<i class="bi bi-eye"></i> Ansehen
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class="col-md-7">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb mb-2">
|
||||
<li class="breadcrumb-item"><a href="{% url 'dashboard' %}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{% url 'gd:dashboard' %}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item active">Suche</li>
|
||||
</ol>
|
||||
</nav>
|
||||
@@ -52,7 +52,7 @@
|
||||
<h4 class="mb-3"><i class="bi bi-people-fill me-2"></i>Gefundene Personen ({{ team|length }})</h4>
|
||||
<div class="d-flex flex-wrap gap-2">
|
||||
{% for person in team %}
|
||||
<a href="{% url 'team_member_detail' person.id %}" class="btn btn-white shadow-sm border">
|
||||
<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 %}
|
||||
<span class="badge bg-warning text-dark ms-1">Stamm</span>
|
||||
@@ -92,7 +92,7 @@
|
||||
<span class="badge rounded-pill bg-info text-dark ms-1" style="font-size: 0.7rem;">Zuschauerfrage</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<a href="{% url 'folge_detail' f.folge.id %}" class="btn btn-sm btn-outline-primary">
|
||||
<a href="{% url 'gd:folge_detail' f.folge.id %}" class="btn btn-sm btn-outline-primary">
|
||||
Zur Folge <i class="bi bi-arrow-right-short"></i>
|
||||
</a>
|
||||
</div>
|
||||
@@ -116,7 +116,7 @@
|
||||
<i class="bi bi-search text-muted display-1"></i>
|
||||
<h3 class="mt-3 text-muted">Keine passenden Fragen gefunden.</h3>
|
||||
<p>Versuche es mit einem anderen Begriff oder ändere den Jahresfilter.</p>
|
||||
<a href="{% url 'dashboard' %}" class="btn btn-primary mt-2">Zurück zum Dashboard</a>
|
||||
<a href="{% url 'gd:dashboard' %}" class="btn btn-primary mt-2">Zurück zum Dashboard</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<span class="badge bg-light text-muted mb-2">Gast</span>
|
||||
{% endif %}
|
||||
<div class="mt-2">
|
||||
<a href="{% url 'team_member_detail' member.id %}" class="btn btn-sm btn-outline-primary">
|
||||
<a href="{% url 'gd:team_member_detail' member.id %}" class="btn btn-sm btn-outline-primary">
|
||||
Statistiken zeigen
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
<div class="list-group list-group-flush shadow-inset" style="max-height: 500px; overflow-y: auto;">
|
||||
{% for a in auftritte %}
|
||||
<a href="{% url 'folge_detail' a.folge.id %}" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center py-3">
|
||||
<a href="{% url 'gd:folge_detail' a.folge.id %}" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center py-3">
|
||||
<div>
|
||||
<strong class="text-primary">#{{ a.folge.folgen_nummer }}</strong>
|
||||
<small class="text-muted ms-2">{{ a.folge.datum|date:"d.m.Y" }}</small>
|
||||
@@ -99,7 +99,7 @@
|
||||
{% for ant in a.meine_loesungen %}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{% url 'folge_detail' a.folge.id %}" class="btn btn-sm btn-light border fw-bold text-primary w-100">
|
||||
<a href="{% url 'gd:folge_detail' a.folge.id %}" class="btn btn-sm btn-light border fw-bold text-primary w-100">
|
||||
#{{ a.folge.folgen_nummer }}
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}Genial Daneben Archiv{% endblock %}</title>
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css">
|
||||
|
||||
{% load static %}
|
||||
<link rel="stylesheet" href="{% static 'gd/css/studio_2005.css' %}">
|
||||
|
||||
<style>
|
||||
/* Spezifische Korrekturen für das 2005er Layout */
|
||||
.navbar-custom {
|
||||
background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 100%);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.navbar-brand-gd {
|
||||
font-family: 'Arial Black', Gadget, sans-serif;
|
||||
font-size: 1.8rem;
|
||||
color: #D20804 !important; /* Dein analysiertes Rot */
|
||||
text-shadow: 2px 2px 0px #DA6B21; /* Dein analysiertes Orange */
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
.nav-link-gd {
|
||||
color: white !important;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
margin: 0 10px;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.nav-link-gd:hover {
|
||||
color: #DA6B21 !important;
|
||||
}
|
||||
</style>
|
||||
{% block extra_css %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-dark navbar-custom mb-4">
|
||||
<div class="container">
|
||||
<a class="navbar-brand-gd" href="{% url 'dashboard' %}">GENIAL DANEBEN</a>
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav me-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link nav-link-gd" href="{% url 'folgen_list' %}">Folgen</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link nav-link-gd" href="{% url 'team_list' %}">Personen</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<form class="d-flex" action="{% url 'search' %}" method="get">
|
||||
<input class="form-control me-2 border-0 rounded-pill shadow-sm"
|
||||
type="search" name="q" placeholder="Frage suchen..." required>
|
||||
<button class="btn btn-gd-orange" type="submit">GO!</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="container">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="mt-5 py-4 text-center border-top border-warning-subtle">
|
||||
<div class="container text-muted small">
|
||||
<p>© 2026 <strong>Genial Daneben Statistik-Zentrale</strong></p>
|
||||
<p>Ein Projekt im Geiste von 2005</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
{% block extra_js %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user