bigbluebutton-Github/labs/meteor-client/client/main.coffee
2014-06-13 11:20:36 -07:00

22 lines
745 B
CoffeeScript
Executable File

# These settings can just be stored locally in session, created at start up
Meteor.startup ->
Session.set "display_usersList", true
Session.set "display_navbar", true
Session.set "display_chat", false # false until respective template is created
Session.set "display_whiteboard", false # false until respective template is created
Template.header.events
"click .usersListIcon": (event) ->
toggleUsersList()
"click .chatBarIcon": (event) ->
alert "chat"
"click .videoFeedIcon": (event) ->
toggleCam @
"click .audioFeedIcon": (event) ->
toggleMic @
"click .signOutIcon": (event) ->
alert "signout"
"click .hideNavbarIcon": (event) ->
toggleNavbar()
"click .settingsIcon": (event) ->
alert "settings"