bigbluebutton-Github/bigbluebutton-html5/app/client/views/modals/modals.coffee

25 lines
1014 B
CoffeeScript
Raw Normal View History

2015-05-13 22:24:21 +08:00
Template.settingsModal.helpers
getBBBSettingsInfo: ->
info = getBuildInformation()
2015-05-07 14:26:40 +08:00
result = "(c) #{info.copyrightYear} BigBlueButton Inc. [build #{info.html5ClientBuild}] - For more information visit #{info.link}"
2015-05-13 22:24:21 +08:00
Template.logoutModal.events
"click #yes": -> userLogout(getInSession("meetingId"), getInSession("userId"))
"click #no": -> $("#logoutModal").foundation('reveal', 'close')
"click .logoutButton": -> $(".tooltip").hide()
2015-05-07 07:11:59 +08:00
2015-05-13 22:24:21 +08:00
Template.settingsAudio.events
2015-05-12 23:48:43 +08:00
"click #exitAudio": -> exitVoiceCall()
2015-05-07 07:11:59 +08:00
2015-05-12 23:48:43 +08:00
"click .joinAudioButton": (event) -> $("#settingsModal").foundation('reveal', 'close')
2015-05-12 22:48:11 +08:00
2015-05-13 22:24:21 +08:00
"click #joinListenOnly": (event) -> joinVoiceCall @, isListenOnly: true
2015-05-07 07:11:59 +08:00
2015-05-13 22:24:21 +08:00
"click #joinMicrophone": (event) -> joinVoiceCall @, isListenOnly: false
2015-09-14 22:07:35 +08:00
"click #hangupVerto": (event) -> exitVoiceCall()
2015-05-13 22:24:21 +08:00
Template.settingsModal.events
"click .closeSettings": -> setInSession "messageFontSize", getInSession("tempFontSize")
2015-05-12 23:48:43 +08:00
"click #saveSettings": -> $("#settingsModal").foundation('reveal', 'close');