hubl/src/views/page-messages.pug

28 lines
965 B
Plaintext
Raw Normal View History

div.segment.full.padding-top-small.padding-right-large.padding-bottom-small.padding-left-large.sm-padding-xsmall.border-bottom.border-color-grey.whitespace-normal
2021-01-12 17:10:31 +00:00
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-19 18:59:24 +00:00
class-segment2='segment margin-left-xsmall text-xxlarge text-letter-spacing-large whitespace-normal'
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
.chat-view.segment.full.whitespace-normal
2021-01-12 17:10:31 +00:00
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
)