{{/* estilo-account: the account menu, the same in every app and always the last thing in the bar. Data: chrome.Account. Order: who is signed in (not interactive), the app's account-scoped items, Appearance, Help, then Sign out, which appears exactly once in the app. Appearance is a form of three buttons; the current one is aria-pressed="true" and every other "false", and the check glyph, not colour, shows which. Rail (Account.Rail) puts it at a sidebar rail's foot instead: the trigger is a row naming who is signed in, and the panel opens upward where the rail is the viewport's height. */}} {{define "estilo-account"}}
{{- if .Initials}}{{else}}{{template "estilo-icon-person"}}{{end -}} {{- if .Rail}}{{with or .Name .Address}}{{.}}{{end}}{{end -}}
{{.Labels.SignedInAs}} {{- with .Name}}{{.}}{{end}} {{- with .Address}}{{.}}{{end}}
{{- if .Items}}
{{range .Items}}{{template "estilo-menu-item" .}}{{end}}{{end}} {{- with .Appearance}}

{{$.Labels.Appearance}}

{{- range .Options}} {{- end}}
{{- end}} {{- if .Help}}

{{.Labels.Help}}

{{- range .Help}}{{template "estilo-menu-item" .}}{{end}} {{- end}}
{{end}}