weircon-front: SSO-portal til weircon.dk (Authentik-login, app-dashboard, admin, favoritter, tema, palette)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
agw
2026-06-11 20:00:00 +02:00
co-authored by Claude Opus 4.8
commit 74c8d9f500
16 changed files with 983 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{% extends "base.html" %}
{% block title %}Admin — statistik{% endblock %}
{% block body %}
<h1>Statistik</h1>
<p class="lead">Hurtigt overblik fra Matomo (sidste 7 dage).</p>
{% if stats %}
<div class="grid" style="margin-top:1.5rem">
<div class="stat"><div class="n">{{ stats.visits_7d }}</div><div class="muted">besøg (7 dage)</div></div>
<div class="stat"><div class="n">{{ stats.actions_7d }}</div><div class="muted">handlinger (7 dage)</div></div>
</div>
<p style="margin-top:1.5rem"><a class="btn secondary" href="{{ matomo }}">Åbn Matomo →</a></p>
{% else %}
<div class="err">Kunne ikke hente data fra Matomo (mangler token eller forbindelse).</div>
{% endif %}
{% endblock %}