Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
695 B
HTML
16 lines
695 B
HTML
{% 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 %}
|