1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed WebRTC, WebApp UI improvements.

This commit is contained in:
Ylian Saint-Hilaire 2020-04-15 16:20:55 -07:00
parent 9be8af9214
commit a16d2d5f12
5 changed files with 611 additions and 511 deletions

View file

@ -74,7 +74,7 @@ var CreateAgentRedirect = function (meshserver, module, serverPublicNamePort, au
if (controlMsg.type == 'console') {
obj.consoleMessage = controlMsg.msg;
if (obj.onConsoleMessageChange) { obj.onConsoleMessageChange(obj, obj.consoleMessage); }
} else if ((controlMsg.type = 'rtt') && (typeof controlMsg.time == 'number')) {
} else if ((controlMsg.type == 'rtt') && (typeof controlMsg.time == 'number')) {
obj.latency.current = (new Date().getTime()) - controlMsg.time;
if (obj.latency.callbacks != null) { obj.latency.callback(obj.latency.current); }
} else if (obj.webrtc != null) {

View file

@ -1521,6 +1521,10 @@ a {
padding: 3px;
}
.night .style6 {
background-color: #333;
}
.style7 {
font-size: large;
width: 180px;
@ -1651,6 +1655,10 @@ a {
border-radius: 3px;
}
.night .filelist:hover {
background: #444;
}
.noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
@ -2065,6 +2073,11 @@ a {
background: #C0C0C0;
}
.night .areaHead {
color: #CCC;
background: #333;
}
.areaProgress {
background-color: gray;
}
@ -2081,6 +2094,11 @@ a {
background: #C0C0C0;
}
.night .areaFoot {
color: #CCC;
background: #333;
}
.toright2 {
float: right;
text-align: right;
@ -2365,11 +2383,19 @@ a {
padding: 4px;
}
.night #p13toolbar .areaHead2 {
background-color: #333;
}
#p13toolbar .areaHead3 {
background-color: #E4E9E7;
height: 28px;
}
.night #p13toolbar .areaHead3 {
background-color: #333;
}
#p13filetable {
width: 100%;
height: calc(100vh - 323px);