diff --git a/Myrtille.Web/Default.aspx b/Myrtille.Web/Default.aspx index 7c427c5..42a3195 100644 --- a/Myrtille.Web/Default.aspx +++ b/Myrtille.Web/Default.aspx @@ -329,14 +329,14 @@ -
Loading
+
Launching Connection
@@ -344,14 +344,14 @@
- Certificate Accepted. + Certificate validated. You can launch web-based RDP connections. Close
-

. . .

. . .

+

. . .

. . .

Ctrl+Alt+Delete
Clipboard
Disconnect
diff --git a/Myrtille.Web/css/securden.css b/Myrtille.Web/css/securden.css index b0f59e7..e2028f7 100644 --- a/Myrtille.Web/css/securden.css +++ b/Myrtille.Web/css/securden.css @@ -1,4 +1,4 @@ -.web-rdp-session-body { +.web-rdp-session-body, * { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" } @@ -227,7 +227,6 @@ span.webrdp-dialog-message-text { position: absolute; z-index: 1000; text-align: center; - border: 1px solid #d3d3d3; width: 125px; top: 10px; opacity: .6; @@ -240,15 +239,13 @@ span.webrdp-dialog-message-text { } #remoteOperationsHeader { - padding: 0 0 1px 0; cursor: move; z-index: 10; background-color: #2196F3; color: #fff; float: left; - height: 19px; + height: 21px; box-sizing: border-box; - margin-top: -1px; width: 100%; border-bottom: 1px solid #eee; } @@ -279,3 +276,44 @@ span.webrdp-dialog-message-text { color: #ffffff; background-color: #2096f3; } + +.remote-clip-span { + font-weight: normal !important; + height: 50px; + display: block; + line-height: 50px; + box-sizing: border-box; + font-size: 14px; + text-align: center; +} + +.remote-clip-input { + resize: none; + width: 520px !important; + margin-left: 12px; +} + +.remote-clip-button { + float: left; + margin: 8px 5px 5px; + font-size: 14px; + font-weight: bold; + border-radius: 2px; + cursor: pointer; + padding: 5px 15px; +} + + .remote-clip-button.remote-clip-copy { + background-color: #2196F3; + margin-left: 210px; + } + + .remote-clip-button.remote-clip-close { + background-color: #d5d5d5; + color: #666; + } + +#pasteClipboardPopup { + width: 550px !important; + height: 260px !important; +} diff --git a/Myrtille.Web/js/securden.js b/Myrtille.Web/js/securden.js index 7e2b0b1..2f36c94 100644 --- a/Myrtille.Web/js/securden.js +++ b/Myrtille.Web/js/securden.js @@ -79,7 +79,7 @@ function onSessionDisconnection() { } function disconnectSession() { - if (confirm("Do you want to disconnect the session? Note: The session won't be logged off.")) { + if (confirm("Do you want to disconnect? The remote session will be simply disconnected and not logged out.")) { doDisconnect(); } } @@ -89,7 +89,7 @@ function closeTab() { window.close(); hideLoadingDiv(); hideRemoteOperationsDiv(); - showErrorMessage("Unexpected Error.", true); + setTimeout(function () { showErrorMessage("Unexpected Error.", true); }, 1000); } function dragElement(elmnt) { @@ -126,8 +126,8 @@ function dragElement(elmnt) { pos4 = e.clientY; // set the element's new position: var topPixel = (elmnt.offsetTop - pos2) - if (topPixel > (clientHeight - 143)) { - topPixel = clientHeight - 143; + if (topPixel > (clientHeight - 145)) { + topPixel = clientHeight - 145; } else if (topPixel < 0) { topPixel = 0; } diff --git a/Myrtille.Web/popups/CopyClipboard.aspx b/Myrtille.Web/popups/CopyClipboard.aspx index 971be07..fbad28a 100644 --- a/Myrtille.Web/popups/CopyClipboard.aspx +++ b/Myrtille.Web/popups/CopyClipboard.aspx @@ -73,7 +73,7 @@ // working on Edge and every other browsers if (!parent.getMyrtille().getDisplay().isIEBrowser()) { - alert('clipboard successfully synchronized'); + alert('Text copied from the clipboard of the remote computer.'); } else { diff --git a/Myrtille.Web/popups/PasteClipboard.aspx b/Myrtille.Web/popups/PasteClipboard.aspx index 90219d3..2e9f667 100644 --- a/Myrtille.Web/popups/PasteClipboard.aspx +++ b/Myrtille.Web/popups/PasteClipboard.aspx @@ -26,6 +26,8 @@ Myrtille + + @@ -34,13 +36,15 @@
- - Type or paste some text then click send -
-
+ + Type or paste the content to be copied to the clipboard of the remote computer. + +
- - + + +
Copy
+
Close
@@ -102,7 +106,7 @@ // working on Edge and every other browsers if (!parent.getMyrtille().getDisplay().isIEBrowser()) { - alert('clipboard successfully synchronized'); + alert('Text copied to the clipboard of the remote computer.'); } else {