X-Git-Url: https://git.auder.net/pieces/Checkered/cn.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=5c525a31d146e93142aa73cd11c1c6600f6a8cbb;hb=2a2936023cda0888e215ff699d420090372899b0;hp=d1c6d593c23ac1673638de30942cdaab94308b99;hpb=20620465247585ed4e845885c4d9fee8cd6920c1;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index d1c6d593..5c525a31 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -1,24 +1,39 @@
main
+ input#modalRules.modal(type="checkbox")
+ div#rulesDiv(
+ role="dialog"
+ data-checkbox="modalRules"
+ )
+ .card
+ label.modal-close(for="modalRules")
+ a#variantNameInAnalyze(:href="'/#/variants/'+game.vname")
+ | {{ game.vname }}
+ div(v-html="rulesContent")
.row
.col-sm-12
.text-center
input#fen(
v-model="curFen"
- @input="adjustFenSize()"
+ @input="adjustFenSize(); tryGotoFen()"
)
- button(@click="gotoFen()") {{ st.tr["Go"] }}
BaseGame(
+ ref="basegame"
:game="game"
- :vr="vr"
+ @fenchange="setFen"
)
+
+
+
+