| 1 | input#modalSettings.modal(type="checkbox") |
| 2 | div(role="dialog" aria-labelledby="settingsTitle") |
| 3 | .card.smallpad(onChange="blabla(event)") |
| 4 | label.modal-close(for="modalSettings") |
| 5 | h3#settingsTitle.section= translations["Preferences"] |
| 6 | // taille echiquier : TODO |
| 7 | fieldset |
| 8 | label(for="setHints")= translations["Show hints?"] |
| 9 | input#setHints(type: "checkbox" checked=this.hints) |
| 10 | fieldset |
| 11 | label(for="selectColor")= translations["Board colors"] |
| 12 | select#selectColor |
| 13 | option(value="lichess" selected="this.color=='lichess'") |
| 14 | = translations["brown"] |
| 15 | option(value="chesscom" selected="this.color=='chesscom'") |
| 16 | = translations["green"] |
| 17 | option(value="chesstempo" selected="this.color=='chesstempo'") |
| 18 | = translations["blue"] |
| 19 | fieldset |
| 20 | label(for="selectSound")= translations["Play sounds?"] |
| 21 | select#selectSound |
| 22 | option(value="0" selected="this.sound==0")= translations["None"] |
| 23 | option(value="1" selected="this.sound==1")= translations["New game"] |
| 24 | option(value="2" selected="this.sound==2")= translations["All"] |