update for log files viewer

This commit is contained in:
2026-02-14 11:25:08 +01:00
parent e5d5d74523
commit 8ddeb0a1f8
18 changed files with 43 additions and 12 deletions
+6 -3
View File
@@ -4,7 +4,8 @@
{% block content %}
<div class="container my-5">
<h1>Logs {{ date }}. {{ today[:4] }}-{{ today[5:] }}</h1>
<h1>Logs {{ date }}. {{ today }}</h1>
<div class="mb-4">
<label for="date-select" class="form-label">Tag auswählen:</label>
@@ -15,8 +16,10 @@
</select>
</div>
<pre class="bg-dark text-light p-4 rounded" style="max-height: 70vh; overflow-y: auto; font-size: 0.95rem; white-space: pre-wrap;">
{{ logs | safe }}
<pre class="bg-dark text-light p-4 rounded" style="max-height: 70vh; overflow-y: auto; font-size: 0.95rem;">
<code class="language-log">
{{ logs | safe }}
</code>
</pre>
<a href="{{ url_for('admin') }}" class="btn btn-secondary mt-3">Zurück zum Admin</a>