TODO: modalSettings + finish game.js for other scenarios
[vchess.git] / views / modalSettings.pug
similarity index 85%
rename from views/settings.pug
rename to views/modalSettings.pug
index 8bf7de5..9398a77 100644 (file)
@@ -6,7 +6,9 @@ div(role="dialog" aria-labelledby="settingsTitle")
                // taille echiquier : TODO
                fieldset
                        label(for="setHints")= translations["Show hints?"]
-                       input#setHints(type: "checkbox" checked=this.hints)
+                       // TODO: this.hints will not work. Idea: query storage in a generic way ?
+                       // --> getValue("hints") par exemple
+                       input#setHints(type="checkbox" checked=this.hints)
                fieldset
                        label(for="selectColor")= translations["Board colors"]
                        select#selectColor