Ordered names and swords
This commit is contained in:
parent
82b4294fb2
commit
8de8267c13
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue