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
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue