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

@ -31,8 +31,10 @@ type Routes struct {
// Internal implies MatchAllDomains.
Internal bool
// MenuTitle and MenuPriority return the priority and title of this menu item
// MenuTitle, MenuSticky and MenuPriority return the priority, sticky and title of this menu item
// see MenuItem for details
MenuTitle string
MenuSticky bool
MenuPriority MenuPriority
// Exact indicates that only the exact prefix, as opposed to any sub-paths, are matched.