Better stats
This commit is contained in:
parent
df98beacb4
commit
84e246d31f
@ -3,13 +3,13 @@ component ProfileStats(stats *utils.UserStats, viewUser *arn.User, user *arn.Use
|
|||||||
|
|
||||||
.widgets
|
.widgets
|
||||||
each pie in stats.PieCharts
|
each pie in stats.PieCharts
|
||||||
.widget
|
.widget.mountable
|
||||||
h3.widget-title
|
h3.widget-title
|
||||||
Icon("pie-chart")
|
Icon("pie-chart")
|
||||||
span= pie.Title
|
span= pie.Title
|
||||||
PieChart(pie.Slices)
|
PieChart(pie.Slices)
|
||||||
|
|
||||||
.footer.text-center
|
.footer.text-center
|
||||||
span You spent
|
span= viewUser.Nick + " spent "
|
||||||
span= int(stats.AnimeWatchingTime / time.Hour / 24)
|
span= int(stats.AnimeWatchingTime / time.Hour / 24)
|
||||||
span days watching anime.
|
span days watching anime.
|
Loading…
Reference in New Issue
Block a user