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:
@@ -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 %}
|
||||
Reference in New Issue
Block a user