Export: Alle verbleibenden Grautöne auf Navy #0a1832 für Drucklesbarkeit

- PDF: Seitenzahlen, Timeline-Datum/-Quelle, Report-Footer, Lagebild-Timestamp
- DOCX: Dokument-Footer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
claude-dev
2026-04-12 01:17:57 +00:00
Ursprung 048c347616
Commit 3379151fa7
2 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen

Datei anzeigen

@@ -553,7 +553,7 @@ async def generate_docx(
footer.alignment = WD_ALIGN_PARAGRAPH.CENTER footer.alignment = WD_ALIGN_PARAGRAPH.CENTER
run = footer.add_run(f"Erstellt mit AegisSight Monitor — aegis-sight.de — {now.strftime('%d.%m.%Y')}") run = footer.add_run(f"Erstellt mit AegisSight Monitor — aegis-sight.de — {now.strftime('%d.%m.%Y')}")
run.font.size = Pt(8) run.font.size = Pt(8)
run.font.color.rgb = RGBColor(0x99, 0x99, 0x99) run.font.color.rgb = RGBColor(0x0a, 0x18, 0x32)
buf = io.BytesIO() buf = io.BytesIO()
doc.save(buf) doc.save(buf)

Datei anzeigen

@@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<style> <style>
@page { margin: 20mm 18mm 20mm 18mm; size: A4; @bottom-center { content: "Seite " counter(page) " von " counter(pages); font-size: 8pt; color: #888; } } @page { margin: 20mm 18mm 20mm 18mm; size: A4; @bottom-center { content: "Seite " counter(page) " von " counter(pages); font-size: 8pt; color: #0a1832; } }
* { box-sizing: border-box; margin: 0; padding: 0; } * { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 10.5pt; line-height: 1.55; color: #1a1a1a; } body { font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 10.5pt; line-height: 1.55; color: #1a1a1a; }
@@ -58,15 +58,15 @@ tr:nth-child(even) { background: #f8f9fa; }
/* Timeline */ /* Timeline */
.tl-item { padding: 4px 0; border-left: 2px solid #c8a851; padding-left: 12px; margin-bottom: 6px; } .tl-item { padding: 4px 0; border-left: 2px solid #c8a851; padding-left: 12px; margin-bottom: 6px; }
.tl-date { font-size: 8.5pt; color: #888; } .tl-date { font-size: 8.5pt; color: #0a1832; }
.tl-title { font-size: 10pt; } .tl-title { font-size: 10pt; }
.tl-source { font-size: 8pt; color: #aaa; } .tl-source { font-size: 8pt; color: #0a1832; }
/* Quellenverzeichnis */ /* Quellenverzeichnis */
.source-ref { font-size: 7pt; color: #666; word-break: break-all; max-width: 350px; overflow: hidden; text-overflow: ellipsis; } .source-ref { font-size: 7pt; color: #666; word-break: break-all; max-width: 350px; overflow: hidden; text-overflow: ellipsis; }
/* Footer */ /* Footer */
.report-footer { margin-top: 30px; padding-top: 10px; border-top: 1px solid #ddd; font-size: 8pt; color: #999; text-align: center; } .report-footer { margin-top: 30px; padding-top: 10px; border-top: 1px solid #ddd; font-size: 8pt; color: #0a1832; text-align: center; }
</style> </style>
</head> </head>
<body> <body>
@@ -110,7 +110,7 @@ tr:nth-child(even) { background: #f8f9fa; }
{% if 'bericht' in sections %} {% if 'bericht' in sections %}
<div class="section" id="sec-bericht"> <div class="section" id="sec-bericht">
<h2>{% if incident.type == "research" %}Recherchebericht{% else %}Lagebild{% endif %}</h2> <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 %} {% if lagebild_timestamp %}<p style="font-size:9pt;color:#0a1832;margin-bottom:10px;">Aktualisiert: {{ lagebild_timestamp }}</p>{% endif %}
<div class="lagebild-content">{{ lagebild_html | safe }}</div> <div class="lagebild-content">{{ lagebild_html | safe }}</div>
</div> </div>
{% endif %} {% endif %}