X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FSettings.vue;h=514e7049f99bfa9e4c6785208bc3607aa869d4ea;hb=bcc745f8339186cb7bdbfb4be72c457a2a373bff;hp=7e90b0f21a1b120f81754c20f26456ac5f23cc4b;hpb=aae89b49a846b2c101d74db7dff9151392d6db34;p=vchess.git
diff --git a/client/src/components/Settings.vue b/client/src/components/Settings.vue
index 7e90b0f2..514e7049 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"
@@ -45,30 +45,26 @@ div
option(value="lichess") {{ st.tr["brown"] }}
option(value="chesscom") {{ st.tr["green"] }}
option(value="chesstempo") {{ st.tr["blue"] }}
+ option(value="orangecc") {{ st.tr["orange"] }}
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 move?"] }}
+ | {{ st.tr["Show next game after a 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"] }}