Kein fertiger Stand, sondern ein Zwischenstand: Hier wurde im September 2026 angefangen, die App auf „Kurbeler" umzubenennen — Wortmarke, Icons, brand.ts, Benachrichtigungen, das Benutzerverzeichnis. Weitergegangen ist es dann im eigenen Repo `~/Dokumente/Projekte/kurbeler`, das die vollständige Historie dieses Repos mitgenommen hat. Committet wird das hier nicht, weil es gebraucht würde, sondern damit es nicht als Haufen unversionierter Dateien im Arbeitsverzeichnis verrottet. Wer in zwei Jahren nachsieht, findet so eine Geschichte statt eines Rätsels — und das Stammtisch-Wappen, das nur hier je existiert hat. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LTw6xVYgjMy9AQtfs1Gdyu
94 lines
4.7 KiB
HTML
94 lines
4.7 KiB
HTML
<!doctype html>
|
|
<!--
|
|
Die Tageszusammenfassung — eine Mail statt zwanzig.
|
|
|
|
Gerendert mit $template.loadFiles(...).render(data), also Go's
|
|
html/template. {{ }} wird dabei escaped; Kommentartexte und Trailnamen
|
|
kommen aus der Datenbank und dürfen hier kein Markup einschleusen.
|
|
|
|
Tabellen und Inline-Styles aus demselben Grund wie in invite.html:
|
|
Mailprogramme lesen kein CSS aus dem <head> und Outlook rendert mit Word.
|
|
|
|
Erwartete Daten:
|
|
.App Name der Anwendung
|
|
.Name Anrede
|
|
.Count Wie viele Einträge insgesamt
|
|
.Groups [{ Label, Items: [{ Title, Body, Link }] }]
|
|
.SettingsLink Direkt zu den Benachrichtigungs-Einstellungen
|
|
-->
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{.App}} — Zusammenfassung</title>
|
|
</head>
|
|
<body style="margin:0; padding:0; background:#f4f4f5; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
|
|
<div style="display:none; max-height:0; overflow:hidden; opacity:0;">
|
|
{{.Count}} Neuigkeiten aus deinen Teams.
|
|
</div>
|
|
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f4f5; padding:32px 16px;">
|
|
<tr>
|
|
<td align="center">
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0"
|
|
style="max-width:560px; background:#ffffff; border-radius:12px; overflow:hidden;">
|
|
<tr>
|
|
<td style="padding:32px 32px 0 32px;">
|
|
<p style="margin:0 0 4px 0; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color:#a1a1aa;">
|
|
{{.App}}
|
|
</p>
|
|
<h1 style="margin:0 0 8px 0; font-size:22px; line-height:1.3; color:#18181b;">
|
|
Was seit gestern passiert ist
|
|
</h1>
|
|
<p style="margin:0; font-size:15px; color:#71717a;">
|
|
Hallo {{.Name}} — {{.Count}} Neuigkeit{{if ne .Count 1}}en{{end}}.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
|
|
{{range .Groups}}
|
|
<tr>
|
|
<td style="padding:28px 32px 0 32px;">
|
|
<p style="margin:0 0 12px 0; font-size:12px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:#a1a1aa;">
|
|
{{.Label}}
|
|
</p>
|
|
|
|
{{range .Items}}
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0"
|
|
style="margin:0 0 10px 0; border-left:3px solid #eab308; background:#fafafa; border-radius:0 8px 8px 0;">
|
|
<tr>
|
|
<td style="padding:12px 14px;">
|
|
<p style="margin:0; font-size:15px; font-weight:600; color:#18181b;">
|
|
{{if .Link}}<a href="{{.Link}}" style="color:#18181b; text-decoration:none;">{{.Title}}</a>{{else}}{{.Title}}{{end}}
|
|
</p>
|
|
{{if .Body}}
|
|
<p style="margin:4px 0 0 0; font-size:14px; line-height:1.5; color:#71717a;">
|
|
{{.Body}}
|
|
</p>
|
|
{{end}}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{{end}}
|
|
</td>
|
|
</tr>
|
|
{{end}}
|
|
|
|
<tr>
|
|
<td style="padding:28px 32px 32px 32px;">
|
|
<hr style="border:0; border-top:1px solid #e4e4e7; margin:0 0 16px 0;">
|
|
<p style="margin:0; font-size:13px; line-height:1.6; color:#a1a1aa;">
|
|
Zu viel oder zu wenig? Unter
|
|
<a href="{{.SettingsLink}}" style="color:#71717a;">Einstellungen → Benachrichtigungen</a>
|
|
stellst du ein, worüber diese Mail berichtet — oder schaltest sie ganz ab.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p style="margin:16px 0 0 0; font-size:12px; color:#a1a1aa;">{{.App}}</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|