aboutsummaryrefslogtreecommitdiff
path: root/backend/templates
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-12-22 18:21:32 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2025-12-22 18:21:32 +0100
commit9bba6dcbb2e83fe53604d38b89fb79ce47eacddd (patch)
treeaf9255379cc0dd5a34757f9990f5f8805ed5373d /backend/templates
parent84af6427d8205b1882b9f9df11ce394f96d6b792 (diff)
feat(backend): track page load without referer
Diffstat (limited to 'backend/templates')
-rw-r--r--backend/templates/admin.html18
1 files changed, 18 insertions, 0 deletions
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 @@
</div>
<article>
<h2>Stats</h2>
+ <h3>Visits</h3>
+ <table>
+ <thead>
+ <tr>
+ <th>Target</th>
+ <th>Visits</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{ range .Visits }}
+ <tr>
+ <td>{{ .Target }}</td>
+ <td>{{ .Visit }}</td>
+ </tr>
+ {{ end }}
+ </tbody>
+ </table>
+ <h3>Origin</h3>
<table>
<thead>
<tr>