瀏覽代碼

Updates web styling for file recording service sharing option.

master
damencho 6 年之前
父節點
當前提交
2219298501
共有 3 個文件被更改,包括 20 次插入3 次删除
  1. 5
    1
      config.js
  2. 9
    1
      css/_recording.scss
  3. 6
    1
      react/features/recording/components/Recording/StartRecordingDialogContent.js

+ 5
- 1
config.js 查看文件

@@ -184,7 +184,11 @@ var config = {
184 184
     // by enabling fileRecordingsServiceEnabled, we show both the integrations
185 185
     // and the generic recording service (its configuration and storage type
186 186
     // depends on jibri configuration)
187
-    // fileRecordingsServiceEnabled: false
187
+    // fileRecordingsServiceEnabled: false,
188
+    // Whether to show the possibility to share file recording with other people
189
+    // (e.g. meeting participants), based on the actual implementation
190
+    // on the backend.
191
+    // fileRecordingsServiceSharingEnabled: false,
188 192
 
189 193
     // Whether to enable live streaming or not.
190 194
     // liveStreamingEnabled: false,

+ 9
- 1
css/_recording.scss 查看文件

@@ -11,7 +11,7 @@
11 11
         flex: 0;
12 12
         flex-direction: row;
13 13
         justify-content: space-between;
14
-        margin-top: 32px;
14
+        padding-top: 32px;
15 15
 
16 16
         .recording-title {
17 17
             display: inline-flex;
@@ -21,6 +21,14 @@
21 21
         }
22 22
     }
23 23
 
24
+    .recording-header-line {
25
+        border-top: 1px solid #5e6d7a;
26
+    }
27
+
28
+    .recording-switch-disabled {
29
+        opacity: 0.5;
30
+    }
31
+
24 32
     .recording-icon-container {
25 33
         display: inline-flex;
26 34
         align-items: center;

+ 6
- 1
react/features/recording/components/Recording/StartRecordingDialogContent.js 查看文件

@@ -167,10 +167,15 @@ class StartRecordingDialogContent extends Component<Props> {
167 167
             sharingSetting, t } = this.props;
168 168
 
169 169
         const controlDisabled = selectedRecordingService !== RECORDING_TYPES.JITSI_REC_SERVICE;
170
+        let mainContainerClasses = 'recording-header recording-header-line';
171
+
172
+        if (controlDisabled) {
173
+            mainContainerClasses += ' recording-switch-disabled';
174
+        }
170 175
 
171 176
         return (
172 177
             <Container
173
-                className = 'recording-header'
178
+                className = { mainContainerClasses }
174 179
                 key = 'fileSharingSetting'
175 180
                 style = { [
176 181
                     styles.header,

Loading…
取消
儲存