Ordered names and swords

This commit is contained in:
clarkerubber 2014-11-19 22:44:11 +11:00
parent 82b4294fb2
commit 8de8267c13
2 changed files with 26 additions and 0 deletions

View file

@ -38,6 +38,23 @@
@tournamentLink(t)
<br /><br />
}
<div class="swords" data-icon="U"></div>
<div class="players">
@if(opponent.color.name == "white") {
@List(opponent, player).map { p =>
<div class="player">
@playerLink(p, withOnline = false, withDiff = true)
</div>
}
} else {
@List(player, opponent).map { p =>
<div class="player">
@playerLink(p, withOnline = false, withDiff = true)
</div>
}
}
</div>
@if(game.variant.threeCheck) {
<div class="check_count" data-icon="@lila.rating.PerfType("threeCheck").map(_.iconChar)">
Checks given:

View file

@ -810,6 +810,15 @@ div.side_box div.infos::before{
font-size: 30px;
opacity: 0.7;
}
div.side_box div.players {
margin-left: -10px;
margin-top: -26px;
}
div.side_box div.swords {
font-size: 15px;
margin-left: -35px;
margin-top: 10px;
}
.player.color {
line-height: 16px;
height: 16px;