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-07 07:05:34 +08:00
|
|
|
<div id="container">
|
|
|
|
{{#if isDisconnected}}
|
|
|
|
{{>status}}
|
|
|
|
{{else}}
|
2015-05-06 22:52:43 +08:00
|
|
|
{{> usersList id="users" name="usersList"}}
|
2015-05-13 01:05:22 +08:00
|
|
|
{{> menu id="menu"}}
|
2015-05-06 22:52:43 +08:00
|
|
|
<div id="main">
|
|
|
|
{{> header}}
|
|
|
|
<div id="panels">
|
2015-05-07 05:22:48 +08:00
|
|
|
{{> whiteboard id="whiteboard" name="whiteboard"}}
|
2015-05-06 22:52:43 +08:00
|
|
|
{{> chatbar id="chat" title="Chat" name="chatbar"}}
|
|
|
|
</div>
|
2015-05-12 22:48:11 +08:00
|
|
|
{{> modals}}
|
2015-05-06 22:52:43 +08:00
|
|
|
</div>
|
2015-02-27 03:51:59 +08:00
|
|
|
{{/if}}
|
2015-05-07 07:05:34 +08:00
|
|
|
</div>
|
2014-08-09 00:04:04 +08:00
|
|
|
</template>
|
2014-08-15 01:26:15 +08:00
|
|
|
|
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>
|