2014-08-25 23:13:47 +00:00
|
|
|
{{#each channels}}
|
2016-03-19 18:20:11 +00:00
|
|
|
<div id="chan-{{id}}" data-title="{{name}}" data-id="{{id}}" data-type="{{type}}" data-target="#chan-{{id}}" class="chan {{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>
|
2016-02-14 00:32:00 +00:00
|
|
|
{{#equal type "channel"}}
|
2016-08-03 05:10:22 +00:00
|
|
|
<span class="rt-tooltip tooltipped tooltipped-w" aria-label="Toggle user list">
|
|
|
|
<button class="rt" aria-label="Toggle user list"></button>
|
|
|
|
</span>
|
2016-02-14 00:32:00 +00:00
|
|
|
{{/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>
|
2016-07-18 18:53:31 +00:00
|
|
|
<span title="{{topic}}" class="topic">{{{parse topic}}}</span>
|
2014-08-25 23:13:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="chat">
|
2017-10-29 17:41:19 +00:00
|
|
|
<div class="show-more{{#if messages.length}} show{{/if}}">
|
2017-08-09 11:18:37 +00:00
|
|
|
<button class="show-more-button" data-id="{{id}}">Show older messages</button>
|
2014-09-28 21:51:24 +00:00
|
|
|
</div>
|
2016-01-20 13:32:14 +00:00
|
|
|
<div class="messages"></div>
|
2014-08-25 23:13:47 +00:00
|
|
|
</div>
|
2017-04-22 12:49:01 +00:00
|
|
|
{{#equal type "channel"}}
|
2014-08-25 23:13:47 +00:00
|
|
|
<aside class="sidebar">
|
2017-04-22 12:49:01 +00:00
|
|
|
<div class="users">
|
|
|
|
<div class="count">
|
2017-04-30 12:07:09 +00:00
|
|
|
<input type="search" class="search" aria-label="Search among the user list" tabindex="-1">
|
2017-04-22 12:49:01 +00:00
|
|
|
</div>
|
|
|
|
<div class="names names-filtered"></div>
|
|
|
|
<div class="names names-original"></div>
|
|
|
|
</div>
|
2014-08-25 23:13:47 +00:00
|
|
|
</aside>
|
2017-04-22 12:49:01 +00:00
|
|
|
{{/equal}}
|
2014-08-25 23:13:47 +00:00
|
|
|
</div>
|
|
|
|
{{/each}}
|