2017-11-30 15:40:52 +00:00
|
|
|
component OverwatchRankingList(users []*arn.User)
|
|
|
|
h1.page-title Overwatch ranking list
|
|
|
|
|
|
|
|
UsersTabs
|
|
|
|
|
2017-12-05 09:47:20 +00:00
|
|
|
table.ranking-list
|
2017-11-30 15:40:52 +00:00
|
|
|
thead
|
|
|
|
tr.mountable
|
|
|
|
th #
|
|
|
|
th Player
|
|
|
|
th Name
|
2017-12-05 09:47:20 +00:00
|
|
|
th.ranking-pp Skill Rating
|
2017-11-30 15:40:52 +00:00
|
|
|
tbody
|
|
|
|
for index, user := range users
|
2017-12-05 09:47:20 +00:00
|
|
|
tr.ranking.mountable
|
2017-11-30 15:40:52 +00:00
|
|
|
td= toString(index + 1) + "."
|
|
|
|
td
|
|
|
|
Avatar(user)
|
|
|
|
td
|
|
|
|
a.ajax(href=user.Link())= user.Nick
|
2017-12-05 09:47:20 +00:00
|
|
|
td.ranking-score= strconv.Itoa(user.Accounts.Overwatch.SkillRating) + " SR"
|
2017-11-30 15:40:52 +00:00
|
|
|
|