aboutsummaryrefslogtreecommitdiff
path: root/backend/templates/admin.html
diff options
context:
space:
mode:
Diffstat (limited to 'backend/templates/admin.html')
-rw-r--r--backend/templates/admin.html102
1 files changed, 51 insertions, 51 deletions
diff --git a/backend/templates/admin.html b/backend/templates/admin.html
index 008827f..c4c83c5 100644
--- a/backend/templates/admin.html
+++ b/backend/templates/admin.html
@@ -1,51 +1,51 @@
-{{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>
- <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>
- <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}}
+{{ 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>
+ <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>
+ <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 }}