Terminal fullscreen close button now on right, #3819
Ylian Saint-Hilaire committed
Mar 29, 2022 at 22:10 UTC
3e0b76d423f26108edc8ad6eacebdfab51283d94
2 files changed
+2
-2
meshuser.js
+1
-1
@@ -4244,7 +4244,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
4244
break;
4245
}
4246
case 'uicustomevent': {
4247
- // Event the change
4247
+ // Event the custom UI action
4248
var message = { etype: 'user', userid: user._id, username: user.name, action: 'uicustomevent', domain: domain.id, uisection: command.section, element: command.element };
4249
if (command.selectedDevices != null) { message.selectedDevices = command.selectedDevices; }
4250
if (command.src != null) { message.src = command.src; }
views/default.handlebars
+1
-1
@@ -724,13 +724,13 @@
724
<tr>
725
<td class="areaHead" style="line-height:22px">
726
<div class="toright2">
727
+ <div id="idx_termFullBtn2" onclick=deskToggleFull(event) style="float:right"> ✖</div>
728
<div id="termRecordIcon" class='deskareaicon' title="Server is recording this session" style="display:none;background-color:red;width:12px;height:12px;border-radius:6px;margin-top:5px;margin-left:5px"></div>
729
<input id="termActionsBtn" type=button title="Perform power actions on the device" onkeypress="return false" onkeydown="return false" value=Actions onclick=deviceActionFunction() />
730
<div id="terminalCustomUpperRight" style="float:left;margin-right:6px"></div>
731
<div id="terminalCustomUiButtons" style="float:left"></div>
732
</div>
733
<div>
733
- <div id="idx_termFullBtn2" onclick=deskToggleFull(event)> ✖</div>
734
<input type="button" id="autoconnectbutton2" value="AutoConnect" onclick=autoConnectTerminal(event) onkeypress="return false" onkeydown="return false" style="display:none" /><span id="connectbutton2span" style="margin-right:4px"><input type="button" id="connectbutton2" cmenu="termConnectButton" value="Connect" onclick=connectTerminal(event,1) onkeypress="return false" onkeydown="return false" disabled="disabled" /></span><span id="connectbutton2hspan" style="margin-right:4px"><input type="button" id="connectbutton2h" value="HW Connect" title="Connect using Intel® AMT hardware KVM" onclick=connectTerminal(event,2) onkeypress="return false" onkeydown="return false" disabled="disabled" /></span><span id="disconnectbutton2span" style="margin-right:4px"><input type="button" id="disconnectbutton2" value="Disconnect" onclick=connectTerminal(event,0) onkeypress="return false" onkeydown="return false" /></span>
735
<span id="termstatus" style="line-height:22px">Disconnected</span><span id="termtitle"></span>
736
</div>