X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FRules.vue;h=d96f1edc7afd442882fbcabf566d115c5a7f01b4;hb=d2edca6dfaafed2d1ab8d5941dbb77ed801798f6;hp=c48feb08849c446d8492b339a6e8fd2c8cdfe4f1;hpb=07052665845283c65b50a76537669d0602ba436b;p=vchess.git
diff --git a/client/src/views/Rules.vue b/client/src/views/Rules.vue
index c48feb08..d96f1edc 100644
--- a/client/src/views/Rules.vue
+++ b/client/src/views/Rules.vue
@@ -26,7 +26,7 @@ main
| {{ st.tr["Analysis mode"] }}
.row
.col-sm-12.col-md-8.col-md-offset-2.col-lg-6.col-lg-offset-3
- h4#variantName {{ gameInfo.vname }}
+ h4#variantName(v-show="display=='rules'") {{ gameInfo.vname }}
div(
v-show="display=='rules'"
v-html="content"
@@ -128,7 +128,7 @@ export default {
this.$refs["compgame"].launchGame();
}
},
- // user wants to stop the game:
+ // The user wants to stop the game:
stopGame: function() {
this.$refs["compgame"].gameOver("?", "Undetermined result");
},
@@ -148,86 +148,14 @@ export default {
};
-
+
-figure.diagram-container
- margin: 15px 0 15px 0
+