oficina / calendar Public

Clone
git clone https://amadan.net/oficina/calendar

Plain git — no account needed to clone.

Download

Download this file

1{{define "title"}}{{.Title}}{{end}}
2{{/* The Oficina door (signin.go): rastrillo's sign-in screen, its ui
3 "signin" partial fed by auth.SigninState, drawn inside estilo's door
4 (the sky, and Calendar's mark and name at the card's head) by
5 estilo-signin-screen. One way in per page (SigninOneWay): the way this
6 browser used last, or Continue with Oficina ID, then "Other ways to
7 sign in". Every state is this one template: the door, the chooser,
8 Sent, the Keymail continuation (its meta refresh is in the card), a
9 problem, the refusal or the removal, and the confirm step an emailed
10 link opens (GET /auth/verify, auth's RenderConfirm), whose one Sign in
11 button POSTs the token back because a GET must spend nothing.
12
13 Or the signed-out page: estilo's "You’re signed out" card, Sign in,
14 and "Forget me on this device".
15
16 The bar shows the brand only: no account, no Sign in (render.go's
17 page). */}}
18{{define "content"}}
19{{- with .Data.Screen}}{{template "estilo-signin-screen" .}}{{end}}
20{{- with .Data.Notice}}{{template "estilo-signed-out" .}}{{end}}
21{{end}}
22