blob: fff6a53811ea38cb31f491dc2169c91dcee1ae61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<!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}} in {{.Date}}</h1>
<div class="d-none d-sm-block">
{{template "pagination" . }}
</div>
<div class="btn-group ag-view-selection" role="group" aria-label="Message view selection">
<a href="/{{.ListName}}/threads/{{.Date}}/" class="btn btn-outline-secondary">Threads</a>
<a href="/{{.ListName}}/messages/{{.Date}}/" class="btn btn-primary">Messages</a>
</div>
<div class="table-responsive">
<table class="table table-sm table-hover ag-message-table">
<tr>
<th class="ag-message-table-subject">Subject</th>
<th class="ag-message-table-from">From</th>
<th class="ag-message-table-date">Date</th>
</tr>
{{range .Messages}}
<tr>
<td><a href="../../message/{{.Id}}">{{.Subject}}</a></td>
<td>{{.GetAuthorName}}</td>
<td><span class="ag-date">{{.Date.Format "Mon, 2 Jan 2006 15:04:05"}}</span></td>
</tr>
{{end}}
</table>
</div>
{{template "pagination" . }}
</div>
</div>
</div>
{{template "footer"}}
</body>
</html>
|