2014-06-14 00:22:30 +08:00
< template name = "main" >
< head >
2014-06-17 22:02:52 +08:00
< title > BigBlueButton Meteor< / title >
2014-06-14 00:22:30 +08:00
< / head >
< body >
2014-06-07 06:19:09 +08:00
< div id = "main" class = "row-fluid" >
2014-06-24 03:54:17 +08:00
{{> usersList}}
{{> chatbar}}
{{> whiteboard}}
2014-06-07 06:19:09 +08:00
< / div >
2014-06-14 00:22:30 +08:00
< / body >
2014-06-26 02:51:16 +08:00
{{doFinalStuff}}
2014-06-14 00:22:30 +08:00
< / template >
< template name = "header" >
2014-06-14 02:16:14 +08:00
{{#if getInSession "display_navbar"}}
< div class = "navbar navbar-default navbar-static-top" role = "navigation" >
2014-06-14 03:34:20 +08:00
{{#with getCurrentUser}}
{{#if getInSession "display_usersList"}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="navbarIconToggleActive usersListIcon navbar-brand" i_class="user" _id=_id}}
2014-06-14 03:34:20 +08:00
{{else}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="usersListIcon navbar-brand" i_class="user" _id=_id}}
2014-06-14 03:34:20 +08:00
{{/if}}
2014-06-19 21:27:27 +08:00
{{#if getInSession "display_chatbar"}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="navbarIconToggleActive chatBarIcon navbar-brand" i_class="comment" _id=_id}}
2014-06-14 03:34:20 +08:00
{{else}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="chatBarIcon navbar-brand" i_class="comment" _id=_id}}
2014-06-14 03:34:20 +08:00
{{/if}}
2014-06-24 00:58:30 +08:00
{{#if isUserSharingVideo user}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="navbarIconToggleActive videoFeedIcon navbar-brand" i_class="facetime-video" sharingVideo=true _id=_id}}
2014-06-14 03:34:20 +08:00
{{else}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="videoFeedIcon navbar-brand" i_class="stop" sharingVideo=false _id=_id}}
2014-06-14 03:34:20 +08:00
{{/if}}
2014-06-24 00:58:30 +08:00
{{#if isUserSharingAudio user}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="navbarIconToggleActive audioFeedIcon navbar-brand" i_class="volume-up" sharingAudio=true _id=_id}}
2014-06-14 03:34:20 +08:00
{{else}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="audioFeedIcon navbar-brand" i_class="volume-off" sharingAudio=false _id=_id}}
2014-06-14 03:34:20 +08:00
{{/if}}
2014-06-17 23:07:36 +08:00
{{> makeButton id="" btn_class="hideNavbarIcon pull-right navbar-brand" i_class="chevron-up"}}
{{> makeButton id="user.externUserId" btn_class="signOutIcon pull-right navbar-brand" i_class="log-out"}}
{{> makeButton id="user.externUserId" btn_class="settingsIcon pull-right navbar-brand" i_class="cog"}}
2014-06-14 03:34:20 +08:00
{{/with}}
2014-06-14 02:16:14 +08:00
< / div >
{{else}}
2014-06-17 22:02:52 +08:00
<!-- 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. -->
2014-06-17 23:07:36 +08:00
{{> makeButton id="" btn_class="hideNavbarIcon pull-right navbar-brand" i_class="chevron-down"}}
2014-06-14 02:16:14 +08:00
{{/if}}
2014-06-17 22:02:52 +08:00
< / template >
< template name = "makeButton" >
2014-06-17 23:07:36 +08:00
< button type = "submit" id = "{{id}}" class = "{{btn_class}} btn" { { isDisabled } } >
2014-06-17 22:02:52 +08:00
< i class = "glyphicon glyphicon-{{i_class}}" > < / i >
< / button >
2014-06-23 21:21:03 +08:00
< / template >
2014-06-27 01:13:19 +08:00