X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=views%2FmodalSettings.pug;fp=views%2Fsettings.pug;h=9398a7733502dec578852c092ae55e059b50390e;hb=59d58d7da742c937bca80c2102c2e72cc7d6e840;hp=8bf7de59d0c4157595229a2bf8a0c587199a033f;hpb=7d9e99bc177972c5af8b1b45f4bfb043d8306f30;p=vchess.git diff --git a/views/settings.pug b/views/modalSettings.pug similarity index 85% rename from views/settings.pug rename to views/modalSettings.pug index 8bf7de59..9398a773 100644 --- a/views/settings.pug +++ b/views/modalSettings.pug @@ -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