hubl/src/views/page-messages.pug

28 lines
917 B
Plaintext
Raw Normal View History

2021-01-12 17:10:31 +00:00
div.segment.lg-full.padding-top-small.padding-right-large.padding-bottom-small.padding-left-large.border-bottom.border-color-grey
solid-display.labelled-avatar.small(
bind-resources
fields='segment1(account.picture), segment2(name, hyphen, at, username)'
value-hyphen=" - "
value-at="@"
2020-05-08 13:27:44 +00:00
2021-01-12 17:10:31 +00:00
class-segment1='segment'
class-account.picture='avatar small'
2021-01-12 17:49:49 +00:00
class-segment2='segment margin-left-xsmall text-xxlarge text-letter-spacing-large'
2021-01-12 17:10:31 +00:00
class-name='text-color-heading text-uppercase text-semibold'
2021-01-12 17:49:49 +00:00
class-hypen='text-color-heading'
2021-01-12 17:10:31 +00:00
class-at=''
class-username=''
2021-01-12 17:10:31 +00:00
widget-account.picture='hubl-user-avatar'
)
2020-05-08 13:27:44 +00:00
2021-01-12 17:10:31 +00:00
.chat-view.segment.lg-full.whitespace-normal
solid-xmpp-chat(
data-authentication='login',
data-auto-login='true',
data-websocket-url=`${xmppWebsocket || 'wss://jabber.happy-dev.fr/xmpp-websocket'}`,
data-i18n='en',
bind-resources
)