X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=9879e275bb038006639f2c34b0340bdf1a476b26;hb=6808d7a16ec1e761c6a2dffec2281c96953e4d89;hp=315dc61e7299b49b7e5d06987fa87090cc10fa10;hpb=3f61a1c8478318aaa10867264a3f3edaf6d44d24;p=vchess.git diff --git a/client/src/App.vue b/client/src/App.vue index 315dc61e..9879e275 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -18,12 +18,12 @@ #leftMenu router-link(to="/") | {{ st.tr["Hall"] }} + router-link(to="/mygames") + | {{ st.tr["My games"] }} router-link(to="/variants") | {{ st.tr["Variants"] }} router-link(to="/problems") | {{ st.tr["Problems"] }} - router-link(to="/mygames") - | {{ st.tr["My games"] }} #rightMenu .clickable(onClick="doClick('modalUser')") | {{ st.user.id > 0 ? (st.user.name || "@nonymous") : "Login" }} @@ -53,17 +53,17 @@ export default { ContactForm, Language, Settings, - UpsertUser, + UpsertUser }, data: function() { return { - st: store.state, + st: store.state }; }, computed: { flagImage: function() { return `/images/flags/${this.st.lang}.svg`; - }, + } }, mounted: function() { let dialogs = document.querySelectorAll("div[role='dialog']"); @@ -73,12 +73,11 @@ export default { }, methods: { hideDrawer: function(e) { - if (e.target.innerText == "Forum") - return; //external link + if (e.target.innerText == "Forum") return; //external link e.preventDefault(); //TODO: why is this needed? document.getElementsByClassName("drawer")[0].checked = false; - }, - }, + } + } }; @@ -210,8 +209,8 @@ nav position: absolute top: -22px //padding: -5px 0 0 10px - & > #menuBar - z-index: 5000 //to hide currently selected piece if any + & > #menuBar + z-index: 5000 //to hide currently selected piece if any [type="checkbox"].drawer+* right: -767px