From 84af6427d8205b1882b9f9df11ce394f96d6b792 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 22 Dec 2025 15:07:55 +0100 Subject: feat(backend): admin dashboard --- backend/templates/admin.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 backend/templates/admin.html (limited to 'backend/templates/admin.html') diff --git a/backend/templates/admin.html b/backend/templates/admin.html new file mode 100644 index 0000000..41addc9 --- /dev/null +++ b/backend/templates/admin.html @@ -0,0 +1,33 @@ +{{define "body"}} +
+
+

Administration

+

+ Panel d'administration très simple. Il affiche les stats et possiblement les webmentions et autre contenu à + modérer. +

+
+
+

Stats

+ + + + + + + + + + {{ range .Rows }} + + + + + + {{ end }} + +
OriginTargetVisits
{{ .Origin }}{{ .Target }}{{ .Visit }}
+ +
+
+{{end}} -- cgit v1.2.3 From 9bba6dcbb2e83fe53604d38b89fb79ce47eacddd Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 22 Dec 2025 18:21:32 +0100 Subject: feat(backend): track page load without referer --- backend/templates/admin.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'backend/templates/admin.html') diff --git a/backend/templates/admin.html b/backend/templates/admin.html index 41addc9..008827f 100644 --- a/backend/templates/admin.html +++ b/backend/templates/admin.html @@ -9,6 +9,24 @@

Stats

+

Visits

+ + + + + + + + + {{ range .Visits }} + + + + + {{ end }} + +
TargetVisits
{{ .Target }}{{ .Visit }}
+

Origin

-- cgit v1.2.3