X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FSettings.vue;h=7e90b0f21a1b120f81754c20f26456ac5f23cc4b;hb=aae89b49a846b2c101d74db7dff9151392d6db34;hp=a6c3e658283ea1df16f9f3e39c2fb8999e41876a;hpb=5b3dc10e34bf5bf970494be6ee1fa0b67e2ca88c;p=vchess.git diff --git a/client/src/components/Settings.vue b/client/src/components/Settings.vue index a6c3e658..7e90b0f2 100644 --- a/client/src/components/Settings.vue +++ b/client/src/components/Settings.vue @@ -46,11 +46,25 @@ div option(value="chesscom") {{ st.tr["green"] }} option(value="chesstempo") {{ st.tr["blue"] }} fieldset - label(for="setSound") {{ st.tr["Play sounds?"] }} - select#setSound(v-model="st.settings.sound") - option(value="0") {{ st.tr["None"] }} - option(value="1") {{ st.tr["New game"] }} - option(value="2") {{ st.tr["All"] }} + label(for="setSound") + | {{ st.tr["Sound alert when game starts?"] }} + input#setSound( + type="checkbox" + v-model="st.settings.sound" + ) + fieldset + label(for="setGotonext") + | {{ st.tr["Show next game after move?"] }} + input#setGotonext( + type="checkbox" + v-model="st.settings.gotonext" + ) + fieldset + label(for="setRandomness") {{ st.tr["Randomness against computer"] }} + 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"] }}