bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio-modal/audio-settings/component.jsx

52 lines
1.5 KiB
React
Raw Normal View History

import React from 'react';
import Button from '/imports/ui/components/button/component';
import { clearModal } from '/imports/ui/components/app/service';
import styles from '../styles.scss';
import MicSource from '/imports/ui/components/mic-source/component';
import SpeakerSource from '/imports/ui/components/speaker-source/component';
2016-12-06 09:37:46 +08:00
import EnterAudioContainer from '/imports/ui/components/enter-audio/container';
2016-12-01 23:32:22 +08:00
import StreamVolume from '/imports/ui/components/stream-volume/component';
2016-12-06 09:37:46 +08:00
import AudioTestContainer from '/imports/ui/components/audio-test/container';
export default class AudioSettings extends React.Component {
constructor(props) {
super(props);
this.chooseAudio = this.chooseAudio.bind(this);
}
chooseAudio() {
this.props.changeMenu(this.props.JOIN_AUDIO);
}
render() {
return (
<div>
<div className={styles.center}>
<Button className={styles.backBtn}
label={'Back'}
icon={'left-arrow'}
size={'md'}
color={'primary'}
ghost={true}
onClick={this.chooseAudio}
/>
<div>
Choose your audio settings
</div>
</div>
2016-12-06 00:21:55 +08:00
<div className={styles.containerLeftHalfContent}>
<MicSource />
2016-12-01 23:32:22 +08:00
<StreamVolume />
<SpeakerSource />
2016-12-06 09:37:46 +08:00
<AudioTestContainer />
</div>
2016-12-06 00:21:55 +08:00
<div className={styles.containerRightHalfContent}>
2016-12-06 09:37:46 +08:00
<EnterAudioContainer isFullAudio={true}/>
</div>
</div>
);
}
};