diff --git a/html5/connect.html b/html5/connect.html
index 9fb5ae87..72b1dcc4 100644
--- a/html5/connect.html
+++ b/html5/connect.html
@@ -77,6 +77,10 @@
Version 13 beta
maxlength="5"
/>
+
+
+
+
Advanced options
);
}
- function show_mode(is_proxy) {
- Utilities.debug("show_mode(", is_proxy, ")");
+ function show_mode(mode, is_proxy) {
+ Utilities.debug("show_mode(", mode, ", ", is_proxy, ")");
+ let server_info = "";
+ let host_address = get_host_address(true);
+ if (mode.length > 0) {
+ server_info = host_address + " is a '" + mode + "' server";
+ }
+ else {
+ server_info = "no information available for " + host_address;
+ }
+ document.getElementById("server-info").innerText = server_info;
if (is_proxy) {
//show all options:
$("#action_connect_group").show();
@@ -1417,13 +1430,13 @@ Advanced options
mode.indexOf("desktop") >= 0 ||
mode.indexOf("shadow") >= 0
) {
- show_mode(false);
+ show_mode(mode, false);
} else {
- show_mode(true);
+ show_mode(mode, true);
}
},
function (error) {
- show_mode(true);
+ show_mode("", true);
}
);
}
diff --git a/html5/css/signin.css b/html5/css/signin.css
index 27d4fd13..82ec3f23 100644
--- a/html5/css/signin.css
+++ b/html5/css/signin.css
@@ -100,3 +100,9 @@ div.container {
width: 1.2em;
height: 1.2em;
}
+
+.form-signin span#server-info {
+ padding-left: 20px;
+ font-size: 11px;
+ font-style: italic;
+}
\ No newline at end of file