bigbluebutton-Github/labs/meteor-client/client/views/chat/chat_bar.html

54 lines
1.3 KiB
HTML
Raw Normal View History

2014-06-19 21:29:48 +08:00
<template name="chatbar">
{{#if getInSession "display_chatbar"}}
2014-06-24 21:46:42 +08:00
<div id="chat">
<h3>Chat</h3>
<ul class="nav nav-tabs">
2014-06-25 02:36:22 +08:00
{{> tabButtons}}
2014-06-24 21:46:42 +08:00
</ul>
<div id="chatbar-contents">
2014-06-25 02:11:26 +08:00
<div class="mygrid-wrapper-div">
{{#if getInSession "display_publicPane"}}
2014-06-24 21:46:42 +08:00
{{> messageBar}}
{{else}}
{{> optionsBar}}
{{/if}}
2014-06-25 02:11:26 +08:00
</div>
2014-06-24 21:46:42 +08:00
</div>
</div>
{{/if}}
2014-06-19 21:29:48 +08:00
</template>
<template name="message">
2014-06-25 02:11:26 +08:00
<div class="chat-message">
<span class="chat-username">{{from}}</span>
<p class="chat-timestamp">{{timestamp}}</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;{{contents}}</p>
<br/>
</div>
2014-06-23 21:21:03 +08:00
</template>
2014-06-24 21:46:42 +08:00
<template name="messageBar">
<div>
<p>Welcome to [insert meeting name]</p>
{{#each getMessagesInChat}}
{{> message}}
2014-06-25 02:11:26 +08:00
{{/each}}
2014-06-24 21:46:42 +08:00
</div>
</template>
<template name="optionsBar">
<div>
<p>Select a person to chat with privately</p>
</div>
</template>
2014-06-25 02:36:22 +08:00
<template name="tabButtons">
{{#if getInSession "display_publicPane"}}
2014-06-25 02:36:22 +08:00
<li class="active publicChatTab"><a href="#" data-toggle="tab">Public</a></li>
<li class="optionsChatTab"><a href="#" data-toggle="tab">Options</a></li>
{{else}}
<li class="publicChatTab"><a href="#" data-toggle="tab">Public</a></li>
<li class="active optionsChatTab"><a href="#" data-toggle="tab">Options</a></li>
{{/if}}
</template>