Merge branch 'master' of git.happy-dev.fr:startinblox/applications/sib-app
This commit is contained in:
commit
a6975bb0f2
2
Makefile
2
Makefile
@ -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)
|
||||||
|
|
||||||
|
@ -15,8 +15,9 @@ details
|
|||||||
#notifications
|
#notifications
|
||||||
include page-notifications.pug
|
include page-notifications.pug
|
||||||
|
|
||||||
#profile
|
sib-display#profile(
|
||||||
img(src="/images/user.jpg")
|
data-fields='first_name,member.avatar',
|
||||||
span
|
widget-member.avatar='sib-display-img',
|
||||||
| Profile
|
bind-user
|
||||||
span.icon-arrow-down
|
)
|
||||||
|
|
||||||
|
@ -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,3 +1,4 @@
|
|||||||
|
div
|
||||||
.chat-view
|
.chat-view
|
||||||
sib-chat(
|
sib-chat(
|
||||||
data-authentication='login',
|
data-authentication='login',
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
|
template#chat-link
|
||||||
|
sib-link(next="member-chat") ${value}
|
||||||
sib-display#member-info(
|
sib-display#member-info(
|
||||||
data-fields='available, header, name, pseudonym, infos, skills',
|
data-fields='available, header, name, pseudonym, infos, skills',
|
||||||
set-header='avatar',
|
set-header='avatar',
|
||||||
set-infos='cell, roles, user.email, number, foaf:homepage',
|
set-infos='cell, roles,send, user.email, number, foaf:homepage',
|
||||||
set-name='user.first_name, user.last_name',
|
set-name='user.first_name, user.last_name',
|
||||||
set-pseudonym='before-pseudo, pseudo',
|
set-pseudonym='before-pseudo, pseudo',
|
||||||
value-before-pseudo='@',
|
value-before-pseudo='@',
|
||||||
|
value-send='SEND A MESSAGE',
|
||||||
|
template-send='chat-link',
|
||||||
widget-available='hdapp-available',
|
widget-available='hdapp-available',
|
||||||
widget-avatar='sib-display-img',
|
widget-avatar='sib-display-img',
|
||||||
widget-user='hdapp-userinfo',
|
widget-user='hdapp-userinfo',
|
||||||
|
@ -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',
|
||||||
|
@ -363,6 +363,19 @@ hdapp-available {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sib-link[next='member-chat'] {
|
||||||
|
border-style: solid;
|
||||||
|
margin: 1em;
|
||||||
|
display: flex;
|
||||||
|
border-radius: 25px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: $color-blue-light;
|
||||||
|
color: $color-blue-light;
|
||||||
|
margin: 1em;
|
||||||
|
padding: 1em;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
|
||||||
div[name='pseudonym'] {
|
div[name='pseudonym'] {
|
||||||
margin-top: -1em;
|
margin-top: -1em;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit f6d3c2d846eabb3e3b236f218ec5878b81597967
|
Subproject commit 7c841f1f972b6bbe35608a5c980101dbe117741c
|
@ -1 +1 @@
|
|||||||
Subproject commit 4162a4cc2d68ab76290a1691760a740634eee953
|
Subproject commit 56e754a6c80259ec7a274375044687db42a023e5
|
@ -1 +1 @@
|
|||||||
Subproject commit 34a75986f9a5d8d4e95e4c8e04743f1be362b752
|
Subproject commit d29cf792ad5f818eea604176df83604bf2c2b9e2
|
@ -1 +1 @@
|
|||||||
Subproject commit e46f24ad020d5eeb38a40b42a0f95b9f08a88dd6
|
Subproject commit d44e9c0c1cff4cd588be8955d43c35bffcdfa185
|
Loading…
Reference in New Issue
Block a user