X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=3b15742dc2bb29644659480c0851883a883cc521;hb=f21cd6d9c23da37d729f20ea4c08e56b1a7b10a1;hp=393b9ccf41a8d50ad9912113e8188a563f0b0588;hpb=c4f91d3ff756bf1c8948433e0584e0e4235f3524;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 393b9ccf..3b15742d 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -6,7 +6,8 @@ .card.smallpad.small-modal.text-center label.modal-close(for="modalEog") h3#eogMessage.section {{ endgameMessage }} - Board(:vr="vr" :last-move="lastMove" :analyze="game.mode=='analyze'" + // TODO: or "BoardHex" if this.game.vname in "Hexagonal..." + Board(:vr="vr" :last-move="lastMove" :analyze="analyze" :user-color="game.mycolor" :orientation="orientation" :vname="game.vname" @play-move="play") .button-group @@ -15,28 +16,29 @@ button(@click="flip") Flip button(@click="gotoBegin") GotoBegin button(@click="gotoEnd") GotoEnd + #messageDiv.section-content(v-if="game.type=='corr'") {{ curMoveMessage() }} #fenDiv.section-content(v-if="showFen && !!vr") p#fenString.text-center {{ vr.getFen() }} #pgnDiv.section-content a#download(href="#") - .button-group - button#downloadBtn(@click="download") {{ st.tr["Download PGN"] }} - button Import game - //MoveList(v-if="showMoves" - :moves="moves" :cursor="cursor" @goto-move="gotoMove") + button#downloadBtn(@click="download") {{ st.tr["Download PGN"] }} + div#movesList + MoveList(v-if="showMoves" + :moves="moves" :cursor="cursor" @goto-move="gotoMove")