Files
Faktenkompass/templates/claims/search.html
T
Pirmin Hinderling (fedora) db3558872e Faktenkompass: UI-Rebrand, Admin-Assistent und Produktions-Setup.
Modernisiert die öffentliche Oberfläche mit Inter, Dark Mode und Live-Suche, ergänzt KI-gestützte Entwürfe im Admin mit Nachweis-Uploads und dokumentiert Daphne/Nginx für den Serverbetrieb.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 15:33:58 +02:00

35 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Suche Faktenkompass{% endblock %}
{% block content %}
<h1 class="fk-page-title">Suche</h1>
<form method="get" action="{% url 'claims:search' %}" class="row g-2 mb-4" data-live-search data-live-target="#search-results">
<div class="col-12">
<input type="search" id="q" name="q" class="form-control form-control-sm"
placeholder="Behauptung suchen…" value="{{ query }}" autofocus autocomplete="off">
</div>
<div class="col-6">
<select id="kategorie" name="kategorie" class="form-select form-select-sm">
<option value="">Alle Themen</option>
{% for cat in categories %}
<option value="{{ cat.slug }}"{% if category_slug == cat.slug %} selected{% endif %}>{{ cat.name }}</option>
{% endfor %}
</select>
</div>
<div class="col-6">
<select id="status" name="status" class="form-select form-select-sm">
<option value="">Alle Status</option>
{% for value, label in status_choices %}
<option value="{{ value }}"{% if status == value %} selected{% endif %}>{{ label }}</option>
{% endfor %}
</select>
</div>
</form>
<div id="search-results">
{% include "claims/partials/search_results.html" %}
</div>
{% endblock %}