2018-03-10 15:43:57 +00:00
|
|
|
component EditorRankingList(users []*arn.User, idToScore map[string]int, url string)
|
2018-03-10 15:42:39 +00:00
|
|
|
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
|
2018-04-25 20:15:42 +00:00
|
|
|
td= fmt.Sprint(index + 1) + "."
|
2018-03-10 15:42:39 +00:00
|
|
|
td.ranking-user
|
|
|
|
Avatar(user)
|
2018-04-18 12:05:44 +00:00
|
|
|
a.ranking-user-nick(href=user.Link())= user.Nick
|
2018-03-10 15:43:57 +00:00
|
|
|
td.ranking-score= idToScore[user.ID]
|
2018-03-10 15:42:39 +00:00
|
|
|
|
|
|
|
.footer.mountable
|
|
|
|
p Score is generated from new data submissions and data fixes.
|