Search on top
This commit is contained in:
parent
06a5d0ff29
commit
0b113fc8cd
@ -16,6 +16,12 @@ component Sidebar(user *arn.User)
|
||||
|
||||
a#notification-count.badge.right-badge.badge-important.hidden(href="/notifications", title="Notifications") 0
|
||||
|
||||
//- Search
|
||||
.sidebar-link(aria-label="Search")
|
||||
.sidebar-button
|
||||
Icon("search")
|
||||
FuzzySearch
|
||||
|
||||
//- Sidebar buttons
|
||||
if user != nil
|
||||
SidebarButton("Home", "/+" + user.Nick + "/animelist/watching", "home")
|
||||
@ -50,11 +56,6 @@ component Sidebar(user *arn.User)
|
||||
|
||||
AudioPlayer
|
||||
|
||||
.sidebar-link(aria-label="Search")
|
||||
.sidebar-button
|
||||
Icon("search")
|
||||
FuzzySearch
|
||||
|
||||
if user != nil && (user.Role == "editor" || user.Role == "admin")
|
||||
SidebarButton("Log", "/log", "list")
|
||||
SidebarButton("Editor", "/editor", "pencil")
|
||||
|
Loading…
Reference in New Issue
Block a user