Export: Zusammenfassung-Sektion, Checkbox-Auswahl, neue Reihenfolge

Research-Briefings:
- Neue Sektion ZUSAMMENFASSUNG mit Bullet-Points als erstes Element
- UEBERBLICK entfernt, durch ZUSAMMENFASSUNG ersetzt
- Inkrementelles Briefing ebenfalls angepasst

Export-System:
- Zusammenfassung wird direkt aus dem Bericht extrahiert (kein
  separater KI-Aufruf mehr fuer Research-Lagen)
- Reihenfolge: Zusammenfassung > Recherchebericht > Faktencheck > Quellen > Timeline
- Sections-basiert statt scope-basiert (rueckwaertskompatibel)
- Checkbox-Dialog statt Radio-Buttons im Frontend
- Bereiche: Zusammenfassung, Recherchebericht, Faktencheck, Quellen, Timeline, Karte
- PDF und DOCX Templates angepasst
- Backend akzeptiert sections-Parameter (kommagetrennt)
Dieser Commit ist enthalten in:
claude-dev
2026-04-11 20:56:04 +00:00
Ursprung 89cc920bdc
Commit fa12d4cfd6
7 geänderte Dateien mit 188 neuen und 66 gelöschten Zeilen

Datei anzeigen

@@ -78,17 +78,27 @@ tr:nth-child(even) { background: #f8f9fa; }
</div>
<!-- Executive Summary -->
<!-- Zusammenfassung / Executive Summary -->
{% if 'zusammenfassung' in sections %}
<div class="section">
<h2>Executive Summary</h2>
<h2>{{ zusammenfassung_title }}</h2>
<div class="exec-summary">
{{ executive_summary | safe }}
</div>
</div>
{% endif %}
<!-- Recherchebericht / Lagebild -->
{% if 'bericht' in sections %}
<div class="section">
<h2>{% if incident.type == "research" %}Recherchebericht{% else %}Lagebild{% endif %}</h2>
{% if lagebild_timestamp %}<p style="font-size:9pt;color:#888;margin-bottom:10px;">Aktualisiert: {{ lagebild_timestamp }}</p>{% endif %}
<div class="lagebild-content">{{ lagebild_html | safe }}</div>
</div>
{% endif %}
{% if scope in ('report', 'full') %}
<!-- Faktencheck -->
{% if fact_checks %}
{% if 'faktencheck' in sections and fact_checks %}
<div class="section">
<h2>Faktencheck</h2>
<table>
@@ -106,10 +116,12 @@ tr:nth-child(even) { background: #f8f9fa; }
</div>
{% endif %}
<!-- Quellenstatistik -->
{% if source_stats %}
<!-- Quellenverzeichnis -->
{% if 'quellen' in sections and sources %}
<div class="section">
<h2>Quellenstatistik</h2>
<h2>Quellenverzeichnis</h2>
{% if source_stats %}
<h3>Quellenstatistik</h3>
<table>
<thead><tr><th>Quelle</th><th>Artikel</th><th>Sprache</th></tr></thead>
<tbody>
@@ -118,18 +130,8 @@ tr:nth-child(even) { background: #f8f9fa; }
{% endfor %}
</tbody>
</table>
</div>
<!-- Lagebild -->
<div class="section">
<h2>{% if incident.type == "research" %}Recherchebericht{% else %}Lagebild{% endif %}</h2>
{% if lagebild_timestamp %}<p style="font-size:9pt;color:#888;margin-bottom:10px;">Aktualisiert: {{ lagebild_timestamp }}</p>{% endif %}
<div class="lagebild-content">{{ lagebild_html | safe }}</div>
</div>
<!-- Quellenverzeichnis -->
{% if sources %}
<div class="section">
<h2>Quellenverzeichnis</h2>
{% endif %}
<h3>Quellen</h3>
<table class="quellen-table">
<thead><tr><th style="width:30px">#</th><th style="width:120px">Quelle</th><th>URL</th></tr></thead>
<tbody>
@@ -141,12 +143,8 @@ tr:nth-child(even) { background: #f8f9fa; }
</div>
{% endif %}
{% endif %}
{% endif %}
{% if scope == 'full' %}
<!-- Timeline -->
{% if timeline %}
{% if 'timeline' in sections and timeline %}
<div class="section" style="page-break-before:always;">
<h2>Ereignis-Timeline</h2>
{% for event in timeline %}
@@ -160,7 +158,7 @@ tr:nth-child(even) { background: #f8f9fa; }
{% endif %}
<!-- Artikelverzeichnis -->
{% if articles %}
{% if 'timeline' in sections and articles %}
<div class="section" style="page-break-before:always;">
<h2>Artikelverzeichnis ({{ articles | length }} Artikel)</h2>
<table>
@@ -178,7 +176,6 @@ tr:nth-child(even) { background: #f8f9fa; }
</table>
</div>
{% endif %}
{% endif %}
<div class="report-footer">
Erstellt mit AegisSight Monitor &mdash; aegis-sight.de &mdash; {{ report_date }}