Logo-Upload: Magic-Bytes-Pruefung (PNG/JPEG/WebP), dynamischer Dateiname

This commit is contained in:
Erik Thiele
2026-07-02 15:16:29 +02:00
parent 69a108e5b3
commit 93bf843903
2 changed files with 30 additions and 9 deletions

View File

@@ -84,7 +84,7 @@
<div class="mb-3">
{% if config.logo %}
<div class="mb-2">
<img src="{{ url_for('static', filename='logo.png') }}" style="max-height:80px;max-width:240px" class="border rounded p-1">
<img src="{{ url_for('static', filename=config.logo) }}" style="max-height:80px;max-width:240px" class="border rounded p-1">
</div>
<button type="button" class="btn btn-outline-danger btn-sm mb-2" onclick="deleteLogo()">
<i class="ti ti-trash me-1"></i>Logo entfernen