diff --git a/templates/admin.html b/templates/admin.html index fdfd3a2..af7b06f 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -21,10 +21,13 @@
-
+

Guestbook Admin

- {{ current_user.username }} · {{ total }} entries + {{ current_user.username }} + {% if current_user.role != 'viewer' %} + Export CSV + {% endif %} {% if current_user.role == 'superadmin' %} Manage Users {% endif %} @@ -32,6 +35,13 @@
+
+ {{ stats.total }} total + {{ stats.week }} this week + {{ stats.month }} this month + {{ stats.newsletter_count }} newsletter ({{ stats.newsletter_pct }}%) +
+
{% for g in guests %}