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 component LoggedOutMenu
nav#navigation.logged-out nav#navigation.logged-out
NavigationButton("About", "/", "question-circle") NavigationButton("About", "/", "question-circle")
NavigationButton("Music", "/music", "headphones") NavigationButton("Explore", "/explore", "th")
NavigationButton("Forum", "/forum", "comment") NavigationButton("Forum", "/forum", "comment")
FuzzySearch FuzzySearch
@ -15,7 +15,8 @@ component LoggedOutMenu
.extra-navigation .extra-navigation
NavigationButton("Users", "/users", "globe") NavigationButton("Users", "/users", "globe")
NavigationButton("Explore", "/explore", "th") NavigationButton("Music", "/music", "headphones")
NavigationButton("Login", "/login", "sign-in") NavigationButton("Login", "/login", "sign-in")
component LoggedInMenu(user *arn.User) component LoggedInMenu(user *arn.User)
@ -37,6 +38,9 @@ component LoggedInMenu(user *arn.User)
NavigationButton("Explore", "/explore", "th") NavigationButton("Explore", "/explore", "th")
.extra-navigation
NavigationButton("Statistics", "/statistics", "pie-chart")
NavigationButton("Settings", "/settings", "cog") NavigationButton("Settings", "/settings", "cog")
.extra-navigation .extra-navigation

View File

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