mkcontrol-app/templates/admin_logs.html

27 lines
888 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "base.html" %}
{% block title %}Logs {{ date }}. {{ today[:4] }}-{{ today[5:] }}{% endblock %}
{% block content %}
<div class="container my-5">
<h1>Logs {{ date }}. {{ today }}</h1>
<div class="mb-4">
<label for="date-select" class="form-label">Tag auswählen:</label>
<select id="date-select" class="form-select w-auto d-inline-block" onchange="window.location.href='/admin/logs/' + this.value">
{% for d in dates %}
<option value="{{ d }}" {% if d == date %}selected{% endif %}>{{ d }}.</option>
{% endfor %}
</select>
</div>
<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>
</div>
{% endblock %}