bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/modals/settings/submenus/VideoMenu.jsx

53 lines
2.1 KiB
React
Raw Normal View History

2016-05-06 05:14:39 +08:00
import React from 'react';
import Modal from 'react-modal';
import Icon from '/imports/ui/components/icon/component';
import Button from '/imports/ui/components/button/component';
import BaseMenu from './BaseMenu';
import styles from './styles';
2016-05-06 05:14:39 +08:00
export default class VideoMenu extends BaseMenu {
constructor(props) {
super(props);
}
getContent() {
return (
<div style={{ height: '100%' }} role='presentation'>
<div className={styles.containerLeftHalf}>
<label htmlFor='camera'>Select camera</label>
</div>
<div className={styles.containerRightHalf}>
<label htmlFor='quality' >Video quality</label>
</div>
<div style={{ height: '20%' }} className={styles.containerLeftHalf} role='presentation'>
2016-08-06 03:21:35 +08:00
<select id='camera' defaultValue='0' tabIndex='7'
aria-labelledby='camLabel' aria-describedby='camDesc'>
<option value='0' disabled>Select camera</option>
<option value='1'>Camera 1</option>
<option value='2'>Camera 2</option>
<option value='3'>Camera 3</option>
</select>
<div className={styles.hidden} id='camLabel'>Camera source</div>
2016-08-06 03:21:35 +08:00
<div className={styles.hidden} id='camDesc'>
Chooses a camera source from the dropdown menu.</div>
</div>
<div style={{ height: '20%' }} className={styles.containerRightHalf} role='presentation'>
2016-08-06 03:21:35 +08:00
<select id='quality' defaultValue='0' tabIndex='8'
aria-labelledby='vidLabel' aria-describedby='vidDesc'>
<option value='0' disabled>Select quality</option>
<option value='1'>Low</option>
<option value='2'>Medium</option>
<option value='3'>High</option>
</select>
<div className={styles.hidden} id='vidLabel'>Video quality</div>
2016-08-06 03:21:35 +08:00
<div className={styles.hidden} id='vidDesc'>
Chooses the video quality level from the dropdown menu.</div>
</div>
<div className={styles.containerLeftHalf}>
<p style={{ margin: '0px' }}>Viewing participants webcams</p>
</div>
</div>
2016-05-06 05:14:39 +08:00
);
}
};