hardlounge/client/views/chat.tpl

35 lines
780 B
Smarty
Raw Normal View History

2014-08-25 23:13:47 +00:00
{{#each channels}}
<div id="chan-{{id}}" data-id="{{id}}" data-type="{{type}}" class="chan {{type}}">
<div class="header">
<button class="lt"></button>
<button class="rt"></button>
2014-09-21 15:59:50 +00:00
<div class="right">
<button class="button close">
{{#equal type "lobby"}}
Disconnect
{{else}}
Leave
{{/equal}}
</button>
</div>
2014-08-25 23:13:47 +00:00
<span class="title">{{name}}</span>
<span class="topic">{{type}} </span>
</div>
<div class="chat">
2014-09-28 21:51:24 +00:00
<div class="show-more {{#equal messages.length 100}}show{{/equal}}">
<button class="show-more-button" data-id="{{id}}">
Show more
</button>
</div>
2014-08-25 23:13:47 +00:00
<div class="messages">
{{partial "msg"}}
</div>
</div>
<aside class="sidebar">
<div class="users">
{{partial "user"}}
</div>
</aside>
</div>
{{/each}}