feat(ui): enhance UI elements and improve layout for game creation and rules pages
This commit is contained in:
@@ -56,16 +56,16 @@
|
||||
|
||||
<!-- Player Hand at the BOTTOM -->
|
||||
<div class="row justify-content-center g-2 mt-4">
|
||||
@for(i <- player.currentHand().get.cards.indices) {
|
||||
<div class="col-auto">
|
||||
<form action="@(routes.IngameController.playCard(gamelobby.id))" method="post" class="m-0 p-0">
|
||||
<input type="hidden" name="cardId" value="@i" />
|
||||
<button type="submit" class="btn btn-outline-light p-0 border-0 shadow-none">
|
||||
@util.WebUIUtils.cardtoImage(player.currentHand().get.cards(i)) width="120px"/>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
}
|
||||
@for(i <- player.currentHand().get.cards.indices) {
|
||||
<div class="col-auto">
|
||||
<form action="@(routes.IngameController.playCard(gamelobby.id))" method="post" class="m-0 p-0">
|
||||
<input type="hidden" name="cardId" value="@i" />
|
||||
<button type="submit" class="btn btn-outline-light p-0 border-0 shadow-none">
|
||||
@util.WebUIUtils.cardtoImage(player.currentHand().get.cards(i)) width="120px"/>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user