thelounge/client/views/chat.tpl

39 lines
1.1 KiB
Smarty
Raw Normal View History

2014-08-25 23:13:47 +00:00
{{#each channels}}
2017-12-25 00:17:26 +00:00
<div
id="chan-{{id}}"
class="chan {{type}}"
data-id="{{id}}"
data-title="{{name}}"
data-type="{{type}}"
>
2014-08-25 23:13:47 +00:00
<div class="header">
2016-05-07 23:38:55 +00:00
<button class="lt" aria-label="Toggle channel list"></button>
{{#equal type "channel"}}
<span class="rt-tooltip tooltipped tooltipped-w" aria-label="Toggle user list">
<button class="rt" aria-label="Toggle user list"></button>
</span>
{{/equal}}
2016-05-07 23:38:55 +00:00
<button class="menu" aria-label="Open the context menu"></button>
2014-08-25 23:13:47 +00:00
<span class="title">{{name}}</span>
<span title="{{topic}}" class="topic">{{{parse topic}}}</span>
2014-08-25 23:13:47 +00:00
</div>
<div class="chat">
<div class="show-more{{#if messages.length}} show{{/if}}">
<button class="show-more-button" data-id="{{id}}">Show older messages</button>
2014-09-28 21:51:24 +00:00
</div>
<div class="messages"></div>
2014-08-25 23:13:47 +00:00
</div>
{{#equal type "channel"}}
2014-08-25 23:13:47 +00:00
<aside class="sidebar">
<div class="users">
<div class="count">
<input type="search" class="search" aria-label="Search among the user list" tabindex="-1">
</div>
<div class="names names-filtered"></div>
<div class="names names-original"></div>
</div>
2014-08-25 23:13:47 +00:00
</aside>
{{/equal}}
2014-08-25 23:13:47 +00:00
</div>
{{/each}}