bigbluebutton-Github/labs/meteor-client/client/main.html

60 lines
2.8 KiB
HTML
Raw Normal View History

2014-06-14 00:22:30 +08:00
<template name="main">
<head>
<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">
{{> usersList}}
{{> chatbar}}
{{> whiteboard}}
2014-06-07 06:19:09 +08:00
</div>
2014-06-14 00:22:30 +08:00
</body>
{{doFinalStuff}}
2014-06-14 00:22:30 +08:00
</template>
<template name="header">
{{#if getInSession "display_navbar"}}
<div class="navbar navbar-default navbar-static-top" role="navigation">
{{#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}}
{{else}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="usersListIcon navbar-brand" i_class="user" _id=_id}}
{{/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}}
{{else}}
2014-06-17 23:07:36 +08:00
{{> makeButton id=user.externUserId btn_class="chatBarIcon navbar-brand" i_class="comment" _id=_id}}
{{/if}}
{{#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}}
{{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}}
{{/if}}
{{#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}}
{{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}}
{{/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"}}
{{/with}}
</div>
{{else}}
<!-- 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"}}
{{/if}}
</template>
<template name="makeButton">
2014-06-17 23:07:36 +08:00
<button type="submit" id="{{id}}" class="{{btn_class}} btn" {{isDisabled}}>
<i class="glyphicon glyphicon-{{i_class}}"></i>
</button>
2014-06-23 21:21:03 +08:00
</template>