X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=3b15742dc2bb29644659480c0851883a883cc521;hb=f21cd6d9c23da37d729f20ea4c08e56b1a7b10a1;hp=9f4b6df803db3d687ddea57f826de7d50c3b923f;hpb=27d18a24ff2f3b04a7bf26b9b95c7214f8e5076a;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 9f4b6df8..3b15742d 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -16,21 +16,20 @@ 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"] }} - // TODO: Import game button copy game locally in IndexedDB - //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")