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
51
52
53
54
55
56
57
58
59
60
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>mailweb ({{account}}) — forge</title>
<link rel="alternate" type="text/llm" href="/forge"
title="Compact plain-text rendering for machine consumption">
<style>
:root {
color-scheme: light dark;
--bg: #f5f5f5;
--bg-card: #ffffff;
--border: #dddddd;
--text: #111111;
--text-meta: #666666;
--link: #3781b8;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #1a1a1a;
--bg-card: #242424;
--border: #3a3a3a;
--text: #e8e8e8;
--text-meta: #999999;
--link: #7ab3e0;
}
}
body { font-family: sans-serif; margin: 0; padding: 1rem;
background: var(--bg); color: var(--text); }
h1 { font-size: 1.2rem; margin-bottom: 1rem; }
table { border-collapse: collapse; width: 100%; background: var(--bg-card);
border: 1px solid var(--border); border-radius: 4px; }
th { text-align: left; padding: 0.5rem 0.75rem;
border-bottom: 1px solid var(--border); color: var(--text-meta);
font-size: 0.85rem; font-weight: normal; }
td { padding: 0.4rem 0.75rem; border-bottom: 1px solid var(--border);
font-size: 0.9rem; }
tr:last-child td { border-bottom: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.meta { color: var(--text-meta); font-size: 0.85rem; }
nav { margin-bottom: 1rem; }
</style>
</head>
<body>
<nav><a href="/">← inbox</a> ·
<a href="{{.LLMViewURL}}" title="Compact plain-text rendering of this page">text view →</a></nav>
<h1>Forge notifications — {{len .Repos}} repos</h1>
<table>
<tr><th>Repository</th><th>Last activity</th><th>Messages</th></tr>
{{range .Repos}}
<tr>
<td><a href="/forge/{{.RepoEscaped}}">{{.Repo}}</a></td>
<td class="meta">{{.LastSeen.Format "Mon, 02 Jan 2006 15:04"}}</td>
<td class="meta">{{.Count}}</td>
</tr>
{{end}}
</table>
</body>
</html>
|