aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/list/show.tmpl')
-rw-r--r--web/templates/list/show.tmpl35
1 files changed, 35 insertions, 0 deletions
diff --git a/web/templates/list/show.tmpl b/web/templates/list/show.tmpl
new file mode 100644
index 0000000..40b01ef
--- /dev/null
+++ b/web/templates/list/show.tmpl
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="en">
+{{template "head"}}
+<body>
+{{template "header" .ListName}}
+
+<div class="container mb-5">
+ <div class="row">
+ <div class="col-12 pb-4">
+ <h1 class="first-header">Gentoo Archives: {{.ListName}}</h1>
+
+ <table class="table">
+ <tr>
+ <th>Month</th>
+ <th>Number of messages</th>
+ </tr>
+
+ {{range .MessageData}}
+ <tr>
+ <td><a href="threads/{{.CombinedDate}}/">{{.CombinedDate}}</a></td>
+ <td>{{.MessageCount}}</td>
+ </tr>
+ {{end}}
+
+ </table>
+
+ </div>
+ </div>
+</div>
+
+
+{{template "footer"}}
+
+</body>
+</html>