Last seen: {{if .LastSeen}}{{.LastSeen.Format "Jan 02, 15:04"}}{{else}}Never{{end}}
{{if .Trusted}}
{{else}}
Access Revoked
{{end}}
{{end}}
{{else}}
No agents have requested access yet.
{{end}}
Google Tasks
{{if .GoogleTasksError}}
Connection failed: {{.GoogleTasksError}}
{{end}}
{{if not .GoogleTasksOAuthReady}}
Not configured — set GOOGLE_OAUTH_CLIENT_ID and GOOGLE_OAUTH_CLIENT_SECRET in .env and restart.
{{else if .GoogleTasksConnected}}
✓ Connected — real task lists syncing via OAuth.
{{else}}
Not connected — service-account auth can't see your real task lists, this needs your own Google sign-in.
Connect Google Tasks
{{end}}
Data Sources
Calendar Feeds (.ics)
Subscribed calendars fetched directly by doot. Google Calendar is read
through a service account, which cannot see calendars you subscribe to
in your own account — so published schedules go here instead.
{{template "ics-feed-list" .}}
{{template "sync-log" .SyncLog}}
{{range .Sources}}
{{if eq . "trello"}}Trello Boards{{else if eq . "gcal"}}Google Calendars{{else if eq . "gtasks"}}Google Task Lists{{else}}{{.}}{{end}}
{{$configs := index $.Configs .}}
{{if $configs}}
{{range $configs}}
{{.ItemName}}
{{.ItemID}}
{{end}}
{{else}}
No items found. Click "Sync Available Sources" to fetch.