mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Fixed collapseable sidebar ;)
This commit is contained in:
parent
1b3206f81b
commit
bc01d0380e
@ -228,14 +228,15 @@
|
|||||||
|
|
||||||
<body id="tpl{$templateName|ucfirst}">
|
<body id="tpl{$templateName|ucfirst}">
|
||||||
{capture assign='sidebar'}
|
{capture assign='sidebar'}
|
||||||
<nav class="chatSidebarTabs">
|
<div id="sidebar">
|
||||||
|
<nav class="chatSidebarTabs">
|
||||||
<ul>
|
<ul>
|
||||||
<li id="toggleUsers" class="active"><a href="javascript:;" title="{lang}wcf.chat.users{/lang}">{lang}wcf.chat.users{/lang}</a></li>
|
<li id="toggleUsers" class="active"><a href="javascript:;" title="{lang}wcf.chat.users{/lang}">{lang}wcf.chat.users{/lang}</a></li>
|
||||||
<li id="toggleRooms"><a href="javascript:;" title="{lang}wcf.chat.rooms{/lang}" data-refresh-url="{link controller="Chat" action="RefreshRoomList"}{/link}">{lang}wcf.chat.rooms{/lang}</a></li>
|
<li id="toggleRooms"><a href="javascript:;" title="{lang}wcf.chat.rooms{/lang}" data-refresh-url="{link controller="Chat" action="RefreshRoomList"}{/link}">{lang}wcf.chat.rooms{/lang}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div id="sidebarContainer">
|
<div id="sidebarContainer">
|
||||||
<ul id="chatUserList">
|
<ul id="chatUserList">
|
||||||
{section name=user start=1 loop=26}
|
{section name=user start=1 loop=26}
|
||||||
<li id="user-{$user}" class="chatUser">
|
<li id="user-{$user}" class="chatUser">
|
||||||
@ -262,6 +263,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/capture}
|
{/capture}
|
||||||
{include file='header' sandbox=false sidebarDirection='left'}
|
{include file='header' sandbox=false sidebarDirection='left'}
|
||||||
@ -337,7 +339,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('#chatInput').jCounter($('#chatInput').attr('maxlength'), { container: '.counter' });
|
$('#chatInput').jCounter($('#chatInput').attr('maxlength'), { container: '.counter' });
|
||||||
$('.sidebar').wcfSidebar();
|
$('#sidebar').wcfSidebar();
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user