X-Git-Url: https://git.auder.net/doc/screen_ranking.png?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FAnalyse.vue;h=bc88c7573f0292f8556ebf958f66277923869a67;hb=a06fc4ba49b535ba45d70ee7401c5d2e26faefa2;hp=5d22306ef443dd95f7db4eab040f3365ea10c6b3;hpb=6808d7a16ec1e761c6a2dffec2281c96953e4d89;p=vchess.git
diff --git a/client/src/views/Analyse.vue b/client/src/views/Analyse.vue
index 5d22306e..bc88c757 100644
--- a/client/src/views/Analyse.vue
+++ b/client/src/views/Analyse.vue
@@ -1,18 +1,37 @@
main
+ input#modalRules.modal(type="checkbox")
+ div#rulesDiv(
+ role="dialog"
+ data-checkbox="modalRules"
+ )
+ .card
+ label.modal-close(for="modalRules")
+ h4#variantNameInAnalyze(@click="gotoRules()") {{ game.vname }}
+ div(v-html="rulesContent")
.row
.col-sm-12
.text-center
- input#fen(v-model="curFen" @input="adjustFenSize()")
- button(@click="gotoFen()") {{ st.tr["Go"] }}
- BaseGame(:game="game" :vr="vr")
+ input#fen(
+ v-model="curFen"
+ @input="adjustFenSize(); tryGotoFen()"
+ )
+ BaseGame(
+ ref="basegame"
+ :game="game"
+ @fenchange="setFen"
+ )
+
+
+
+