ui : initilisation of sen a message from member-profil (not ready)

This commit is contained in:
simon louvet 2018-12-09 14:41:48 +01:00
parent ec6d7f8843
commit af36edefe4
2 changed files with 18 additions and 1 deletions

View File

@ -1,10 +1,14 @@
template#chat-link
sib-link(next="member-chat") ${value}
sib-display#member-info(
data-fields='available, header, name, pseudonym, infos, skills',
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-pseudonym='before-pseudo, pseudo',
value-before-pseudo='@',
value-send='SEND A MESSAGE',
template-send='chat-link',
widget-available='hdapp-available',
widget-avatar='sib-display-img',
widget-user='hdapp-userinfo',

View File

@ -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'] {
margin-top: -1em;
margin-bottom: 1em;