1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Cleanup our template

This commit is contained in:
Tim Düsterhus 2011-12-13 17:22:54 +01:00
parent c7d867905f
commit 111a17f175

View File

@ -175,7 +175,7 @@
</hgroup> </hgroup>
</header> </header>
<div class="tabMenuContainer" data-active="chatBox" data-store="activeTabMenuItem"> <div class="tabMenuContainer">
<nav class="tabMenu"> <nav class="tabMenu">
<ul> <ul>
<li class="ui-state-active"><a href="{link controller="Chat"}{/link}" title="{lang}wcf.chat.title{/lang}">{lang}wcf.chat.title{/lang}</a></li> <li class="ui-state-active"><a href="{link controller="Chat"}{/link}" title="{lang}wcf.chat.title{/lang}">{lang}wcf.chat.title{/lang}</a></li>
@ -183,32 +183,30 @@
</ul> </ul>
</nav> </nav>
<section id="chatBox" class="border tabMenuContent hidden" data-menu-item="chatBox"> <section id="chatBox" class="border tabMenuContent hidden">
<div> <div>
<aside id="chatRoomList" class="chatSidebar left"> <aside id="chatRoomList" class="chatSidebar left">
<div> <h2>{lang}wcf.chat.rooms{/lang}</h2>
<h2>{lang}wcf.chat.rooms{/lang}</h2> <ul>
<ul> {foreach from=$rooms item='roomListRoom'}
{foreach from=$rooms item='roomListRoom'} <li{if $roomListRoom->roomID == $room->roomID} class="activeMenuItem"{/if}>
<li{if $roomListRoom->roomID == $room->roomID} class="activeMenuItem"{/if}> <a href="{link controller='Chat' object=$roomListRoom}{/link}" class="chatRoom">{$roomListRoom}</a>
<a id="room-{$roomListRoom->roomID}" href="{link controller='Chat' object=$roomListRoom}{/link}" class="chatRoom">{$roomListRoom->getTitle()}</a> </li>
</li> {/foreach}
{/foreach} </ul>
</ul>
</div>
</aside> </aside>
<aside id="chatUserList" class="chatSidebar right"> <aside id="chatUserList" class="chatSidebar right">
<h2>{lang}wcf.chat.users{/lang}</h2> <h2>{lang}wcf.chat.users{/lang}</h2>
<ul> <ul>
{section name=user start=1 loop=11} {section name=user start=1 loop=11}
<li id="user-{$user}" class="chatUser"> <li id="user-{$user}" class="chatUser">
<span class="bgFix"><a class="chatUserLink" href="javascript:void(0)">User {$user}</a></span> <span class="bgFix"><a class="chatUserLink" href="javascript:;">User {$user}</a></span>
<ul class="chatUserMenu"> <ul class="chatUserMenu">
<li> <li>
<a href="javascript:void(0)">Query</a> <a href="javascript:;">Query</a>
<a href="javascript:void(0)">Kick</a> <a href="javascript:;">Kick</a>
<a href="javascript:void(0)">Ban</a> <a href="javascript:;">Ban</a>
<a href="{link controller="User" id=$user}{/link}">Profil</a> <a href="{link controller="User" id=$user}{/link}">Profile</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -216,7 +214,7 @@
</ul> </ul>
</aside> </aside>
<div id="chatRoomContent"> <div id="chatRoomContent">
<div id="topic" class="border">Dieser Raum ist zum Testen da.</div> <div id="topic" class="border">{$room->topic|language}</div>
<div class="chatMessageContainer border content"> <div class="chatMessageContainer border content">
<ul></ul> <ul></ul>
</div> </div>
@ -240,23 +238,23 @@
<div class="smallButtons"> <div class="smallButtons">
<ul> <ul>
<li> <li>
<a id="chatAutoscrollButton" href="javascript: void(0);"> <a id="chatAutoscrollButton" href="javascript:;">
<img alt="" src="{icon}enabled1{/icon}"> <span>Scrollen</span> <img alt="" src="{icon}enabled1{/icon}" /> <span>Scroll</span>
</a> </a>
</li> </li>
<li> <li>
<a href="javascript: void(0);"> <a href="javascript:;">
<img alt="" src="{icon}disabled1{/icon}"> <span>Benachrichtigen</span> <img alt="" src="{icon}disabled1{/icon}" /> <span>Notify</span>
</a> </a>
</li> </li>
<li> <li>
<a href="javascript: void(0)"> <a href="javascript:;">
<img alt="" src="{icon}delete1{/icon}"> <span>Chat leeren</span> <img alt="" src="{icon}delete1{/icon}" /> <span>Clear</span>
</a> </a>
</li> </li>
<li> <li>
<a href="javascript: void(0)"> <a href="javascript:;">
<img alt="" src="{icon}check1{/icon}"> <span>Markieren</span> <img alt="" src="{icon}check1{/icon}" /> <span>Mark</span>
</a> </a>
</li> </li>
</ul> </ul>