From 1c162a9658d1b1cdf1d558486541e71569a20c11 Mon Sep 17 00:00:00 2001 From: Bobak Oftadeh Date: Mon, 3 Dec 2018 06:01:19 +0000 Subject: [PATCH 001/163] Added option to use modal component without header border --- .../audio/audio-modal/component.jsx | 17 +-- .../components/audio/audio-modal/styles.scss | 1 + .../ui/components/lock-viewers/component.jsx | 17 +-- .../ui/components/lock-viewers/styles.scss | 2 +- .../ui/components/modal/simple/component.jsx | 22 ++- .../ui/components/modal/simple/styles.scss | 5 + .../ui/components/video-preview/component.jsx | 133 ++++++++---------- .../ui/components/video-preview/styles.scss | 2 + 8 files changed, 95 insertions(+), 104 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx b/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx index cc9e6a3c83..437b894475 100755 --- a/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/audio/audio-modal/component.jsx @@ -1,6 +1,6 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import ModalBase from '/imports/ui/components/modal/base/component'; +import Modal from '/imports/ui/components/modal/simple/component'; import Button from '/imports/ui/components/button/component'; import { defineMessages, injectIntl, intlShape } from 'react-intl'; import { styles } from './styles'; @@ -9,6 +9,7 @@ import AudioSettings from '../audio-settings/component'; import EchoTest from '../echo-test/component'; import Help from '../help/component'; + const propTypes = { intl: intlShape.isRequired, closeModal: PropTypes.func.isRequired, @@ -392,10 +393,11 @@ class AudioModal extends Component { return ( {showPermissionsOvelay ? : null} - {!this.skipAudioOptions() ? @@ -410,22 +412,13 @@ class AudioModal extends Component { intl.formatMessage(intlMessages.audioChoiceLabel)} } -