Improved tooltips
This commit is contained in:
parent
0ebcd46fb6
commit
2302dbad31
@ -14,7 +14,7 @@ component EditorRankingList(users []*arn.User, idToScore map[string]int, url str
|
||||
td= toString(index + 1) + "."
|
||||
td.ranking-user
|
||||
Avatar(user)
|
||||
a(href=user.Link())= user.Nick
|
||||
a.ranking-user-nick(href=user.Link())= user.Nick
|
||||
td.ranking-score= idToScore[user.ID]
|
||||
|
||||
.footer.mountable
|
||||
|
@ -15,7 +15,7 @@ component OsuRankingList(users []*arn.User, url string)
|
||||
td= toString(index + 1) + "."
|
||||
td.ranking-user
|
||||
Avatar(user)
|
||||
a(href=user.Link())= user.Nick
|
||||
a.ranking-user-nick(href=user.Link())= user.Nick
|
||||
td.ranking-score= toString(int(user.Accounts.Osu.PP + 0.5)) + " pp"
|
||||
td.ranking-accuracy= fmt.Sprintf("%.1f", user.Accounts.Osu.Accuracy) + "%"
|
||||
|
@ -15,7 +15,7 @@ component OverwatchRankingList(users []*arn.User, url string)
|
||||
td= toString(index + 1) + "."
|
||||
td.ranking-user
|
||||
Avatar(user)
|
||||
a(href=user.Link())= user.Nick
|
||||
a.ranking-user-nick(href=user.Link())= user.Nick
|
||||
td.ranking-tier= strings.Title(user.Accounts.Overwatch.Tier)
|
||||
td.ranking-score= strconv.Itoa(user.Accounts.Overwatch.SkillRating) + " SR"
|
||||
|
@ -14,7 +14,9 @@
|
||||
.user-image
|
||||
width calc(avatar-size / 2)
|
||||
height calc(avatar-size / 2)
|
||||
margin-right 1rem
|
||||
|
||||
.ranking-user-nick
|
||||
margin-left 0.8rem
|
||||
|
||||
.ranking-score,
|
||||
.ranking-accuracy
|
||||
|
Loading…
Reference in New Issue
Block a user