15 lines
416 B
Plaintext
Raw Normal View History

2017-07-13 00:32:36 +00:00
component ProfileStats(stats *utils.UserStats, viewUser *arn.User, user *arn.User, uri string)
ProfileHeader(viewUser, user, uri)
2017-11-03 11:02:13 +00:00
.stats
2017-07-13 00:32:36 +00:00
each pie in stats.PieCharts
2017-07-13 03:47:17 +00:00
.widget.mountable
2017-07-13 00:32:36 +00:00
h3.widget-title
Icon("pie-chart")
span= pie.Title
PieChart(pie.Slices)
2018-04-17 16:29:48 +00:00
.footer.mountable
2017-07-13 03:47:17 +00:00
span= viewUser.Nick + " spent "
2017-07-13 00:32:36 +00:00
span= int(stats.AnimeWatchingTime / time.Hour / 24)
span days watching anime.