diff --git a/public/css/Room.css b/public/css/Room.css index a63ec88..60eee61 100644 --- a/public/css/Room.css +++ b/public/css/Room.css @@ -584,11 +584,9 @@ button:hover { padding: 8px; } -/* -#roomParticipants tr:nth-child(even) { - background-color: #000000; -} -*/ +/* #roomParticipants tr:nth-child(even) { + background-color: #0c0b0b; +} */ /*-------------------------------------------------------------- # Send File diff --git a/public/js/Room.js b/public/js/Room.js index 0d9ef8c..db38bc0 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -1313,6 +1313,7 @@ async function getRoomParticipants(refresh = false) { participantsCount = peers.size; roomParticipants.innerHTML = table; refreshParticipantsCount(participantsCount); + setTableButtonsTippy(); if (!refresh) { toggleParticipants(); @@ -1380,6 +1381,15 @@ async function getParticipantsTable(peers) { return table; } +function setTableButtonsTippy() { + if (!DetectRTC.isMobileDevice) { + setTippy('muteAllButton', 'Mute all participants', 'top'); + setTippy('hideAllButton', 'Hide all participants', 'top'); + setTippy('sendAllButton', 'Send file to all participants', 'top'); + setTippy('ejectAllButton', 'Eject all participants', 'top'); + } +} + function refreshParticipantsCount(count) { participantsTitle.innerHTML = ` Participants ( ${count} )`; } diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index 606f11a..62aa31a 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -2129,8 +2129,7 @@ class RoomClient { allowEscapeKey: false, background: swalBackground, imageUrl: image.locked, - title: 'Oops, Room Locked', - text: 'The room is locked, Enter the Room password', + title: 'Oops, Room is Locked', input: 'text', inputPlaceholder: 'Enter the Room password', confirmButtonText: `OK`,