panel: Make menu collapsible
This commit makes the top menu collapsible on all pages.
This commit is contained in:
parent
f2480cb9a4
commit
058875bcd9
28 changed files with 325 additions and 179 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue