Report: Lagebericht kompakter — Limits für Faktencheck/Quellen/Quellenverzeichnis

- Lagebild auf ~4000 Zeichen gekürzt (scope=report), Hinweis auf Vollständigen Bericht
- Faktencheck: Top 20 im Lagebericht (alle im Vollständigen)
- Quellenstatistik: Top 20 im Lagebericht
- Quellenverzeichnis: Top 30 im Lagebericht, URLs kleiner (7pt) mit word-break
- Quellenreferenzen [1234] aus Text entfernt
- Sektionsreihenfolge: Exec Summary -> Faktencheck -> Quellenstatistik -> Lagebild
- Lagebericht jetzt ~8-10 Seiten statt 196
Dieser Commit ist enthalten in:
Claude Dev
2026-03-25 02:05:29 +01:00
Ursprung a1c50cfd96
Commit 77c89aa13a
2 geänderte Dateien mit 90 neuen und 30 gelöschten Zeilen

Datei anzeigen

@@ -47,6 +47,7 @@ body { font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-se
/* Tabellen */
table { width: 100%; border-collapse: collapse; font-size: 9.5pt; margin-bottom: 14px; }
.quellen-table { table-layout: fixed; font-size: 8pt; }
th { background: #0a1832; color: #fff; text-align: left; padding: 6px 10px; font-weight: 600; font-size: 8.5pt; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 5px 10px; border-bottom: 1px solid #e0e0e0; }
tr:nth-child(even) { background: #f8f9fa; }
@@ -64,7 +65,7 @@ tr:nth-child(even) { background: #f8f9fa; }
.tl-source { font-size: 8pt; color: #aaa; }
/* Quellenverzeichnis */
.source-ref { font-size: 9pt; color: #666; }
.source-ref { font-size: 7pt; color: #666; word-break: break-all; max-width: 350px; overflow: hidden; text-overflow: ellipsis; }
/* Footer */
.report-footer { margin-top: 30px; padding-top: 10px; border-top: 1px solid #ddd; font-size: 8pt; color: #999; text-align: center; }
@@ -98,28 +99,6 @@ tr:nth-child(even) { background: #f8f9fa; }
</div>
{% if scope in ('report', 'full') %}
<!-- Lagebild -->
<div class="section">
<h2>Lagebild</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>
<table>
<thead><tr><th>#</th><th>Quelle</th><th>URL</th></tr></thead>
<tbody>
{% for src in sources %}
<tr><td>{{ loop.index }}</td><td>{{ src.name or src.title or '' }}</td><td class="source-ref">{{ src.url or '' }}</td></tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
<!-- Faktencheck -->
{% if fact_checks %}
<div class="section">
@@ -152,6 +131,28 @@ tr:nth-child(even) { background: #f8f9fa; }
</tbody>
</table>
</div>
<!-- Lagebild -->
<div class="section">
<h2>Lagebild</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>
<table class="quellen-table">
<thead><tr><th style="width:30px">#</th><th style="width:120px">Quelle</th><th>URL</th></tr></thead>
<tbody>
{% for src in sources %}
<tr><td style="font-size:8pt">{{ loop.index }}</td><td style="font-size:8pt">{{ src.name or src.title or '' }}</td><td style="font-size:7pt;color:#666;word-break:break-all;line-height:1.3">{{ src.url or '' }}</td></tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
{% endif %}
{% endif %}