Better stats

This commit is contained in:
Eduard Urbach 2017-07-13 05:47:17 +02:00
parent df98beacb4
commit 84e246d31f

View File

@ -3,13 +3,13 @@ component ProfileStats(stats *utils.UserStats, viewUser *arn.User, user *arn.Use
.widgets
each pie in stats.PieCharts
.widget
.widget.mountable
h3.widget-title
Icon("pie-chart")
span= pie.Title
PieChart(pie.Slices)
.footer.text-center
span You spent
span= viewUser.Nick + " spent "
span= int(stats.AnimeWatchingTime / time.Hour / 24)
span days watching anime.