X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=views%2Fsettings.pug;h=8bf7de59d0c4157595229a2bf8a0c587199a033f;hb=b57dbd126734b4398861292c611197c6991ed3eb;hp=c46c5f8f8e4706a479292e8d74448b5208be9b85;hpb=b6487fb9c41705187cf97215fc9e8f86a59057c7;p=vchess.git diff --git a/views/settings.pug b/views/settings.pug index c46c5f8f..8bf7de59 100644 --- a/views/settings.pug +++ b/views/settings.pug @@ -1,20 +1,8 @@ -input#modal-settings.modal(type="checkbox") +input#modalSettings.modal(type="checkbox") div(role="dialog" aria-labelledby="settingsTitle") .card.smallpad(onChange="blabla(event)") - label#close-settings.modal-close(for="modal-settings") + label.modal-close(for="modalSettings") h3#settingsTitle.section= translations["Preferences"] - fieldset - label(for="langSelect")= translations["Language"] - // image avec drapeau + select language ici - select#langSelect - each langCode in languages - option(value=langCode selected=(lang==langCode)) - =langName[langCode] - fieldset - label(for="nameSetter") - =translations["My name is..."] - input#nameSetter(type="text" value=this.myname) - // theme sombre / clair // taille echiquier : TODO fieldset label(for="setHints")= translations["Show hints?"]