23 lines
1.0 KiB
HTML
23 lines
1.0 KiB
HTML
|
<div class="sidebar">
|
||
|
<a class="hamburger chatbox-btn fa fa-bars"></a>
|
||
|
<a class="chatbox-btn fa fa-vcard" title="Your profile" data-toggle="modal" data-target="#userProfileModal"></a>
|
||
|
<a class="chatbox-btn fa fa-pencil" title="Click to change your chat status" data-toggle="modal" data-target="#changeStatusModal"></a>
|
||
|
<div class="bottom">
|
||
|
<a class="chatbox-btn fa fa-user-plus" title="Click to add new chat contacts" data-toggle="modal" data-target="#addContactModal"></a>
|
||
|
<a class="chatbox-btn fa fa-users" title="Click to change rooms" data-toggle="modal" data-target="#chatroomsModal"></a>
|
||
|
<a class="chatbox-btn fa fa-cog" title="Change settings" data-toggle="modal" data-target="#settingsModal"></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
$('.hamburger').click(function(){
|
||
|
if ( $('#conversejs').hasClass('sidebar-open') ) {
|
||
|
$('#conversejs').removeClass('sidebar-open');
|
||
|
$(this).removeClass('fa-times').addClass('fa-bars');
|
||
|
} else {
|
||
|
$('#conversejs').addClass('sidebar-open');
|
||
|
$(this).removeClass('fa-bars').addClass('fa-times');
|
||
|
}
|
||
|
});
|
||
|
</script>
|