X-Git-Url: https://git.auder.net/pieces/Checkered/cq.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FSettings.vue;h=e04cbdfa846044bb0b43b5d100851ed29c3129e8;hb=HEAD;hp=d01f2cd44ea12f95cd44404f670a2fc50d4d697b;hpb=db1f1f9adb920605c7a16b060a7737e54636ee08;p=vchess.git
diff --git a/client/src/components/Settings.vue b/client/src/components/Settings.vue
index d01f2cd4..e04cbdfa 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,17 +45,33 @@ 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 on new game?"] }}
+ | {{ 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(v-if="desktopBrowser")
+ label(for="setScrollmove")
+ | {{ st.tr["Mouse scroll to replay moves"] }}
+ input#setScrollmove(
+ type="checkbox"
+ v-model="st.settings.scrollmove"
+ )