Dashboard is back
This commit is contained in:
parent
6c641c3632
commit
3d579da338
@ -7,6 +7,7 @@ component Sidebar(user *arn.User)
|
|||||||
|
|
||||||
if user != nil
|
if user != nil
|
||||||
SidebarButton("Home", "/animelist/watching", "home")
|
SidebarButton("Home", "/animelist/watching", "home")
|
||||||
|
SidebarButton("Dash", "/dashboard", "tachometer")
|
||||||
else
|
else
|
||||||
SidebarButton("Home", "/", "home")
|
SidebarButton("Home", "/", "home")
|
||||||
|
|
||||||
@ -20,9 +21,7 @@ component Sidebar(user *arn.User)
|
|||||||
//- SidebarButton("Search", "/search", "search")
|
//- SidebarButton("Search", "/search", "search")
|
||||||
|
|
||||||
if user != nil
|
if user != nil
|
||||||
if user.Role == "admin" || user.Role == "editor"
|
SidebarButton("Shop", "/shop", "shopping-cart")
|
||||||
SidebarButton("Shop", "/shop", "shopping-cart")
|
|
||||||
|
|
||||||
SidebarButton("Statistics", "/statistics", "pie-chart")
|
SidebarButton("Statistics", "/statistics", "pie-chart")
|
||||||
SidebarButton("Settings", "/settings", "cog")
|
SidebarButton("Settings", "/settings", "cog")
|
||||||
|
|
||||||
|
@ -95,30 +95,4 @@ component Dashboard(schedule []*arn.UpcomingEpisode, posts []arn.Postable, sound
|
|||||||
Icon("address-card")
|
Icon("address-card")
|
||||||
span ...
|
span ...
|
||||||
|
|
||||||
//- .widget.mountable
|
Footer
|
||||||
//- h3.widget-title Follow
|
|
||||||
|
|
||||||
//- a.widget-element(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener")
|
|
||||||
//- .widget-element-text
|
|
||||||
//- Icon("microphone")
|
|
||||||
//- span Discord
|
|
||||||
|
|
||||||
//- a.widget-element(href="https://www.facebook.com/animenotifier", target="_blank", rel="noopener")
|
|
||||||
//- .widget-element-text
|
|
||||||
//- Icon("facebook")
|
|
||||||
//- span Facebook
|
|
||||||
|
|
||||||
//- a.widget-element(href="https://twitter.com/animenotifier", target="_blank", rel="noopener")
|
|
||||||
//- .widget-element-text
|
|
||||||
//- Icon("twitter")
|
|
||||||
//- span Twitter
|
|
||||||
|
|
||||||
//- a.widget-element(href="https://plus.google.com/+AnimeReleaseNotifierOfficial", target="_blank", rel="noopener")
|
|
||||||
//- .widget-element-text
|
|
||||||
//- Icon("google-plus")
|
|
||||||
//- span Google+
|
|
||||||
|
|
||||||
//- a.widget-element(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener")
|
|
||||||
//- .widget-element-text
|
|
||||||
//- Icon("github")
|
|
||||||
//- span GitHub
|
|
Loading…
Reference in New Issue
Block a user