2014-06-19 21:29:48 +08:00
|
|
|
<template name="chatbar">
|
2014-06-24 03:54:17 +08:00
|
|
|
{{#if getInSession "display_chatbar"}}
|
2014-06-24 21:46:42 +08:00
|
|
|
<div id="chat">
|
|
|
|
<h3>Chat</h3>
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li class="active publicChatTab"><a href="#" data-toggle="tab">Public</a></li>
|
|
|
|
<li><a class="optionsChatTab" href="#" data-toggle="tab">Options</a></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div id="chatbar-contents">
|
|
|
|
{{#if getInSession "display_messageBar"}}
|
|
|
|
{{> messageBar}}
|
|
|
|
{{else}}
|
|
|
|
{{> optionsBar}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-06-24 03:54:17 +08:00
|
|
|
{{/if}}
|
2014-06-19 21:29:48 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<template name="message">
|
|
|
|
<p>From {{from}}:</p>
|
|
|
|
<span> {{contents}}</span>
|
|
|
|
<hr/>
|
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}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template name="optionsBar">
|
|
|
|
<div>
|
|
|
|
<p>Select a person to chat with privately</p>
|
|
|
|
</div>
|
|
|
|
</template>
|