bigbluebutton-Github/bigbluebutton-html5/app/client/main.html

87 lines
3.7 KiB
HTML
Raw Normal View History

<template name="header">
<nav id="navbar" class="myNavbar gradientBar top-bar" role="navigation">
{{#if getInSession "display_usersList"}}
{{> makeButton btn_class="toggleUserlistButton navbarButton pressedButton" i_class="ion-navicon-round" rel="tooltip" data_placement="bottom" title="Close Userlist"}}
{{else}}
{{> makeButton btn_class="toggleUserlistButton 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}}
{{> makeButton btn_class="navbarButton leaveAudioButton" i_class="icon fi-volume-none" 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}}
<span class="navbarTitle">
{{getWhiteboardTitle}}
</span>
<div class="rightNavbarSection">
{{> makeButton id="settingsIcon" btn_class="settingsIcon navbarButton" i_class="ion-gear-b" rel="tooltip"
title="BigBlueButton Settings"}}
{{> makeButton id="logout" btn_class="signOutIcon navbarButton" i_class="ion-log-out" rel="tooltip"
title="Logout"}}
</div>
{{#if getInSession "display_menu"}}
{{> makeButton btn_class="toggleMenuButton navbarButton pressedButton" i_class="ion-navicon-round" rel="tooltip" data_placement="bottom" title="Close Menu"}}
{{else}}
{{> makeButton btn_class="toggleMenuButton navbarButton" i_class="ion-navicon-round" rel="tooltip" data_placement="bottom" title="Open Menu"}}
{{/if}}
</nav>
2015-04-01 03:36:29 +08:00
</template>
2014-08-09 00:04:04 +08:00
<template name="main">
<div id="container" class="{{containerPosition}}">
{{#if isDisconnected}}
{{>status}}
{{else}}
2015-05-14 02:15:59 +08:00
{{> usersList id="users" name="usersList"}}
{{> menu id="menu"}}
<div id="main">
{{> header}}
<div id="panels">
<div class="shield"></div>
{{> 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-14 03:28:16 +08:00
<div id="settingsModal" class="reveal-modal small" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog" data-options="close_on_background_click:false">
2015-05-13 22:24:21 +08:00
{{> 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>
<template name="recordingStatus">
</template>
<template name="menu">
<div id="{{id}}">
{{> 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"}}
</div>
</template>