ui : chat page plug to menu
This commit is contained in:
parent
0a9401fd09
commit
260cfb20ba
@ -19,6 +19,8 @@ html(lang="en")
|
|||||||
include page-dashboard.pug
|
include page-dashboard.pug
|
||||||
#members(hidden)
|
#members(hidden)
|
||||||
include page-members.pug
|
include page-members.pug
|
||||||
|
#member-chat(hidden)
|
||||||
|
include page-member-chat.pug
|
||||||
#member(hidden)
|
#member(hidden)
|
||||||
include page-member.pug
|
include page-member.pug
|
||||||
#job-offers(hidden)
|
#job-offers(hidden)
|
||||||
|
@ -48,11 +48,11 @@ nav#navbar
|
|||||||
div.menu-icon.icon-arrow-down
|
div.menu-icon.icon-arrow-down
|
||||||
div.menu-label Chat
|
div.menu-label Chat
|
||||||
div.menu-icon.icon-envelope-letter
|
div.menu-icon.icon-envelope-letter
|
||||||
sib-route(hidden, name='chat', id-prefix=`${sdn}/members/`)
|
sib-route(hidden, name='member-chat', id-prefix=`${sdn}/members/`)
|
||||||
div.sub-menu
|
div.sub-menu
|
||||||
sib-display(
|
sib-display(
|
||||||
data-src=`${sdn}/members/`,
|
data-src=`${sdn}/members/`,
|
||||||
data-fields='pseudo',
|
data-fields='pseudo',
|
||||||
next='chat'
|
next='member-chat'
|
||||||
)
|
)
|
||||||
div.divider
|
div.divider
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
.chat-view
|
div
|
||||||
sib-chat(
|
.chat-view
|
||||||
data-authentication='login',
|
sib-chat(
|
||||||
data-auto-login='true',
|
data-authentication='login',
|
||||||
data-bosh-service-url=xmpp,
|
data-auto-login='true',
|
||||||
data-debug='false',
|
data-bosh-service-url=xmpp,
|
||||||
data-locales-url='en',
|
data-debug='false',
|
||||||
bind-resources
|
data-locales-url='en',
|
||||||
)
|
bind-resources
|
||||||
|
)
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
sib-router#member-router(default-route='member-profile')
|
sib-router#member-router(default-route='member-profile')
|
||||||
sib-route(name='member-chat')
|
|
||||||
div Chat
|
|
||||||
sib-route(name='member-profile')
|
sib-route(name='member-profile')
|
||||||
div Profile
|
div Profile
|
||||||
sib-ac-checker(permission='change' bind-resources)
|
sib-ac-checker(permission='change' bind-resources)
|
||||||
@ -10,8 +8,6 @@ sib-router#member-router(default-route='member-profile')
|
|||||||
#member-views-container
|
#member-views-container
|
||||||
sib-trigger(next="members" class="back") Back to directory
|
sib-trigger(next="members" class="back") Back to directory
|
||||||
div
|
div
|
||||||
#member-chat
|
|
||||||
include page-member-chat.pug
|
|
||||||
#member-profile
|
#member-profile
|
||||||
include page-member-profile.pug
|
include page-member-profile.pug
|
||||||
#member-edit
|
#member-edit
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
div.grid-layer
|
div.grid-layer
|
||||||
template#read-more-link
|
template#read-more-link
|
||||||
sib-link(next="member") ${value}
|
sib-link(next="member") ${value}
|
||||||
template#read-more-link
|
template#chat-link
|
||||||
sib-link(next="member") ${value}
|
sib-link(next="member-chat") ${value}
|
||||||
div.grid-layer-main.containerV
|
div.grid-layer-main.containerV
|
||||||
h1 Members
|
h1 Members
|
||||||
sib-display#profiles-list(
|
sib-display#profiles-list(
|
||||||
@ -16,6 +16,7 @@ div.grid-layer
|
|||||||
value-more='read more...',
|
value-more='read more...',
|
||||||
template-more='hdapp-link-more',
|
template-more='hdapp-link-more',
|
||||||
value-send='SEND A MESSAGE',
|
value-send='SEND A MESSAGE',
|
||||||
|
template-send='chat-link',
|
||||||
widget-avatar='sib-display-img',
|
widget-avatar='sib-display-img',
|
||||||
widget-user='hdapp-userinfo',
|
widget-user='hdapp-userinfo',
|
||||||
widget-foaf:hompage='hdapp-hyperlink',
|
widget-foaf:hompage='hdapp-hyperlink',
|
||||||
|
Loading…
Reference in New Issue
Block a user