New editor score system and new user lists

This commit is contained in:
2018-03-10 16:42:39 +01:00
parent 4d5dd97da4
commit 9958364b92
10 changed files with 133 additions and 57 deletions

21
pages/users/editors.pixy Normal file
View File

@ -0,0 +1,21 @@
component EditorRankingList(users []*arn.User, url string)
h1.page-title Editor ranking list
UsersTabs(url)
table.ranking-list
thead
tr.mountable
th #
th User
th.ranking-score Score
tbody
for index, user := range users
tr.ranking.mountable
td= toString(index + 1) + "."
td.ranking-user
Avatar(user)
a.ajax(href=user.Link())= user.Nick
td.ranking-score= user.EditorScore()
.footer.mountable
p Score is generated from new data submissions and data fixes.