X-Git-Url: https://git.auder.net/pieces/Cwda/n_black_bishop.svg?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=d8e395f24778474c79673bd475fe921bfe18d0fe;hb=14edde727da93d5b51dfd4dcd34472dca55a35c2;hp=012b1c2bc8b393304fa979f5db9310900f092de2;hpb=ae2c49bb0bbaac3953f63be5b720e9c6835f00b6;p=vchess.git
diff --git a/client/src/App.vue b/client/src/App.vue
index 012b1c2b..d8e395f2 100644
--- a/client/src/App.vue
+++ b/client/src/App.vue
@@ -1,6 +1,5 @@
#app
- Language
Settings
ContactForm
UpsertUser
@@ -9,7 +8,7 @@
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
// Menu (top of page):
// Left: hall, variants, problems, mygames
- // Right: usermenu, settings, flag
+ // Right: usermenu, settings
nav
label.drawer-toggle(for="drawerControl")
input#drawerControl.drawer(type="checkbox")
@@ -25,68 +24,54 @@
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/icons/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"] }}
+ a.menuitem(href="https://github.com/yagu0/vchess")
+ span {{ st.tr["Code"] }}
+ img(src="/images/icons/github.svg")
router-link.menuitem(to="/news") {{ st.tr["News"] }}
- p.clickable(onClick="doClick('modalContact')")
+ p.clickable(onClick="window.doClick('modalContact')")
| {{ st.tr["Contact"] }}