20 lines
468 B
Plaintext
Raw Normal View History

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
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) + "."
2017-12-05 09:57:44 +00:00
td.ranking-user
2017-11-30 15:40:52 +00:00
Avatar(user)
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