2014-08-09 03:30:28 +08:00
< template name = "footer" >
2015-04-06 22:58:06 +08:00
< div id = "footer" class = "myFooter gradientBar navbar-default" >
{{{getFooterString}}}
< / div >
2014-08-09 03:30:28 +08:00
< / template >
2014-06-14 00:22:30 +08:00
< template name = "header" >
2014-12-10 02:03:01 +08:00
{{#if getInSession "display_navbar"}}
2015-05-05 22:30:38 +08:00
< nav id = "navbar" class = "myNavbar gradientBar top-bar" role = "navigation" >
2014-12-10 02:03:01 +08:00
< div class = "navbarUserButtons navbarSection" >
< div id = "collapseButtonSection" >
2015-04-01 03:36:29 +08:00
{{#if isPortraitMobile}}
2015-03-08 14:30:44 +08:00
< button class = "navbar-toggle btn navbarButton collapseSlidingMenuButton" >
< div class = "push-menu-icon" >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / div >
< / button >
2015-01-07 07:49:41 +08:00
{{else}}
2015-01-11 10:49:08 +08:00
{{#if getInSession "display_hiddenNavbarSection"}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="navbarButton collapseNavbarButton" i_class="glyphicon glyphicon-chevron-left" rel="tooltip" data_placement="bottom" title="Collapse"}}
2015-01-11 10:49:08 +08:00
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="navbarButton collapseNavbarButton" i_class="glyphicon glyphicon-chevron-right" rel="tooltip" data_placement="bottom" title="Expand"}}
2015-01-11 10:49:08 +08:00
{{/if}}
2015-01-07 07:49:41 +08:00
{{/if}}
2014-12-10 02:03:01 +08:00
< / div >
2015-01-11 10:49:08 +08:00
< div class = "collapseNavbarSection" >
< div class = 'hiddenNavbarSection' >
<!-- display/hide users list toggle -->
{{#if getInSession "display_usersList"}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="navbarIconToggleActive usersListIcon navbarButton collapseSectionButton" i_class="glyphicon glyphicon-user" rel="tooltip" data_placement="bottom" title="Hide List of Users"}}
2015-01-11 10:49:08 +08:00
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="usersListIcon navbarButton collapseSectionButton" i_class="glyphicon glyphicon-user" rel="tooltip" data_placement="bottom" title="Show List of Users"}}
2015-01-11 10:49:08 +08:00
{{/if}}
2014-08-18 23:10:57 +08:00
2015-01-11 10:49:08 +08:00
<!-- display/hide whiteboard toggle -->
{{#if getInSession "display_whiteboard"}}
2015-04-16 04:41:23 +08:00
{{> makeButton btn_class="navbarIconToggleActive whiteboardIcon navbarButton collapseSectionButton" i_class="ion-easel" rel="tooltip" data_placement="bottom" title="Hide Whiteboard"}}
2015-01-11 10:49:08 +08:00
{{else}}
2015-04-16 04:41:23 +08:00
{{> makeButton btn_class="whiteboardIcon navbarButton collapseSectionButton" i_class="ion-easel" rel="tooltip" data_placement="bottom" title="Show Whiteboard"}}
2015-01-11 10:49:08 +08:00
{{/if}}
2014-06-14 03:34:20 +08:00
2015-01-11 10:49:08 +08:00
<!-- display/hide chat bar toggle -->
{{#if getInSession "display_chatbar"}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="navbarIconToggleActive chatBarIcon navbarButton collapseSectionButton" i_class="glyphicon glyphicon-comment" rel="tooltip" data_placement="bottom" title="Hide Message Pane"}}
2014-12-10 02:03:01 +08:00
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="chatBarIcon navbarButton collapseSectionButton" i_class="glyphicon glyphicon-comment" rel="tooltip" data_placement="bottom" title="Show Message Pane"}}
2015-01-11 10:49:08 +08:00
{{/if}}
<!-- display/hide webcam streams toggle -->
<!-- {{#if isCurrentUserSharingVideo}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="navbarIconToggleActive videoFeedIcon navbarButton" i_class="glyphicon glyphicon-stop" sharingVideo=true rel="tooltip" data_placement="bottom" title="Hide Webcams"}}
2015-01-11 10:49:08 +08:00
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="videoFeedIcon navbarButton" i_class="glyphicon glyphicon-facetime-video" sharingVideo=false rel="tooltip" data_placement="bottom" title="Show Webcams"}}
2015-01-11 10:49:08 +08:00
{{/if}} -->
< / div >
< div class = 'audioControllersSection' >
2015-04-14 21:34:41 +08:00
<!-- We are in a form of audio -->
{{#if amIInAudio}}
2015-01-11 10:49:08 +08:00
< div class = 'hiddenNavbarSection' >
2015-04-06 22:29:25 +08:00
<!-- display the button for leaving audio -->
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="navbarIconToggleActive audioFeedIcon navbarButton audioButton leaveAudioButton" i_class="ion-volume-mute" sharingAudio=true rel="tooltip" data_placement="bottom" title="Leave Audio Call"}}
2015-01-11 10:49:08 +08:00
< / div >
2015-04-16 22:14:42 +08:00
{{#unless amIListenOnlyAudio}}
2015-04-01 03:36:29 +08:00
{{#if isCurrentUserMuted}}
<!-- if you are muted the button representing your status will show volume off -->
{{> makeButton btn_class="muteIcon navbarButton audioButton" i_class="glyphicon glyphicon-volume-off" sharingAudio=true rel="tooltip" data_placement="bottom" title="Unmute"}}
2015-01-11 10:49:08 +08:00
{{else}}
2015-04-01 03:36:29 +08:00
{{#if isCurrentUserTalking}}
<!-- you are talking. Display a high volume/volume up representing voice activity -->
{{> makeButton btn_class="navbarIconToggleActive muteIcon navbarButton audioButton" i_class="glyphicon glyphicon-volume-up" sharingAudio=true rel="tooltip" data_placement="bottom" title="Mute"}}
{{else}}
<!-- you are not talking. Display low volume/volume down representing no voice activity -->
{{> makeButton btn_class="navbarIconToggleActive muteIcon navbarButton audioButton" i_class="glyphicon glyphicon-volume-down" sharingAudio=true rel="tooltip" data_placement="bottom" title="Mute"}}
{{/if}}
2015-01-11 10:49:08 +08:00
{{/if}}
2015-04-16 22:14:42 +08:00
{{/unless}}
2015-01-11 10:49:08 +08:00
{{else}}
< div class = 'hiddenNavbarSection' >
2015-04-14 21:34:41 +08:00
{{> makeButton btn_class="audioFeedIcon navbarButton audioButton joinAudioButton" i_class="glyphicon glyphicon-headphones" sharingAudio=false rel="tooltip" data_placement="bottom" title="Join Audio Call"}}
2015-01-11 10:49:08 +08:00
< / div >
{{/if}}
< / div >
< div class = 'hiddenNavbarSection' >
{{#if isCurrentUserRaisingHand}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="lowerHand navbarIconToggleActive navbarButton collapseSectionButton" i_class="ion-android-hand" rel="tooltip" data_placement="bottom" title="Lower your hand"}}
2015-01-11 10:49:08 +08:00
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="raiseHand navbarButton collapseSectionButton" i_class="ion-android-hand" rel="tooltip" data_placement="bottom" title="Raise your hand"}}
2014-12-10 02:03:01 +08:00
{{/if}}
2014-08-15 01:26:15 +08:00
2015-01-11 10:49:08 +08:00
{{> recordingStatus}}
< / div >
2014-12-10 02:03:01 +08:00
< / div >
< / div >
< div class = "navbarTitle navbarSection" > < span > {{getMeetingName}}< / span > < / div >
< div class = "navbarSettingsButtons navbarSection" >
2015-01-12 04:13:40 +08:00
<!-- {{> makeButton id="userId" btn_class="settingsIcon navbarButton" i_class="glyphicon glyphicon - cog" rel="tooltip" data_placement="bottom" title="Settings"}} -->
{{> makeButton btn_class="signOutIcon navbarButton" i_class="glyphicon glyphicon-log-out" rel="tooltip" data_placement="bottom" title="Logout"}}
2014-12-10 02:03:01 +08:00
< / div >
2015-05-05 22:30:38 +08:00
< / nav >
2014-12-10 02:03:01 +08:00
< div class = "navbarFiller" > < / div >
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton id="navbarMinimizedButton" btn_class="hideNavbarIcon navbarMinimizedButtonSmall" i_class="glyphicon glyphicon-chevron-down" rel="tooltip" data_placement="bottom" title="Display Navbar"}}
2014-12-10 02:03:01 +08:00
{{/if}}
2014-06-17 22:02:52 +08:00
< / template >
2015-04-06 22:29:25 +08:00
<!-- dialog that presents user with audio options
contains microphone and listen only with icons -->
2015-04-01 03:36:29 +08:00
< template name = "joinAudioDialog" >
< div id = "joinAudioDialog" title = "How do you want to join the audio?" >
< hr class = "joinAudioDialogHr" / >
< div style = "float:left; border-right: 2px solid darkgrey; width: 50%; height: 100%" >
< i class = "icon ion-mic-a joinAudioDialogIcon" > < / i >
< br / >
< button id = "microphone" class = "joinAudioDialogButton" > Microphone< / button >
< / div >
< div style = "float:left; width: 50%" >
< i class = "icon ion-volume-high joinAudioDialogIcon" > < / i >
< br / >
< button id = "listen_only" class = "joinAudioDialogButton" > Listen Only< / button >
< / div >
< br style = "clear:both;" / > < br / >
< hr style = "margin: 10px; border: 1px solid darkgrey;" / >
< / div >
< / template >
2014-08-09 00:04:04 +08:00
< template name = "main" >
2015-04-06 22:58:06 +08:00
{{setTitle}}
< body >
< div id = "dialog" title = "Confirm Logout" >
2015-02-27 03:51:59 +08:00
< p > Are you sure you want to log out?< / p >
2015-04-06 22:58:06 +08:00
< / div >
{{> joinAudioDialog}}
< div id = "notification" >
2015-03-15 10:08:34 +08:00
< div id = "browser-icon-container" > < / div >
< p id = "notification-text" > < / p >
2015-04-06 22:58:06 +08:00
< / div >
2015-04-22 21:03:46 +08:00
2015-04-06 22:58:06 +08:00
< div id = "main" class = "mainContainer row-fluid" >
{{#if isDisconnected}}
{{>status}}
{{else}}
2015-05-05 22:30:38 +08:00
< div class = "fixed" > {{> header}}< / div >
2015-04-06 22:58:06 +08:00
{{> whiteboard id="whiteboard" title=getWhiteboardTitle name="whiteboard"}}
{{> chatbar id="chat" title="Chat" name="chatbar"}}
{{> usersList id="users" name="usersList"}}
< audio id = "remote-media" autoplay = "autoplay" > < / audio >
{{> footer}}
{{/if}}
< div id = 'shield' > < / div >
< / div >
{{#if isPortraitMobile}}
{{> slidingMenu}}
2015-02-27 03:51:59 +08:00
{{/if}}
2015-04-06 22:58:06 +08:00
< / body >
2014-08-09 00:04:04 +08:00
< / template >
2014-08-15 01:26:15 +08:00
< template name = "recordingStatus" >
2015-04-06 22:58:06 +08:00
<!-- Recording status of the meeting -->
{{#with getCurrentMeeting}}
{{#if intendedForRecording}}
{{#if currentlyBeingRecorded}}
< button class = "recordingStatus recordingStatusTrue" rel = "tooltip" data-placement = "bottom" title = "This Meeting is Being Recorded" > < span class = "glyphicon glyphicon-record" > < / span > Recording< / button >
{{else}}
< button class = "recordingStatus recordingStatusFalse" rel = "tooltip" data-placement = "bottom" title = "This Meeting is Not Currently Being Recorded" > < span class = "glyphicon glyphicon-record" > < / span > < / button >
{{/if}}
{{/if}}
{{/with}}
2014-08-15 01:26:15 +08:00
< / template >
2014-12-30 10:08:16 +08:00
< template name = 'slidingMenu' >
< div class = "sliding-menu" id = "sliding-menu" >
< div class = "slideSection" >
2015-04-01 03:36:29 +08:00
{{#if getInSession "display_usersList"}}
{{> makeButton btn_class="navbarIconToggleActive usersListIcon slideButton" i_class="glyphicon glyphicon-user" rel="tooltip" data_placement="right" title="Hide List of Users"}}
{{else}}
{{> makeButton btn_class="usersListIcon slideButton" i_class="glyphicon glyphicon-user" rel="tooltip" data_placement="right" title="Show List of Users"}}
{{/if}}
2014-12-30 10:08:16 +08:00
{{#if getInSession "display_whiteboard"}}
2015-04-16 04:41:23 +08:00
{{> makeButton btn_class="navbarIconToggleActive whiteboardIcon slideButton" i_class="ion-easel" rel="tooltip" data_placement="right" title="Hide Whiteboard"}}
2014-12-30 10:08:16 +08:00
{{else}}
2015-04-16 04:41:23 +08:00
{{> makeButton btn_class="whiteboardIcon slideButton" i_class="ion-easel" rel="tooltip" data_placement="right" title="Show Whiteboard"}}
2014-12-30 10:08:16 +08:00
{{/if}}
{{#if getInSession "display_chatbar"}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="navbarIconToggleActive chatBarIcon slideButton" i_class="glyphicon glyphicon-comment" rel="tooltip" data_placement="right" title="Hide Message Pane"}}
2014-12-30 10:08:16 +08:00
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="chatBarIcon slideButton" i_class="glyphicon glyphicon-comment" rel="tooltip" data_placement="right" title="Show Message Pane"}}
2014-12-30 10:08:16 +08:00
{{/if}}
2015-04-14 21:34:41 +08:00
{{#if amIInAudio}}
2015-04-25 02:51:13 +08:00
{{> makeButton btn_class="navbarIconToggleActive audioFeedIcon slideButton audioButton leaveAudioButton" i_class="ion-volume-mute" sharingAudio=true rel="tooltip" data_placement="bottom" title="Leave Audio Call"}}
2014-12-30 10:08:16 +08:00
{{else}}
2015-04-25 02:51:13 +08:00
{{> makeButton btn_class="audioFeedIcon slideButton audioButton joinAudioButton" i_class="glyphicon glyphicon-headphones" sharingAudio=false rel="tooltip" data_placement="bottom" title="Join Audio Call"}}
2014-12-30 10:08:16 +08:00
{{/if}}
{{#if isCurrentUserRaisingHand}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="lowerHand navbarIconToggleActive slideButton" i_class="ion-android-hand" rel="tooltip" data_placement="right" title="Lower your hand"}}
2014-12-30 10:08:16 +08:00
{{else}}
2015-01-12 04:13:40 +08:00
{{> makeButton btn_class="raiseHand slideButton" i_class="ion-android-hand" rel="tooltip" data_placement="right" title="Raise your hand"}}
2014-12-30 10:08:16 +08:00
{{/if}}
< / div >
< / div >
< / template >