feature: #39 Display user info in upper right corner

This commit is contained in:
jblemee
2018-12-10 13:30:15 +01:00
parent af36edefe4
commit 35c94dc44b
6 changed files with 12 additions and 10 deletions

View File

@ -14,7 +14,7 @@ install: node_modules copy_lib copy_samples submodules
submodules: submodules:
git submodule init git submodule init
git submodule update git submodule update --recursive --remote
build: $(DIST_DIR)/index.html $(DIST_DIR)/styles/index.css $(SCRIPT_DEST) build: $(DIST_DIR)/index.html $(DIST_DIR)/styles/index.css $(SCRIPT_DEST)

View File

@ -15,8 +15,10 @@ details
#notifications #notifications
include page-notifications.pug include page-notifications.pug
#profile sib-display#profile(
img(src="/images/user.jpg") data-fields='username,member.user,member.avatar',
span widget-member.avatar='sib-display-img',
| Profile widget-member.user='hdapp-userinfo',
span.icon-arrow-down bind-user
)