diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-22 15:07:55 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-22 15:07:55 +0100 |
| commit | 84af6427d8205b1882b9f9df11ce394f96d6b792 (patch) | |
| tree | ae51188d67616069300afd6a19300ff7ed23e7d3 /backend/templates/admin.html | |
| parent | 93c4f9047426f9f56940ed2b733dcde2d98b0c0e (diff) | |
feat(backend): admin dashboard
Diffstat (limited to 'backend/templates/admin.html')
| -rw-r--r-- | backend/templates/admin.html | 33 |
1 files changed, 33 insertions, 0 deletions
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"}} +<main id="content"> + <div class="introduction"> + <h1>Administration</h1> + <p> + Panel d'administration très simple. Il affiche les stats et possiblement les webmentions et autre contenu à + modérer. + </p> + </div> + <article> + <h2>Stats</h2> + <table> + <thead> + <tr> + <th>Origin</th> + <th>Target</th> + <th>Visits</th> + </tr> + </thead> + <tbody> + {{ range .Rows }} + <tr> + <td>{{ .Origin }}</td> + <td>{{ .Target }}</td> + <td>{{ .Visit }}</td> + </tr> + {{ end }} + </tbody> + </table> + <div class="pagination">{{ template "pagination" . }}</div> + </article> +</main> +{{end}} |
