[mirotalksfu] - improve settings UI
هذا الالتزام موجود في:
@@ -440,7 +440,7 @@ th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* on open display devices tab */
|
/* on open display devices tab */
|
||||||
#tabDevices {
|
#tabVideoDevices {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -146,7 +146,8 @@ function initClient() {
|
|||||||
setTippy('aboutButton', 'About this project', 'right');
|
setTippy('aboutButton', 'About this project', 'right');
|
||||||
setTippy('exitButton', 'Leave room', 'right');
|
setTippy('exitButton', 'Leave room', 'right');
|
||||||
setTippy('mySettingsCloseBtn', 'Close', 'right');
|
setTippy('mySettingsCloseBtn', 'Close', 'right');
|
||||||
setTippy('tabDevicesBtn', 'Devices', 'top');
|
setTippy('tabVideoDevicesBtn', 'Video devices', 'top');
|
||||||
|
setTippy('tabAudioDevicesBtn', 'Audio devices', 'top');
|
||||||
setTippy('tabRecordingBtn', 'Recording', 'top');
|
setTippy('tabRecordingBtn', 'Recording', 'top');
|
||||||
setTippy('tabRoomBtn', 'Room', 'top');
|
setTippy('tabRoomBtn', 'Room', 'top');
|
||||||
setTippy('tabVideoShareBtn', 'Video share', 'top');
|
setTippy('tabVideoShareBtn', 'Video share', 'top');
|
||||||
@@ -953,8 +954,11 @@ function handleButtons() {
|
|||||||
mySettingsCloseBtn.onclick = () => {
|
mySettingsCloseBtn.onclick = () => {
|
||||||
rc.toggleMySettings();
|
rc.toggleMySettings();
|
||||||
};
|
};
|
||||||
tabDevicesBtn.onclick = (e) => {
|
tabVideoDevicesBtn.onclick = (e) => {
|
||||||
rc.openTab(e, 'tabDevices');
|
rc.openTab(e, 'tabVideoDevices');
|
||||||
|
};
|
||||||
|
tabAudioDevicesBtn.onclick = (e) => {
|
||||||
|
rc.openTab(e, 'tabAudioDevices');
|
||||||
};
|
};
|
||||||
tabRecordingBtn.onclick = (e) => {
|
tabRecordingBtn.onclick = (e) => {
|
||||||
rc.openTab(e, 'tabRecording');
|
rc.openTab(e, 'tabRecording');
|
||||||
|
|||||||
@@ -146,8 +146,11 @@ access to use this app.
|
|||||||
</header>
|
</header>
|
||||||
<main class="mySettingsMain">
|
<main class="mySettingsMain">
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<button id="tabDevicesBtn" class="fas fa-cog tablinks">
|
<button id="tabVideoDevicesBtn" class="fas fa-video tablinks">
|
||||||
<p class="tabButtonText">Device</p>
|
<p class="tabButtonText">Video</p>
|
||||||
|
</button>
|
||||||
|
<button id="tabAudioDevicesBtn" class="fas fa-microphone tablinks">
|
||||||
|
<p class="tabButtonText">Audio</p>
|
||||||
</button>
|
</button>
|
||||||
<button id="tabRoomBtn" class="fas fa-home tablinks">
|
<button id="tabRoomBtn" class="fas fa-home tablinks">
|
||||||
<p class="tabButtonText">Room</p>
|
<p class="tabButtonText">Room</p>
|
||||||
@@ -170,7 +173,7 @@ access to use this app.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tabActions">
|
<div class="tabActions">
|
||||||
<div id="tabDevices" class="tabcontent">
|
<div id="tabVideoDevices" class="tabcontent">
|
||||||
<br />
|
<br />
|
||||||
<i class="fas fa-video"></i>
|
<i class="fas fa-video"></i>
|
||||||
<p>Video Source:</p>
|
<p>Video Source:</p>
|
||||||
@@ -188,6 +191,10 @@ access to use this app.
|
|||||||
<option value="4k">🎥 4K</option>
|
<option value="4k">🎥 4K</option>
|
||||||
</select>
|
</select>
|
||||||
<br />
|
<br />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="tabAudioDevices" class="tabcontent">
|
||||||
|
<br />
|
||||||
<i class="fas fa-microphone"></i>
|
<i class="fas fa-microphone"></i>
|
||||||
<p>Microphone:</p>
|
<p>Microphone:</p>
|
||||||
<select id="microphoneSelect" class="form-select text-light bg-dark"></select>
|
<select id="microphoneSelect" class="form-select text-light bg-dark"></select>
|
||||||
@@ -198,6 +205,7 @@ access to use this app.
|
|||||||
<select id="speakerSelect" class="form-select text-light bg-dark"></select>
|
<select id="speakerSelect" class="form-select text-light bg-dark"></select>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tabRoom" class="tabcontent">
|
<div id="tabRoom" class="tabcontent">
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم