panel: Make menu collapsible

This commit makes the top menu collapsible on all pages.
This commit is contained in:
Tom Wiesing 2023-12-01 23:31:44 +01:00
parent f2480cb9a4
commit 058875bcd9
No known key found for this signature in database
28 changed files with 325 additions and 179 deletions

View file

@ -18,6 +18,7 @@ type MenuItem struct {
Title string
Path template.URL
Active bool // Active, only used for tabs and crumbs
Sticky bool // Sticky, and do not collapse when collapsing the menu (ignored for tabs and crumbs)
Priority MenuPriority