xmpp.chapril.org-conversejs/src/templates/profile_view.html

24 lines
1.5 KiB
HTML
Raw Normal View History

<div class="userinfo controlbox-padded">
<div class="profile d-flex">
2018-02-23 16:32:47 +01:00
<a class="show-profile" href="#">
<canvas alt="o.__('Your avatar')" class="avatar align-self-center" height="40" width="40"></canvas>
2018-02-23 16:32:47 +01:00
</a>
<span class="username w-100 align-self-center">{{{o.fullname}}}</span>
<!-- <a class="chatbox-btn fa fa-id-card align-self-center" title="{{{o.title_your_profile}}}" data-toggle="modal" data-target="#userProfileModal"></a> -->
<!-- <a class="chatbox-btn fa fa-cog align-self-center" title="{{{o.title_change_status}}}" data-toggle="modal" data-target="#settingsModal"></a> -->
2018-03-25 10:43:56 +02:00
{[ if (o._converse.allow_logout) { ]}
<a class="chatbox-btn logout fa fa-sign-out-alt align-self-center" title="{{{o.title_log_out}}}"></a>
2018-03-25 10:43:56 +02:00
{[ } ]}
</div>
<div class="d-flex xmpp-status">
<span class="{{{o.chat_status}}} w-100 align-self-center" data-value="{{{o.chat_status}}}">
2018-02-21 16:10:13 +01:00
<span class="fa
{[ if (o.chat_status === 'online') { ]} fa-circle {[ } ]}
2018-03-17 18:13:51 +01:00
{[ if (o.chat_status === 'dnd') { ]} fa-minus-circle {[ } ]}
2018-02-21 16:10:13 +01:00
{[ if (o.chat_status === 'away') { ]} fa-dot-circle-o {[ } ]}
{[ if (o.chat_status === 'xa') { ]} fa-circle-o {[ } ]}
{[ if (o.chat_status === 'offline') { ]} fa-times-circle {[ } ]}"></span> {{{o.status_message}}}</span>
2018-02-21 12:31:25 +01:00
<a class="chatbox-btn change-status fa fa-pencil" title="{{{o.title_change_status}}}" data-toggle="modal" data-target="#changeStatusModal"></a>
</div>
</div>