user verwaltung
Build und Push Docker Image / build-and-push (push) Successful in 7s

This commit is contained in:
2026-11-05 13:00:31 +01:00
parent ad2019c9aa
commit 8713a8c25d
18 changed files with 708 additions and 91 deletions
+41
View File
@@ -0,0 +1,41 @@
{% extends "base.html" %}
{% block content %}
<div class="top-actions">
<a class="big-btn small neutral" href="{{ url_for('benutzer_verwaltung') }}">&#8592; Zur&uuml;ck zur Benutzerverwaltung</a>
<form method="post" action="{{ url_for('logout') }}">
<button type="submit" class="big-btn small neutral">&#128274; Abmelden</button>
</form>
</div>
{% if not eintraege %}
<div class="empty-state">Noch keine Eintr&auml;ge.</div>
{% else %}
<div class="list-meta">{{ eintraege|length }} Eintr&auml;ge (neueste zuerst, max. 500)</div>
<div class="table-wrap">
<table class="data-table tablet-table">
<thead>
<tr><th>Zeit</th><th>Von</th><th>Aktion</th><th>Details</th></tr>
</thead>
<tbody>
{% for e in eintraege %}
<tr>
<td><time data-ts="{{ e.zeitpunkt }}" title="{{ e.zeit_utc }}">{{ e.zeit_utc }}</time></td>
<td>{{ e.akteur or '–' }}</td>
<td>{{ e.aktion }}</td>
<td>{{ e.details or '' }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
<script>
(function () {
function z2(n) { return (n < 10 ? '0' : '') + n; }
var els = document.querySelectorAll('time[data-ts]');
for (var i = 0; i < els.length; i++) {
var d = new Date(parseInt(els[i].getAttribute('data-ts'), 10) * 1000);
els[i].textContent = z2(d.getDate()) + '.' + z2(d.getMonth() + 1) + '.' + d.getFullYear() + ' ' + z2(d.getHours()) + ':' + z2(d.getMinutes()) + ':' + z2(d.getSeconds());
}
})();
</script>
{% endblock %}