X-Git-Url: https://git.auder.net/pieces/Checkered/cb.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FSettings.vue;h=d2194dae9d4fac32f75bc44d359ecb0c47f998ec;hb=0f0552a7e966246b9c81dda5e1ca2cb1fddd8961;hp=6e623ba4858d4e4185ba42de912b6c8325c5d6df;hpb=3b959cfaf3d3a28373d7ebb48d80087150a98006;p=vchess.git
diff --git a/client/src/components/Settings.vue b/client/src/components/Settings.vue
index 6e623ba4..d2194dae 100644
--- a/client/src/components/Settings.vue
+++ b/client/src/components/Settings.vue
@@ -1,7 +1,7 @@
div
input#modalSettings.modal(type="checkbox")
- div(
+ div#settingsDiv(
role="dialog"
data-checkbox="modalSettings"
)
@@ -27,14 +27,14 @@ div
)
div(@change="updateSettings($event)")
fieldset
- label(for="setHints") {{ st.tr["Show possible moves?"] }}
+ label(for="setHints") {{ st.tr["Show possible moves"] }}
input#setHints(
type="checkbox"
v-model="st.settings.hints"
)
fieldset
label(for="setHighlight")
- | {{ st.tr["Highlight last move and checks?"] }}
+ | {{ st.tr["Highlight last move"] }}
input#setHighlight(
type="checkbox"
v-model="st.settings.highlight"
@@ -47,15 +47,29 @@ div
option(value="chesstempo") {{ st.tr["blue"] }}
fieldset
label(for="setSound")
- | {{ st.tr["Sound alert when game starts?"] }}
+ | {{ st.tr["Sound alert at game start"] }}
input#setSound(
type="checkbox"
v-model="st.settings.sound"
)
+ fieldset
+ label(for="setGotonext")
+ | {{ st.tr["Show next game after a move"] }}
+ input#setGotonext(
+ type="checkbox"
+ v-model="st.settings.gotonext"
+ )
+ fieldset
+ label(for="setRandomness") {{ st.tr["Randomness"] }}
+ select#setRandomness(v-model="st.settings.randomness")
+ option(value="0") {{ st.tr["Deterministic"] }}
+ option(value="1") {{ st.tr["Symmetric random"] }}
+ option(value="2") {{ st.tr["Asymmetric random"] }}