mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-15 16:53:14 -05:00
move rdpport to right side to fix translations #5834
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
9ef1cc64a4
commit
bb93c113bd
@ -684,6 +684,7 @@
|
|||||||
<input id="deskActionsBtn" type=button title="Perform power actions on the device" onkeypress="return false" onkeydown="return false" value=Actions onclick=deviceActionFunction() class="mR" />
|
<input id="deskActionsBtn" type=button title="Perform power actions on the device" onkeypress="return false" onkeydown="return false" value=Actions onclick=deviceActionFunction() class="mR" />
|
||||||
<input id="deskActionsSettings" type="button" value="Settings..." title="Edit remote desktop settings" onkeypress="return false" onkeydown="return false" onclick="showDesktopSettings()" class="mR" />
|
<input id="deskActionsSettings" type="button" value="Settings..." title="Edit remote desktop settings" onkeypress="return false" onkeydown="return false" onclick="showDesktopSettings()" class="mR" />
|
||||||
<input type="button" title="Change the power state of the remote machine" onkeypress="return false" onkeydown="return false" value="Power Actions..." onclick="showPowerActionDlg()" style="display:none" />
|
<input type="button" title="Change the power state of the remote machine" onkeypress="return false" onkeydown="return false" value="Power Actions..." onclick="showPowerActionDlg()" style="display:none" />
|
||||||
|
<div id="desktopCustomUpperRight" style="float:left;margin-right:6px"></div>
|
||||||
<div id="desktopCustomUiButtons" style="float:left"></div>
|
<div id="desktopCustomUiButtons" style="float:left"></div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@ -8989,7 +8990,11 @@
|
|||||||
var online = ((currentNode.conn & 1) != 0); // If Agent (1) connected, enable remote desktop
|
var online = ((currentNode.conn & 1) != 0); // If Agent (1) connected, enable remote desktop
|
||||||
QE('connectbutton1', online);
|
QE('connectbutton1', online);
|
||||||
QE('connectbutton1r', online || (currentNode.mtype == 3));
|
QE('connectbutton1r', online || (currentNode.mtype == 3));
|
||||||
Q('connectbutton1r').value = 'RDP Connect' + ((currentNode.rdpport && currentNode.rdpport != 3389) ? ' ('+currentNode.rdpport + ')' : '');
|
if (currentNode.rdpport && currentNode.rdpport != 3389) {
|
||||||
|
QH('desktopCustomUpperRight', '<a style="cursor:pointer;line-height:22px" onclick="cmaltportaction(1,event)">RDP Port ' + currentNode.rdpport + '</a>');
|
||||||
|
} else {
|
||||||
|
QH('desktopCustomUpperRight', '');
|
||||||
|
}
|
||||||
var hwonline = ((currentNode.conn & 6) != 0); // If CIRA (2) or AMT (4) connected, enable hardware terminal
|
var hwonline = ((currentNode.conn & 6) != 0); // If CIRA (2) or AMT (4) connected, enable hardware terminal
|
||||||
QE('connectbutton1h', hwonline);
|
QE('connectbutton1h', hwonline);
|
||||||
QV('deskFocusBtn', (desktop != null) && (desktop.contype == 2) && (deskState != 0) && (desktopsettings.showfocus));
|
QV('deskFocusBtn', (desktop != null) && (desktop.contype == 2) && (deskState != 0) && (desktopsettings.showfocus));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user