Disable old profile pages

This commit is contained in:
2018-11-24 15:57:52 +09:00
parent 5668c66b31
commit cfb481df52
18 changed files with 280 additions and 283 deletions

View File

@ -1,15 +1,15 @@
component ProfileStats(stats *utils.UserStats, viewUser *arn.User, user *arn.User, uri string)
ProfileHeader(viewUser, user, uri)
//- component ProfileStats(stats *utils.UserStats, viewUser *arn.User, user *arn.User, uri string)
//- ProfileHeader(viewUser, user, uri)
.stats
each pie in stats.PieCharts
.widget.mountable
h3.widget-title
Icon("pie-chart")
span= pie.Title
PieChart(pie.Slices)
//- .stats
//- each pie in stats.PieCharts
//- .widget.mountable
//- h3.widget-title
//- Icon("pie-chart")
//- span= pie.Title
//- PieChart(pie.Slices)
.footer.mountable
span= viewUser.Nick + " spent "
span= int(stats.AnimeWatchingTime / time.Hour / 24)
span days watching anime.
//- .footer.mountable
//- span= viewUser.Nick + " spent "
//- span= int(stats.AnimeWatchingTime / time.Hour / 24)
//- span days watching anime.