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