X-Git-Url: https://git.auder.net/parser.js?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=9879e275bb038006639f2c34b0340bdf1a476b26;hb=6808d7a16ec1e761c6a2dffec2281c96953e4d89;hp=4b062a65454852daa30efd97b7e37ab2fdf735bf;hpb=5157ce0b8872417fbeecd736c9d1ae750b24acdc;p=vchess.git
diff --git a/client/src/App.vue b/client/src/App.vue
index 4b062a65..9879e275 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -8,20 +8,22 @@
.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
+ // Left: hall, variants, problems, mygames
// Right: usermenu, settings, flag
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')")
| {{ st.user.id > 0 ? (st.user.name || "@nonymous") : "Login" }}
@@ -30,68 +32,80 @@
.clickable#flagContainer(onClick="doClick('modalLang')")
img(v-if="!!st.lang" :src="flagImage")
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="doClick('modalContact')")
+ | {{ st.tr["Contact"] }}