X-Git-Url: https://git.auder.net/pieces/cr.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=1ffcda41cf495facddf1892988c4e71cb689ee67;hb=430a203855578f9bbf4c851165c6066a741ff1f8;hp=00414d9136469758b6d339327d7fcb17d3d7d9a3;hpb=72ccbd6730241771e6ba86b6a5b62597b4c7e2f4;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index 00414d91..1ffcda41 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -1,14 +1,11 @@
main
.row
- .col-sm-12.col-md-3
+ #chat.col-sm-12.col-md-4.col-md-offset-4
Chat(:players="game.players")
- .col-sm-12.col-md-9
- BaseGame(:game="game" :vr="vr" ref="basegame"
- @newmove="processMove" @gameover="gameOver")
.row
- .col-sm-12.col-md-9.col-md-offset-3
- .button-group(v-if="game.mode!='analyze' && game.score=='*'")
+ .col-sm-12
+ #actions(v-if="game.mode!='analyze' && game.score=='*'")
button(@click="offerDraw") Draw
button(@click="abortGame") Abort
button(@click="resign") Resign
@@ -16,6 +13,8 @@ main
div(v-if="game.score=='*'") Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }}
div(v-if="game.type=='corr'") {{ game.corrMsg }}
textarea(v-if="game.score=='*'" v-model="corrMsg")
+ BaseGame(:game="game" :vr="vr" ref="basegame"
+ @newmove="processMove" @gameover="gameOver")