Added statistics to main menu

This commit is contained in:
Eduard Urbach 2017-07-07 12:52:24 +02:00
parent ddc149ffa0
commit cfe61542e0
2 changed files with 8 additions and 4 deletions

View File

@ -7,7 +7,7 @@ component Navigation(user *arn.User)
component LoggedOutMenu
nav#navigation.logged-out
NavigationButton("About", "/", "question-circle")
NavigationButton("Music", "/music", "headphones")
NavigationButton("Explore", "/explore", "th")
NavigationButton("Forum", "/forum", "comment")
FuzzySearch
@ -15,7 +15,8 @@ component LoggedOutMenu
.extra-navigation
NavigationButton("Users", "/users", "globe")
NavigationButton("Explore", "/explore", "th")
NavigationButton("Music", "/music", "headphones")
NavigationButton("Login", "/login", "sign-in")
component LoggedInMenu(user *arn.User)
@ -34,8 +35,11 @@ component LoggedInMenu(user *arn.User)
.extra-navigation
NavigationButton("Users", "/users", "globe")
NavigationButton("Explore", "/explore", "th")
.extra-navigation
NavigationButton("Statistics", "/statistics", "pie-chart")
NavigationButton("Settings", "/settings", "cog")

View File

@ -1,5 +1,5 @@
component Statistics(pieCharts ...*arn.PieChart)
h1 Statistics
h1.page-title Statistics
StatisticsHeader