d7c0cf89d3
One theme (the PWA's dark palette) for dash/history/trace/notifications/ tools/passkey via static/ui.css; shared nav template with active-page highlight; tables wrapped in .scroll so they pan on phones; PWA nav no longer clips the RU/EN toggle; dash 'updated' timestamp fixed (selector matched nothing). AGENTS.md documents the local preview/screenshot recipe. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ASstMtsZWLSRcD1Tq8T68Q
18 lines
697 B
HTML
18 lines
697 B
HTML
<!doctype html><meta charset=utf-8>
|
|
<meta name=viewport content="width=device-width,initial-scale=1">
|
|
<title>maven · notifications</title>
|
|
<link rel=stylesheet href=/ui.css>
|
|
<style>.text{max-width:22rem}</style>
|
|
{{template "nav" "notifications"}}
|
|
<h1>notifications</h1>
|
|
{{if .Nudges}}<div class=scroll><table>
|
|
<tr><th>when</th><th>rule</th><th>channel</th><th>outcome</th><th>message</th></tr>
|
|
{{range .Nudges}}<tr>
|
|
<td class=muted>{{.Ts.Format "15:04"}}</td>
|
|
<td class=key>{{.Rule}}</td>
|
|
<td><span class=badge>{{.Channel}}</span></td>
|
|
<td class={{.Outcome}}>{{.Outcome}}</td>
|
|
<td class=text>{{.Message}}</td>
|
|
</tr>{{end}}</table></div>
|
|
{{else}}<div class=empty>no notifications yet</div>{{end}}
|