2015-05-07 10:41:58 +08:00
|
|
|
<!-- listen only | microphone -->
|
|
|
|
<template name="settingsAudio">
|
|
|
|
<fieldset class="desktopSettingsFieldset">
|
|
|
|
<legend>Audio Options</legend>
|
2015-05-11 12:43:31 +08:00
|
|
|
{{#if amIInAudio}}
|
|
|
|
{{#if amIListenOnlyAudio}}
|
|
|
|
<!-- display microphone with join -->
|
|
|
|
{{> makeButton id="joinMicrophone" btn_class="joinMicrophone settingsButton joinAudioButton" i_class="fi-microphone" rel="tooltip"
|
|
|
|
data_placement="bottom" title="Join Microphone"}}
|
|
|
|
<!-- display listen only with exit -->
|
2015-05-14 02:55:15 +08:00
|
|
|
{{> makeButton id="exitAudio" btn_class="exitAudio settingsButton joinAudioButton" i_class="ion-volume-mute" rel="tooltip"
|
2015-05-11 12:43:31 +08:00
|
|
|
data_placement="bottom" title="Leave Audio Call"}}
|
|
|
|
{{else}}
|
|
|
|
<!-- display microphone with exit -->
|
2015-05-14 02:55:15 +08:00
|
|
|
{{> makeButton id="exitAudio" btn_class="exitAudio settingsButton joinAudioButton" i_class="ion-volume-mute" rel="tooltip"
|
2015-05-11 12:43:31 +08:00
|
|
|
data_placement="bottom" title="exit"}}
|
|
|
|
<!-- display join listen only -->
|
|
|
|
{{> makeButton id="joinListenOnly" btn_class="joinListenOnly settingsButton joinAudioButton" i_class="fi-volume" rel="tooltip"
|
|
|
|
data_placement="bottom" title="Join Listen only"}}
|
2015-05-07 10:41:58 +08:00
|
|
|
{{/if}}
|
2015-05-11 12:43:31 +08:00
|
|
|
{{else}}
|
|
|
|
<!-- display both with join -->
|
|
|
|
{{> makeButton id="joinMicrophone" btn_class="joinMicrophone settingsButton joinAudioButton" i_class="fi-microphone"
|
|
|
|
rel="tooltip" data_placement="bottom" title="Join Microphone"}}
|
|
|
|
{{> makeButton id="joinListenOnly" btn_class="joinListenOnly settingsButton joinAudioButton" i_class="fi-volume"
|
|
|
|
rel="tooltip" data_placement="bottom" title="Join Listen only"}}
|
|
|
|
{{/if}}
|
2015-05-07 10:41:58 +08:00
|
|
|
</fieldset>
|
|
|
|
</template>
|
|
|
|
|
2015-05-07 07:11:59 +08:00
|
|
|
<template name="settingsModal">
|
2015-05-13 22:24:21 +08:00
|
|
|
<div class="bar" style="border-bottom:1px solid grey">
|
|
|
|
<p style="float: left">
|
|
|
|
<i class="ion-gear-b" style="font-size:30px">
|
|
|
|
<span class="modalTitle">BigBlueButton Settings</span>
|
|
|
|
</i>
|
|
|
|
</p>
|
|
|
|
<p style="text-align:right">
|
|
|
|
<a href="#" class="closeSettings close-reveal-modal" style="font-size: 30px; position: inherit;">×</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="padding: 10px; text-align: center;">
|
|
|
|
{{> settingsAudio}}<br/>
|
|
|
|
{{> optionsFontSize}}<br/>
|
|
|
|
{{{getBBBSettingsInfo}}}
|
|
|
|
</div>
|
2015-05-07 07:11:59 +08:00
|
|
|
|
2015-05-13 22:24:21 +08:00
|
|
|
<div class="bar" style="border-top:1px solid grey; text-align: right;">
|
|
|
|
<a href="#" class="closeSettings close-reveal-modal" style="font-size: 12px; position: inherit;"><u>Cancel</u></a>
|
|
|
|
{{> makeButton id="saveSettings" btn_class="settingsButton" rel="tooltip" title="Save Changes" style="margin-bottom: 0px; background-color: #007095; border-radius: 15px; padding: 5px 10px 5px 10px" text="Save"}}
|
|
|
|
</div>
|
|
|
|
</template>
|
2015-05-07 07:11:59 +08:00
|
|
|
|
2015-05-13 22:24:21 +08:00
|
|
|
<template name="logoutModal">
|
|
|
|
<p>Are you sure you want to logout?</p>
|
|
|
|
{{> makeButton id="yes" btn_class="logoutButton" rel="tooltip" title="Logout" text="Yes"}}
|
|
|
|
{{> makeButton id="no" btn_class="logoutButton" rel="tooltip" title="Logout" text="No"}}
|
2015-05-07 07:11:59 +08:00
|
|
|
</template>
|