hubl/src/views/page-messages.pug

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-01-22 15:26:19 +00:00
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.bg-color-white
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'
class-username='margin-right-xxsmall'
2021-01-12 17:10:31 +00:00
widget-account.picture='hubl-user-avatar'
)
2020-05-08 13:27:44 +00:00
solid-link.icon.icon-info.icon-secondary.hover(
bind-resources
next=`${getRoute('profileDirectory', true)}-member-profile`
)
.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=`${component.endpoints.xmpp}`,
2021-01-12 17:10:31 +00:00
data-i18n='en',
bind-resources
)