{{/* estilo-side: the app's side panel, one grid per row. In the rail the labels stay in the accessibility tree and show as tooltips. One shown row carries aria-current (side.Light): the page's own row, or its place. A place holding a page that has its own row is drawn twice (estilo-side-holds): unlit while the side is open, lit in the rail, which hides the page rows; CSS shows one. The lit copy is [hidden] too, so with no CSS at all only the page's row is lit; the rail's CSS draws it all the same. The fold is two submit buttons, one per state; CSS shows the one that fits what is on screen, so it works with scripts off and with no cookie. Data: side.Side. The frame around it and
is the app's:
. */}} {{define "estilo-side"}}{{end}} {{/* estilo-side-item: one place row, a link. Data: side.Item. An app drawing its own foot rows can use it too. */}} {{define "estilo-side-item"}}{{template "estilo-side-item-body" .}}{{end}} {{define "estilo-side-item-body"}}{{.Icon}}{{.Label}}{{with .Locked}}{{.}}{{end}}{{if .Locked}}{{end}}{{with .Key}}{{end}}{{end}} {{/* estilo-side-fold: Hide and Show, one per state. Each is a real POST of state=rail or state=open; side.js, when present, folds in place instead. Data: side.Fold. */}} {{define "estilo-side-fold"}}
{{end}} {{/* The side's glyphs. Lucide "panel-left" and "lock" (ISC, brand/LICENSE.lucide). Decorative: each sits beside a label. */}} {{define "estilo-icon-panel-left"}}{{end}} {{define "estilo-icon-lock"}}{{end}}