X-Git-Url: https://git.auder.net/pieces/Checkered/cn.svg?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=b98618bf7645b6ca09e2426626c2133761fb2bba;hb=5b3dc10e34bf5bf970494be6ee1fa0b67e2ca88c;hp=f4f0cf7c6ae5aabb59c15545b1a31d4cd8712488;hpb=9ddaf8da8743c50b9019888a82d84392913c60c9;p=vchess.git
diff --git a/client/src/App.vue b/client/src/App.vue
index f4f0cf7c..b98618bf 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -1,115 +1,102 @@
#app
- Language
Settings
ContactForm
UpsertUser
- Welcome
.container
.row
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
// Menu (top of page):
- // Left: hall, variants, mygames
- // Right: usermenu, settings, flag
+ // Left: hall, variants, problems, mygames
+ // Right: usermenu, settings
nav
label.drawer-toggle(for="drawerControl")
input#drawerControl.drawer(type="checkbox")
- #menuBar(@click="hideDrawer()")
+ #menuBar(@click="hideDrawer($event)")
label.drawer-close(for="drawerControl")
#leftMenu
router-link(to="/")
| {{ st.tr["Hall"] }}
- router-link(to="/variants")
- | {{ st.tr["Variants"] }}
router-link(to="/mygames")
| {{ st.tr["My games"] }}
+ router-link(to="/variants")
+ | {{ st.tr["Variants"] }}
+ router-link(to="/problems")
+ | {{ st.tr["Problems"] }}
#rightMenu
- .clickable(onClick="doClick('modalUser')")
+ .clickable(onClick="window.doClick('modalUser')")
| {{ st.user.id > 0 ? (st.user.name || "@nonymous") : "Login" }}
- .clickable(onClick="doClick('modalSettings')")
- | {{ st.tr["Settings"] }}
- .clickable#flagContainer(onClick="doClick('modalLang')")
- img(v-if="!!st.lang" :src="flagImage")
+ #divSettings.clickable(onClick="window.doClick('modalSettings')")
+ span {{ st.tr["Settings"] }}
+ img(src="/images/settings.svg")
router-view
- .row
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- footer
- router-link.menuitem(to="/about") {{ st.tr["About"] }}
- p.clickable(onClick="doClick('modalContact')")
- | {{ st.tr["Contact"] }}
- a.menuitem(href="https://forum.vchess.club")
- | {{ st.tr["Forum"] }}
+ .row
+ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
+ footer
+ router-link.menuitem(to="/about") {{ st.tr["About"] }}
+ router-link.menuitem(to="/news") {{ st.tr["News"] }}
+ p.clickable(onClick="window.doClick('modalContact')")
+ | {{ st.tr["Contact"] }}