2015-05-08 06:16:43 +08:00
|
|
|
<template name="header">
|
2015-05-06 22:52:43 +08:00
|
|
|
<nav id="navbar" class="myNavbar gradientBar top-bar" role="navigation">
|
|
|
|
{{#if getInSession "display_usersList"}}
|
|
|
|
{{> makeButton btn_class="toggleUserlist navbarButton" i_class="ion-navicon-round" rel="tooltip" data_placement="bottom" title="Close Userlist"}}
|
|
|
|
{{else}}
|
|
|
|
{{> makeButton btn_class="toggleUserlist navbarButton" i_class="ion-navicon-round" rel="tooltip" data_placement="bottom" title="Open Userlist"}}
|
|
|
|
{{/if}}
|
2015-05-13 01:05:06 +08:00
|
|
|
|
|
|
|
{{#if amIInAudio}}
|
|
|
|
{{#if amIListenOnlyAudio}}
|
2015-05-13 01:18:07 +08:00
|
|
|
{{> makeButton btn_class="navbarButton leaveAudioButton" i_class="icon fi-volume" rel="tooltip" title="Exit Audio"}}
|
2015-05-13 01:05:06 +08:00
|
|
|
{{else}}
|
|
|
|
{{#if isCurrentUserMuted}}
|
|
|
|
<!-- if you are muted the button representing your status will show volume off -->
|
|
|
|
{{> makeButton btn_class="navbarButton muteIcon" i_class="ion-ios-mic-off" rel="tooltip" title="Unmute"}}
|
|
|
|
{{else}}
|
|
|
|
{{#if isCurrentUserTalking}}
|
|
|
|
<!-- you are talking. Display a high volume/volume up representing voice activity -->
|
|
|
|
{{> makeButton btn_class="navbarButton muteIcon" i_class="ion-ios-mic" rel="tooltip" title="Mute"}}
|
|
|
|
{{else}}
|
|
|
|
<!-- you are not talking. Display low volume/volume down representing no voice activity -->
|
|
|
|
{{> makeButton btn_class="navbarButton muteIcon" i_class="ion-ios-mic-outline" rel="tooltip" title="Mute"}}
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
2015-05-07 05:22:48 +08:00
|
|
|
<span class="navbarTitle">
|
|
|
|
{{getWhiteboardTitle}}
|
|
|
|
</span>
|
2014-06-14 03:34:20 +08:00
|
|
|
|
2015-05-08 22:27:52 +08:00
|
|
|
<div class="rightNavbarSection">
|
|
|
|
{{> makeButton id="settingsIcon" btn_class="settingsIcon navbarButton" i_class="ion-gear-b" rel="tooltip"
|
|
|
|
title="BigBlueButton Settings"}}
|
2014-08-15 01:26:15 +08:00
|
|
|
|
2015-05-13 02:57:07 +08:00
|
|
|
{{> makeButton id="logout" btn_class="signOutIcon navbarButton" i_class="ion-log-out" rel="tooltip"
|
2015-05-08 22:27:52 +08:00
|
|
|
title="Logout"}}
|
|
|
|
</div>
|
2015-05-08 23:58:51 +08:00
|
|
|
{{> makeButton btn_class="toggleMenuButton navbarButton" i_class="ion-navicon-round" rel="tooltip" data_placement="bottom" title="Toggle Menu"}}
|
2015-05-06 22:52:43 +08:00
|
|
|
</nav>
|
2015-04-01 03:36:29 +08:00
|
|
|
</template>
|
|
|
|
|
2014-08-09 00:04:04 +08:00
|
|
|
<template name="main">
|
2015-05-14 01:49:09 +08:00
|
|
|
{{#if getInSession "display_usersList"}}
|
2015-05-14 02:03:08 +08:00
|
|
|
{{> container id="container" class="moved-to-right"}}
|
2015-05-14 01:49:09 +08:00
|
|
|
{{else}}
|
2015-05-14 02:03:08 +08:00
|
|
|
{{> container id="container"}}
|
2015-05-14 01:49:09 +08:00
|
|
|
{{/if}}
|
2014-08-09 00:04:04 +08:00
|
|
|
</template>
|
2014-08-15 01:26:15 +08:00
|
|
|
|
2015-05-14 02:03:08 +08:00
|
|
|
<template name="container">
|
|
|
|
<div id="{{id}}" class="{{class}}">
|
|
|
|
{{#if isDisconnected}}
|
|
|
|
{{>status}}
|
|
|
|
{{else}}
|
2015-05-14 02:15:59 +08:00
|
|
|
{{> usersList id="users" name="usersList"}}
|
2015-05-14 02:03:08 +08:00
|
|
|
{{> menu id="menu"}}
|
|
|
|
<div id="main">
|
|
|
|
{{> header}}
|
|
|
|
<div id="panels">
|
|
|
|
{{> whiteboard id="whiteboard" name="whiteboard"}}
|
|
|
|
{{> chatbar id="chat" title="Chat" name="chatbar"}}
|
|
|
|
</div>
|
|
|
|
{{> modals}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2015-05-07 06:08:49 +08:00
|
|
|
<template name="modals">
|
2015-05-13 22:24:21 +08:00
|
|
|
<div id="settingsModal" class="reveal-modal" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog" data-options="close_on_background_click:false">
|
|
|
|
{{> settingsModal}}
|
|
|
|
</div>
|
|
|
|
<div id="logoutModal" class="reveal-modal tiny" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog" data-options="close_on_background_click:false">
|
|
|
|
{{> logoutModal}}
|
2015-05-07 07:05:34 +08:00
|
|
|
</div>
|
|
|
|
<audio id="remote-media" autoplay="autoplay"></audio>
|
2015-05-07 06:08:49 +08:00
|
|
|
</template>
|
|
|
|
|
2014-08-15 01:26:15 +08:00
|
|
|
<template name="recordingStatus">
|
|
|
|
</template>
|
2014-12-30 10:08:16 +08:00
|
|
|
|
|
|
|
<template name='slidingMenu'>
|
|
|
|
</template>
|
2015-05-13 01:05:22 +08:00
|
|
|
|
|
|
|
<template name="menu">
|
|
|
|
<div id="{{id}}">
|
2015-05-13 02:07:30 +08:00
|
|
|
{{> makeButton btn_class="slideButton" i_class="ion-chatbubble" label="Chat"}}
|
|
|
|
{{> makeButton btn_class="slideButton" i_class="ion-gear-b" label="Settings"}}
|
|
|
|
{{> makeButton btn_class="slideButton" i_class="ion-log-out" label="Log out"}}
|
2015-05-13 01:05:22 +08:00
|
|
|
</div>
|
|
|
|
</template>
|