X-Git-Url: https://git.auder.net/pieces/Checkered/cn.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FRules.vue;h=d02901a0cf2a89478a4c071a4ef3b6195ad2777e;hb=751d7ca49079f479d41ee201e9cfbeee35664c41;hp=55564ffdee6292361cc0fe7cadf591591182c0fe;hpb=910d631b73cad5ffef1b4461157b704e7e7057d8;p=vchess.git
diff --git a/client/src/views/Rules.vue b/client/src/views/Rules.vue
index 55564ffd..d02901a0 100644
--- a/client/src/views/Rules.vue
+++ b/client/src/views/Rules.vue
@@ -20,18 +20,21 @@ main
)
| {{ st.tr["Stop game"] }}
button(
- v-if="display=='rules' && gameInfo.vname!='Dark'"
+ v-if="showAnalyzeBtn"
@click="gotoAnalyze()"
)
- | {{ st.tr["Analyse"] }}
+ | {{ st.tr["Analysis mode"] }}
+ .row
+ .col-sm-12.col-md-8.col-md-offset-2.col-lg-6.col-lg-offset-3
+ h4#variantName(v-show="display=='rules'") {{ gameInfo.vname }}
div(
v-show="display=='rules'"
v-html="content"
)
ComputerGame(
+ ref="compgame"
v-show="display=='computer'"
:game-info="gameInfo"
- @game-over="stopGame"
@game-stopped="gameStopped"
)
@@ -39,7 +42,8 @@ main
-
+
-figure.diagram-container
- margin: 15px 0 15px 0
+