Selaa lähdekoodia

Updates web styling for file recording service sharing option.

master
damencho 6 vuotta sitten
vanhempi
commit
2219298501

+ 5
- 1
config.js Näytä tiedosto

184
     // by enabling fileRecordingsServiceEnabled, we show both the integrations
184
     // by enabling fileRecordingsServiceEnabled, we show both the integrations
185
     // and the generic recording service (its configuration and storage type
185
     // and the generic recording service (its configuration and storage type
186
     // depends on jibri configuration)
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
     // Whether to enable live streaming or not.
193
     // Whether to enable live streaming or not.
190
     // liveStreamingEnabled: false,
194
     // liveStreamingEnabled: false,

+ 9
- 1
css/_recording.scss Näytä tiedosto

11
         flex: 0;
11
         flex: 0;
12
         flex-direction: row;
12
         flex-direction: row;
13
         justify-content: space-between;
13
         justify-content: space-between;
14
-        margin-top: 32px;
14
+        padding-top: 32px;
15
 
15
 
16
         .recording-title {
16
         .recording-title {
17
             display: inline-flex;
17
             display: inline-flex;
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
     .recording-icon-container {
32
     .recording-icon-container {
25
         display: inline-flex;
33
         display: inline-flex;
26
         align-items: center;
34
         align-items: center;

+ 6
- 1
react/features/recording/components/Recording/StartRecordingDialogContent.js Näytä tiedosto

167
             sharingSetting, t } = this.props;
167
             sharingSetting, t } = this.props;
168
 
168
 
169
         const controlDisabled = selectedRecordingService !== RECORDING_TYPES.JITSI_REC_SERVICE;
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
         return (
176
         return (
172
             <Container
177
             <Container
173
-                className = 'recording-header'
178
+                className = { mainContainerClasses }
174
                 key = 'fileSharingSetting'
179
                 key = 'fileSharingSetting'
175
                 style = { [
180
                 style = { [
176
                     styles.header,
181
                     styles.header,

Loading…
Peruuta
Tallenna