]> arthur.barton.de Git - netdata.git/commitdiff
clickable URLs when a dashboard is not accessible
authorCosta Tsaousis <costa@tsaousis.gr>
Thu, 26 May 2016 18:15:30 +0000 (21:15 +0300)
committerCosta Tsaousis <costa@tsaousis.gr>
Thu, 26 May 2016 18:15:30 +0000 (21:15 +0300)
web/index.html

index 2c994f4359b591e0938d57a025b75b546fcf5e86..0c54350aa8f19b95ae1b652a5bef8c88149a9e1a 100644 (file)
@@ -1018,7 +1018,7 @@ if(isdemo()) {
 var gotoServerValidateRemaining = 0;
 function gotoServerValidateUrl(id, guid, url) {
        setTimeout(function() {
-               document.getElementById('gotoServerList').innerHTML += '<tr><td style="padding-left: 20px;">' + url + '</td><td style="padding-left: 30px;"><code id="' + guid + '-' + id + '-status">checking...</code></td></tr>';
+               document.getElementById('gotoServerList').innerHTML += '<tr><td style="padding-left: 20px;"><a href="' + url + '" target="_blank">' + url + '</a></td><td style="padding-left: 30px;"><code id="' + guid + '-' + id + '-status">checking...</code></td></tr>';
                NETDATA.registry.hello(url, function(data) {
                        if (data) {
                                console.log('OK ' + id + ' URL: ' + url);