mirror of https://github.com/sualko/cloud_bbb
Compare commits
5 Commits
ab314393e9
...
f57c25eab2
Author | SHA1 | Date |
---|---|---|
|
f57c25eab2 | |
|
bcf33e99e9 | |
|
e34c3b6e9e | |
|
b099136690 | |
|
7f1760c372 |
|
@ -161,8 +161,23 @@ pre {
|
||||||
.bbb-shrink {
|
.bbb-shrink {
|
||||||
width: 44px;
|
width: 44px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
|
||||||
|
|
||||||
|
input[type="checkbox"]{
|
||||||
|
|
||||||
|
&+label:before {
|
||||||
|
border-radius: 3px;
|
||||||
|
border-width: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:disabled+label:before {
|
||||||
|
opacity: .5;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:not(input:checked):disabled+label:before {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
padding: 14px 6px;
|
padding: 14px 6px;
|
||||||
|
|
|
@ -253,27 +253,22 @@ const RoomRow: React.FC<Props> = (props) => {
|
||||||
<td className="max-participants bbb-shrink">
|
<td className="max-participants bbb-shrink">
|
||||||
{edit('maxParticipants', 'number', adminRoom, {min: minParticipantsLimit, max: maxParticipantsLimit < 0 ? undefined : maxParticipantsLimit})}
|
{edit('maxParticipants', 'number', adminRoom, {min: minParticipantsLimit, max: maxParticipantsLimit < 0 ? undefined : maxParticipantsLimit})}
|
||||||
</td>
|
</td>
|
||||||
{adminRoom &&
|
|
||||||
<td className="record bbb-shrink">
|
<td className="record bbb-shrink">
|
||||||
<input id={'bbb-record-' + room.id} type="checkbox" className="checkbox" disabled={!props.restriction?.allowRecording} checked={room.record} onChange={(event) => updateRoom('record', event.target.checked)} />
|
<input id={'bbb-record-' + room.id} type="checkbox" className="checkbox" disabled={!adminRoom || !props.restriction?.allowRecording} checked={room.record} onChange={(event) => updateRoom('record', event.target.checked)} />
|
||||||
<label htmlFor={'bbb-record-' + room.id}></label>
|
<label htmlFor={'bbb-record-' + room.id}></label>
|
||||||
</td>
|
</td>
|
||||||
}
|
|
||||||
{!adminRoom &&
|
|
||||||
<td className="record bbb-shrink">
|
|
||||||
<span className={'icon '+(room.record ? 'icon-checkmark' : 'icon-close')+' icon-visible'}></span>
|
|
||||||
</td>
|
|
||||||
}
|
|
||||||
<td className="bbb-shrink">
|
<td className="bbb-shrink">
|
||||||
{<RecordingsNumber recordings={recordings} showRecordings={showRecordings} setShowRecordings={setShowRecordings} />}
|
{<RecordingsNumber recordings={recordings} showRecordings={showRecordings} setShowRecordings={setShowRecordings} />}
|
||||||
</td>
|
</td>
|
||||||
<td className="clone icon-col">
|
<td className="clone icon-col">
|
||||||
|
{adminRoom &&
|
||||||
<button
|
<button
|
||||||
className="action-item"
|
className="action-item"
|
||||||
onClick={cloneRow}
|
onClick={cloneRow}
|
||||||
title={t('bbb', 'Clone room')}>
|
title={t('bbb', 'Clone room')}>
|
||||||
<span className="icon icon-template-add icon-visible"></span>
|
<span className="icon icon-template-add icon-visible"></span>
|
||||||
</button>
|
</button>
|
||||||
|
}
|
||||||
</td>
|
</td>
|
||||||
<td className="edit icon-col">
|
<td className="edit icon-col">
|
||||||
{adminRoom &&
|
{adminRoom &&
|
||||||
|
|
Loading…
Reference in New Issue