Skip to content

Commit

Permalink
[mirotalkwebrtc] - improve UI, update dep
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Nov 27, 2024
1 parent d84190f commit 056bffd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
11 changes: 11 additions & 0 deletions frontend/css/client.css
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,11 @@ iframe {
}

#addRoomDiv {
display: flex;
position: absolute;
float: right;
right: 15px;
gap: 5px;
}

.add-row-select-options {
Expand Down Expand Up @@ -841,6 +843,9 @@ tr:nth-child(even) {
left: 250px;
width: calc(100% - 250px);
}
.dash-content .boxes {
display: flex;
}
}

@media (max-width: 780px) {
Expand All @@ -854,12 +859,18 @@ tr:nth-child(even) {
.accountDiv {
width: 100%;
}
.dash-content .boxes {
display: flex;
}
}

@media (max-width: 560px) {
.dash-content .boxes .box {
width: 100%;
}
.dash-content .boxes {
display: none;
}
}

@media (max-width: 450px) {
Expand Down
1 change: 0 additions & 1 deletion frontend/html/client.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@

<div id="dsRooms" class="dsRooms fadeIn">
<div class="title">
<span class="text">Rooms</span>
<div id="addRoomDiv">
<button id="open-add-btn" class="custom-button uil uil-plus">Add New Room</button>
<button id="refresh-page-btn" class="custom-button uil uil-sync"></button>
Expand Down
6 changes: 3 additions & 3 deletions frontend/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @license For private project or commercial purposes contact us at: [email protected] or purchase it directly via Code Canyon:
* @license https://codecanyon.net/item/a-selfhosted-mirotalks-webrtc-rooms-scheduler-server/42643313
* @author Miroslav Pejic - [email protected]
* @version 1.1.18
* @version 1.1.19
*/

const isMobile = !!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(
Expand Down Expand Up @@ -274,8 +274,8 @@ function handleUserRoles() {
}

function toggleElements() {
elemDisplay(hideBoxesDS, true);
elemDisplay(showBoxesDS, false);
elemDisplay(hideBoxesDS, !isMobile);
elemDisplay(showBoxesDS, isMobile);
elemDisplay(navP2P, config.MiroTalk.P2P.Visible);
elemDisplay(navSFU, config.MiroTalk.SFU.Visible);
elemDisplay(navC2C, config.MiroTalk.C2C.Visible);
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalkwebrtc",
"version": "1.1.18",
"version": "1.1.19",
"description": "MiroTalk WebRTC admin",
"main": "server.js",
"scripts": {
Expand Down Expand Up @@ -33,8 +33,8 @@
"license": "AGPL-3.0",
"homepage": "https://github.com/miroslavpejic85/mirotalkwebrtc",
"dependencies": {
"@sentry/node": "^8.40.0",
"axios": "^1.7.7",
"@sentry/node": "^8.41.0",
"axios": "^1.7.8",
"bcryptjs": "^2.4.3",
"colors": "1.4.0",
"compression": "^1.7.5",
Expand All @@ -44,14 +44,14 @@
"express": "^4.21.1",
"jsonwebtoken": "^9.0.2",
"js-yaml": "^4.1.0",
"mongoose": "^8.8.2",
"mongoose": "^8.8.3",
"ngrok": "^5.0.0-beta.2",
"nodemailer": "^6.9.16",
"swagger-ui-express": "^5.0.1",
"twilio": "^5.3.6"
},
"devDependencies": {
"nodemon": "^3.1.7",
"prettier": "3.3.3"
"prettier": "3.4.1"
}
}

0 comments on commit 056bffd

Please sign in to comment.