{{/* estilo-menu-item: one row in any estilo-menu. Data: menu.Item, with exactly one of Href (a link), Action (a one-button POST form) or Dialog (a button opening the with that id through the platform's invoker command). All three work with scripts off; chrome.js only adds the dialog for engines without invoker commands. Callers supply the label in their own locale; Key is an already-formatted shortcut (menu.Shortcut). Danger marks a destructive row (estilo-menu-item="danger"), drawn in the negative tone. */}} {{define "estilo-menu-item"}}{{if .Action}}
{{else if .Dialog}}{{else}}{{template "estilo-menu-item-body" .}}{{end}}{{end}} {{define "estilo-menu-item-body"}}{{.Label}}{{with .Key}}{{.}}{{end}}{{end}} {{/* estilo-icon-check: the glyph inside an estilo-menu-check column. Lucide "check" (ISC, brand/LICENSE.lucide). */}} {{define "estilo-icon-check"}}{{end}}