thelounge/client/views/chat.tpl

27 lines
924 B
Smarty
Raw Normal View History

2014-08-26 01:13:47 +02:00
{{#each channels}}
2016-03-19 19:20:11 +01:00
<div id="chan-{{id}}" data-title="{{name}}" data-id="{{id}}" data-type="{{type}}" data-target="#chan-{{id}}" class="chan {{type}}">
2014-08-26 01:13:47 +02:00
<div class="header">
2016-05-08 01:38:55 +02: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-08 01:38:55 +02:00
<button class="menu" aria-label="Open the context menu"></button>
2014-08-26 01:13:47 +02:00
<span class="title">{{name}}</span>
<span title="{{topic}}" class="topic">{{{parse topic}}}</span>
2014-08-26 01:13:47 +02:00
</div>
<div class="chat">
2014-09-28 23:51:24 +02:00
<div class="show-more {{#equal messages.length 100}}show{{/equal}}">
<button class="show-more-button" data-id="{{id}}">
Show older messages
2014-09-28 23:51:24 +02:00
</button>
</div>
<div class="messages"></div>
2014-08-26 01:13:47 +02:00
</div>
<aside class="sidebar">
<div class="users"></div>
2014-08-26 01:13:47 +02:00
</aside>
</div>
{{/each}}