{{/* The sign-in door (package door): its own document, with no bar, nav or account, so every door is drawn signed out, even for a session it has just refused. estilo's door draws the suite's sky and Equipo's mark and name around the card. With Screen, rastrillo's sign-in screen (its ui "signin" partial over auth.SigninState) inside the door (estilo-signin-screen): the one way in, Other ways to sign in, Sent, the Keymail continuation, a problem, the refusal, and the confirm step an emailed link opens. The tab title is rastrillo's for the same state ("Sign in to Equipo"). With SignedOut, where Sign out lands: estilo-signed-out's card, with Oficina ID's own sign-out as a quiet action after a Home sign-in (HomeSignout). Without HomeSignout the card is estilo-signed-out's, byte for byte (door_test.go). */}} {{define "layout"}} {{with .Screen}}{{template "estilo-signin-screen-title" .}}{{else}}{{.SignedOut.Title}}{{end}} {{iconAssets}} {{T "rastrillo.ui.shell_skip"}}
{{with .Screen}}{{template "estilo-signin-screen" .}}{{else}}{{template "equipo-signed-out" .}}{{end}}
{{end}} {{define "equipo-signed-out"}}{{if .HomeSignout}}{{with .SignedOut}}{{template "estilo-door-open" .}}

{{.Heading}}

{{.Body}}

{{- with .Link}}

{{.Label}}

{{- end}}

{{copy "id.home_signout"}}

{{- with .Forget}}
{{- with .Return}} {{- end}} {{- range .Hidden}} {{- end}}
{{- end}} {{template "estilo-door-close"}}{{end}}{{else}}{{template "estilo-signed-out" .SignedOut}}{{end}}{{end}}