added admin functions

This commit is contained in:
2026-02-11 19:35:42 +01:00
parent aa5b835e44
commit 0a63ceca7f
4 changed files with 227 additions and 17 deletions
+17
View File
@@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block title %}Logs MK Control{% endblock %}
{% block content %}
<div class="container my-5">
<h1>Log-Datei (app.log)</h1>
<pre class="bg-dark text-light p-4 rounded" style="max-height: 70vh; overflow-y: auto; font-size: 0.9rem;">
{{ logs | safe }}
</pre>
<div class="mt-4">
<a href="{{ url_for('admin') }}" class="btn btn-secondary">Zurück zum Admin</a>
</div>
</div>
{% endblock %}