Skip to content
Snippets Groups Projects
Commit 157d93be authored by juanf's avatar juanf
Browse files

SSDM-3449 : Direct link to host

SVN: 36082
parent 87d35616
No related branches found
No related tags found
No related merge requests found
...@@ -236,13 +236,20 @@ var Util = new function() { ...@@ -236,13 +236,20 @@ var Util = new function() {
'overflow' : 'hidden' 'overflow' : 'hidden'
}; };
var $window = $("<div>").append($("<h1>").append("Direct Link")) var $close = $("<div>", { style : "float:right;" })
.append($("<a>", { class : 'btn btn-default' }).append($("<span>", { class : 'glyphicon glyphicon-remove' }))).click(function() {
Util.unblockUI();
});
var $window = $("<div>").append($close).append($("<h1>").append("Direct Link"))
.append("Please use this link to access the folder though the network: ") .append("Please use this link to access the folder though the network: ")
.append($("<br>")) .append($("<br>"))
.append("Directly clicking on it will open the default application.") .append("Directly clicking on it will open the default application.")
.append($("<br>")) .append($("<br>"))
.append($("<a>", { "href" : directLink, "target" : "_blank"}).append(directLink)); .append($("<a>", { "href" : directLink, "target" : "_blank"}).append(directLink));
$window.css("margin", "10px"); $window.css("margin-bottom", "10px");
$window.css("margin-left", "10px");
$window.css("margin-right", "10px");
Util.blockUI($window, css); Util.blockUI($window, css);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment