[mirotalksfu] - improve participants list UI
هذا الالتزام موجود في:
@@ -1649,12 +1649,14 @@ async function getParticipantsTable(peers) {
|
|||||||
<th></th>
|
<th></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
<th></th>
|
||||||
</tr>`;
|
</tr>`;
|
||||||
|
|
||||||
if (!isRulesActive || isPresenter) {
|
if (!isRulesActive || isPresenter) {
|
||||||
table += `
|
table += `
|
||||||
<tr>
|
<tr>
|
||||||
<td> <i class="fas fa-users fa-lg"></i> all</td>
|
<td><i class="fas fa-users fa-lg"></i></td>
|
||||||
|
<td>all</td>
|
||||||
<td><button id="muteAllButton" onclick="rc.peerAction('me','${rc.peer_id}','mute',true,true)">${_PEER.audioOff}</button></td>
|
<td><button id="muteAllButton" onclick="rc.peerAction('me','${rc.peer_id}','mute',true,true)">${_PEER.audioOff}</button></td>
|
||||||
<td><button id="hideAllButton" onclick="rc.peerAction('me','${rc.peer_id}','hide',true,true)">${_PEER.videoOff}</button></td>
|
<td><button id="hideAllButton" onclick="rc.peerAction('me','${rc.peer_id}','hide',true,true)">${_PEER.videoOff}</button></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
@@ -1680,7 +1682,8 @@ async function getParticipantsTable(peers) {
|
|||||||
if (rc.peer_id === peer_id) {
|
if (rc.peer_id === peer_id) {
|
||||||
table += `
|
table += `
|
||||||
<tr id='${peer_name}'>
|
<tr id='${peer_name}'>
|
||||||
<td><img src='${avatarImg}'> ${peer_name} (me)</td>
|
<td><img src='${avatarImg}'></td>
|
||||||
|
<td>${peer_name} (me)</td>
|
||||||
<td><button>${peer_audio}</button></td>
|
<td><button>${peer_audio}</button></td>
|
||||||
<td><button>${peer_video}</button></td>
|
<td><button>${peer_video}</button></td>
|
||||||
<td><button>${peer_hand}</button></td>
|
<td><button>${peer_hand}</button></td>
|
||||||
@@ -1694,7 +1697,8 @@ async function getParticipantsTable(peers) {
|
|||||||
if (isRulesActive && isPresenter) {
|
if (isRulesActive && isPresenter) {
|
||||||
table += `
|
table += `
|
||||||
<tr id='${peer_id}'>
|
<tr id='${peer_id}'>
|
||||||
<td><img src='${avatarImg}'> ${peer_name}</td>
|
<td><img src='${avatarImg}'></td>
|
||||||
|
<td>${peer_name}</td>
|
||||||
<td><button id='${peer_id}___pAudio' onclick="rc.peerAction('me',this.id,'mute')">${peer_audio}</button></td>
|
<td><button id='${peer_id}___pAudio' onclick="rc.peerAction('me',this.id,'mute')">${peer_audio}</button></td>
|
||||||
<td><button id='${peer_id}___pVideo' onclick="rc.peerAction('me',this.id,'hide')">${peer_video}</button></td>
|
<td><button id='${peer_id}___pVideo' onclick="rc.peerAction('me',this.id,'hide')">${peer_video}</button></td>
|
||||||
<td><button>${peer_hand}</button></td>
|
<td><button>${peer_hand}</button></td>
|
||||||
@@ -1707,7 +1711,8 @@ async function getParticipantsTable(peers) {
|
|||||||
} else {
|
} else {
|
||||||
table += `
|
table += `
|
||||||
<tr id='${peer_id}'>
|
<tr id='${peer_id}'>
|
||||||
<td><img src='${avatarImg}'> ${peer_name}</td>
|
<td><img src='${avatarImg}'></td>
|
||||||
|
<td>${peer_name}</td>
|
||||||
<td><button id='${peer_id}___pAudio'>${peer_audio}</button></td>
|
<td><button id='${peer_id}___pAudio'>${peer_audio}</button></td>
|
||||||
<td><button id='${peer_id}___pVideo'>${peer_video}</button></td>
|
<td><button id='${peer_id}___pVideo'>${peer_video}</button></td>
|
||||||
<td><button>${peer_hand}</button></td>
|
<td><button>${peer_hand}</button></td>
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم