2014-08-09 03:30:28 +08:00
< template name = "footer" >
< div class = "myFooter gradientBar navbar navbar-default navbar-fixed-bottom" role = "navigation" >
{{{getFooterString}}}
< / div >
< / template >
2014-06-14 00:22:30 +08:00
< template name = "header" >
2014-06-14 02:16:14 +08:00
{{#if getInSession "display_navbar"}}
2014-08-09 03:30:28 +08:00
< div id = "navbar" class = "myNavbar gradientBar navbar navbar-default navbar-static-top" role = "navigation" >
2014-06-14 03:34:20 +08:00
{{#with getCurrentUser}}
2014-08-08 23:12:02 +08:00
< div class = "navbarUserButtons navbarSection" >
2014-08-15 01:26:15 +08:00
{{#if getInSession "display_usersList"}}
{{> makeButton id=userId btn_class="navbarIconToggleActive usersListIcon navbarButton" i_class="user" _id=_id rel="tooltip" data_placement="bottom" title="Hide List of Users"}}
{{else}}
{{> makeButton id=userId btn_class="usersListIcon navbarButton" i_class="user" _id=_id rel="tooltip" data_placement="bottom" title="Show List of Users"}}
{{/if}}
2014-08-08 23:12:02 +08:00
2014-08-15 01:26:15 +08:00
{{#if getInSession "display_chatbar"}}
{{> makeButton id=userId btn_class="navbarIconToggleActive chatBarIcon navbarButton" i_class="comment" _id=_id rel="tooltip" data_placement="bottom" title="Hide Message Pane"}}
{{else}}
{{> makeButton id=userId btn_class="chatBarIcon navbarButton" i_class="comment" _id=_id rel="tooltip" data_placement="bottom" title="Show Message Pane"}}
{{/if}}
2014-06-14 03:34:20 +08:00
2014-08-15 01:26:15 +08:00
<!-- whiteboard toggle -->
{{#if getInSession "display_whiteboard"}}
{{> makeButton btn_class="navbarIconToggleActive whiteboardIcon navbarButton" i_class="pencil" _id=_id rel="tooltip" data_placement="bottom" title="Hide Whiteboard"}}
{{else}}
{{> makeButton id=userId btn_class="whiteboardIcon navbarButton" i_class="pencil" _id=_id rel="tooltip" data_placement="bottom" title="Show Whiteboard"}}
{{/if}}
2014-06-14 03:34:20 +08:00
2014-08-15 01:26:15 +08:00
{{#if isUserSharingVideo user}}
{{> makeButton id=userId btn_class="navbarIconToggleActive videoFeedIcon navbarButton" i_class="stop" sharingVideo=true _id=_id rel="tooltip" data_placement="bottom" title="Hide Webcams"}}
{{else}}
{{> makeButton id=userId btn_class="videoFeedIcon navbarButton" i_class="facetime-video" sharingVideo=false _id=_id rel="tooltip" data_placement="bottom" title="Show Webcams"}}
{{/if}}
2014-07-29 03:24:07 +08:00
2014-08-15 01:26:15 +08:00
<!-- Join/hang up audio call -->
{{#if isUserSharingAudio user}}
{{> makeButton id=userId btn_class="navbarIconToggleActive audioFeedIcon navbarButton" i_class="volume-off" sharingAudio=true _id=_id rel="tooltip" data_placement="bottom" title="Leave Audio Call"}}
{{else}}
{{> makeButton id=userId btn_class="audioFeedIcon navbarButton" i_class="headphones" sharingAudio=false _id=_id rel="tooltip" data_placement="bottom" title="Join Audio Call"}}
{{/if}}
2014-07-29 03:24:07 +08:00
2014-08-15 01:26:15 +08:00
<!-- Mute/unmute user -->
{{#if isUserSharingAudio user}}
<!-- Should use much more noticeable icons than just bootstraps volume - up & volume - down to differentiate talking but it is good for now -->
{{#if isUserMuted user}}
{{> makeButton id=userid btn_class="muteIcon navbarButton" i_class="volume-off" sharingAudio=true _id=_id rel="tooltip" data_placement="bottom" title="Unute"}}
{{else}}
{{#if isUserTalking user}}
{{> makeButton id=userid btn_class="navbarIconToggleActive muteIcon navbarButton" i_class="volume-up" sharingAudio=true _id=_id rel="tooltip" data_placement="bottom" title="Mute"}}
{{else}}
{{> makeButton id=userId btn_class="navbarIconToggleActive muteIcon navbarButton" i_class="volume-down" sharingAudio=true _id=_id rel="tooltip" data_placement="bottom" title="Mute"}}
{{/if}}
{{/if}}
{{/if}}
{{#if user.raise_hand}}
{{> makeButton id=userId btn_class="lowerHand navbarIconToggleActive navbarButton" i_class="hand-up" rel="tooltip" data_placement="bottom" title="Lower your hand"}}
{{else}}
{{> makeButton id=userId btn_class="raiseHand navbarButton" i_class="hand-up" rel="tooltip" data_placement="bottom" title="Raise your hand"}}
{{/if}}
{{> recordingStatus}}
2014-08-08 23:12:02 +08:00
< / div >
< div class = "navbarTitle navbarSection" > < span > {{getMeetingName}}< / span > < / div >
< div class = "navbarSettingsButtons navbarSection" >
{{> makeButton id="userId" btn_class="settingsIcon navbarButton" i_class="cog" rel="tooltip" data_placement="bottom" title="Settings"}}
{{> makeButton id="userId" btn_class="signOutIcon navbarButton" i_class="log-out" rel="tooltip" data_placement="bottom" title="Logout"}}
{{> makeButton id="" btn_class="hideNavbarIcon navbarButton" i_class="chevron-up" rel="tooltip" data_placement="bottom" title="Hide Navbar"}}
< / div >
2014-06-14 03:34:20 +08:00
{{/with}}
2014-06-14 02:16:14 +08:00
< / div >
{{else}}
2014-08-09 03:30:28 +08:00
< div id = "navbar" class = "myNavbarMinimized navbar-default navbar-static-top" role = "navigation" >
<!-- User wants to hide navbar. The button for bringing the navbar back needs to still be available. Perhaps it should appear/disappear in the future on hover? Something to add later. -->
{{> makeButton btn_class="hideNavbarIcon navbarMinimizedButton" i_class="chevron-down" rel="tooltip" data_placement="bottom" title="Display Navbar"}}
< / div >
2014-06-14 02:16:14 +08:00
{{/if}}
2014-06-17 22:02:52 +08:00
< / template >
2014-08-09 00:04:04 +08:00
< template name = "main" >
2014-08-09 03:30:28 +08:00
< head > < title > BigBlueButton Meteor< / title > < / head >
2014-08-09 00:04:04 +08:00
< body >
< div id = "main" class = "mainContainer row-fluid" >
2014-08-09 03:30:28 +08:00
< div > {{> header}}< / div >
2014-08-09 00:04:04 +08:00
{{> usersList id="users" name="usersList"}}
{{> whiteboard id="whiteboardContainer" title="Whiteboard" name="whiteboard"}}
{{> chatbar id="chat" title="Chat" name="chatbar"}}
2014-08-09 03:30:28 +08:00
< audio id = "remote-media" autoplay = "autoplay" > < / audio >
2014-08-13 00:25:15 +08:00
{{> footer}}
2014-08-09 03:30:28 +08:00
{{doFinalStuff}}
2014-08-09 00:04:04 +08:00
< / div >
< / body >
< / template >
2014-08-15 01:26:15 +08:00
< template name = "recordingStatus" >
<!-- Recording status of the meeting -->
{{#if meetingIsRecording}}
< button class = "recordingStatusTrue" rel = "tooltip" data-placement = "bottom" title = "This Meeting is Being Recorded" > < span class = "glyphicon glyphicon-record" > < / span > Recording< / button >
{{else}}
< button class = "recordingStatusFalse" rel = "tooltip" data-placement = "bottom" title = "This Meeting is Not Being Recorded" > < span class = "glyphicon glyphicon-record" > < / span > No< / button >
{{/if}}
< / template >