Search on top

This commit is contained in:
Eduard Urbach 2018-03-26 20:37:53 +02:00
parent 06a5d0ff29
commit 0b113fc8cd

View File

@ -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")