2018-11-24 06:57:52 +00:00
|
|
|
//- component ProfileStats(stats *utils.UserStats, viewUser *arn.User, user *arn.User, uri string)
|
|
|
|
//- ProfileHeader(viewUser, user, uri)
|
2017-07-13 00:32:36 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- .stats
|
|
|
|
//- each pie in stats.PieCharts
|
|
|
|
//- .widget.mountable
|
|
|
|
//- h3.widget-title
|
|
|
|
//- Icon("pie-chart")
|
|
|
|
//- span= pie.Title
|
|
|
|
//- PieChart(pie.Slices)
|
2017-11-13 15:46:33 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- .footer.mountable
|
|
|
|
//- span= viewUser.Nick + " spent "
|
|
|
|
//- span= int(stats.AnimeWatchingTime / time.Hour / 24)
|
|
|
|
//- span days watching anime.
|