projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
User management logic half-debugged
[vchess.git]
/
views
/
index.pug
diff --git
a/views/index.pug
b/views/index.pug
index
dd09593
..
45a2ec7
100644
(file)
--- a/
views/index.pug
+++ b/
views/index.pug
@@
-4,7
+4,7
@@
block css
link(rel="stylesheet", href="/stylesheets/index.css")
block content
link(rel="stylesheet", href="/stylesheets/index.css")
block content
- .container
#indexPage
+ .container
case lang
when "en"
include welcome/en
case lang
when "en"
include welcome/en
@@
-19,12
+19,19
@@
block content
.info-container
p vchess.club
img(src="/images/index/wildebeest.svg")
.info-container
p vchess.club
img(src="/images/index/wildebeest.svg")
- #settingsMenu.clickable(
- onClick="document.getElementById('modalSettings').checked=true")
+ #flagMenu.clickable(onClick="doClick('modalLang')")
+ img(src="/images/flags/" + lang + ".svg")
+ #userMenu.clickable(onClick="doClick('modalUser')")
.info-container
.info-container
- p Settings
- #introductionMenu.clickable(
- onClick="document.getElementById('modalWelcome').checked=true")
+ if !user.email
+ p
+ span Login
+ i.material-icons person
+ else
+ p
+ span Update
+ i.material-icons person
+ #introductionMenu.clickable(onClick="doClick('modalWelcome')")
.info-container
p Introduction
.row
.info-container
p Introduction
.row