2017-12-05 11:28:29 +01:00

20 lines
471 B
Plaintext

component OverwatchRankingList(users []*arn.User)
h1.page-title Overwatch ranking list
UsersTabs
table.ranking-list
thead
tr.mountable
th #
th Player
th.ranking-score Skill Rating
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= strconv.Itoa(user.Accounts.Overwatch.SkillRating) + " SR"