X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=views%2Fvariant.pug;h=a3b846f77d1ea7f5b9b805c22f831ff37e68c442;hb=d449ae46d69980f18c96dbd5a87135d257dcb19d;hp=89d814b26b6c4587d2e4fdb90d26acd6f5b82fd5;hpb=73564bf6340694c2e8a67a7c57334da5c1c23a73;p=vchess.git diff --git a/views/variant.pug b/views/variant.pug index 89d814b2..a3b846f7 100644 --- a/views/variant.pug +++ b/views/variant.pug @@ -7,19 +7,25 @@ block css block content .container#variantPage .row - #menuContainer.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 + .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 label.drawer-toggle(for="drawer-control") input#drawer-control.drawer(type="checkbox") #menuBar label.drawer-close(for="drawer-control") - a(href="/") + a#homeLink.conditional-jump(href="/") i.material-icons home - a(href="#rules" @click="setDisplay('rules')") Rules - a(href="#play" @click="setDisplay('game')") Play! - a(href="#problems" @click="setDisplay('problems')") Problems - #flagMenu(onClick="document.getElementById('modalLang').checked=true") + .info-container + a.conditional-jump(href="#rules" @click="setDisplay('rules')") + | Rules + a.conditional-jump(href="#play" @click="setDisplay('game')") + | Play! + a.conditional-jump(href="#problems" @click="setDisplay('problems')") + | Problems + #flagMenu.conditional-jump( + onClick="document.getElementById('modalLang').checked=true") img(src="/images/flags/" + lang + ".svg") - #helpMenu(onClick="document.getElementById('modalHelp').checked=true") + #helpMenu.conditional-jump( + onClick="document.getElementById('modalHelp').checked=true") .info-container p Help .row