{{if .Flash}}

{{.Flash}}

{{end}} {{if .Error}}{{end}} {{template "content" .}}
{{/* Settings pages share this frame: a heading, and the tabs on the left (grouped, as in brain). Call with the page: {{template "settings-start" $}} … {{template "settings-end"}}. */}} {{define "settings-start"}}

Settings

Your company, the accounts Supermarket posts with, the AI it writes with, and your Federated Core.

{{end}} {{define "settings-end"}}
{{end}} {{/* Sign-ins running out: {{template "reminders" .Reminders}}. */}} {{define "reminders"}}{{range .}}

{{if .Expired}}{{.Network}}'s sign-in expired on {{.At.Local.Format "2 Jan 2006"}}.{{else}}{{.Network}}'s sign-in expires {{if eq .Days 0}}today{{else if eq .Days 1}}tomorrow{{else}}in {{.Days}} days{{end}}, on {{.At.Local.Format "2 Jan 2006"}}.{{end}} {{if .Expired}}Nothing can be published to {{.Network}} until you reconnect; scheduled posts for it come back to Posts.{{else}}After that, nothing can be published to {{.Network}} until you reconnect.{{end}}

Reconnect {{.Network}}
{{end}}{{end}} {{/* A secret's field: {{template "key-field" (dict "F" secretField "Set" bool)}}. Saved values are never shown; an empty field keeps what's saved. */}} {{define "key-field"}}
{{if .Set}}{{end}}
{{end}} {{/* Icons from Lucide (lucide.dev, ISC licence). */}} {{define "icon"}}{{end}}