diff options
Diffstat (limited to '')
-rw-r--r-- | web/gui/registry.html (renamed from web/registry.html) | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/web/registry.html b/web/gui/registry.html index 16a9db9e6..3be7952e2 100644 --- a/web/registry.html +++ b/web/gui/registry.html @@ -1,4 +1,5 @@ <!DOCTYPE html> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <html lang="en"> <head> <title>NetData Registry Dashboard</title> @@ -114,11 +115,11 @@ var netdataRegistryCallback = function(machines_array) { while(len--) { var u = machines[len]; - var status = "enabled"; + //var status = "enabled"; found++; - if(u.guid === NETDATA.registry.machine_guid) - status = "disabled" + //if(u.guid === NETDATA.registry.machine_guid) + // status = "disabled"; el += registryAddServer(u); a1 += '<li id="registry_action_' + u.guid + '"><a href="#" onclick="deleteRegistryModalHandler(\'' + u.guid + '\',\'' + u.name + '\',\'' + u.url + '\'); return false;"><i class="fa fa-trash-o" aria-hidden="true" style="color: #999;"></i></a></li>'; @@ -127,9 +128,9 @@ var netdataRegistryCallback = function(machines_array) { if(!found) { if(machines) - el += '<li><a href="https://github.com/firehol/netdata/wiki/mynetdata-menu-item" style="color: #666;" target="_blank">your netdata server list is empty...</a></li>'; + el += '<li><a href="https://github.com/netdata/netdata/wiki/mynetdata-menu-item" style="color: #666;" target="_blank">your netdata server list is empty...</a></li>'; else - el += '<li><a href="https://github.com/firehol/netdata/wiki/mynetdata-menu-item" style="color: #666;" target="_blank">failed to contact the registry...</a></li>'; + el += '<li><a href="https://github.com/netdata/netdata/wiki/mynetdata-menu-item" style="color: #666;" target="_blank">failed to contact the registry...</a></li>'; a1 += '<li><a href="#"> </a></li>'; @@ -146,8 +147,8 @@ var netdataRegistryCallback = function(machines_array) { el += '<li role="separator" class="divider"></li>'; a1 += '<li role="separator" class="divider"></li>'; - el += '<li><a href="https://github.com/firehol/netdata/wiki/mynetdata-menu-item" style="color: #999;" target="_blank">What is this?</a></li>'; - a1 += '<li><a href="#" style="color: #999;" onclick="switchRegistryModalHandler(); return false;"><i class="fa fa-cog" aria-hidden="true" style="color: #999;"></i></a></li>' + el += '<li><a href="https://github.com/netdata/netdata/wiki/mynetdata-menu-item" style="color: #999;" target="_blank">What is this?</a></li>'; + a1 += '<li><a href="#" style="color: #999;" onclick="switchRegistryModalHandler(); return false;"><i class="fa fa-cog" aria-hidden="true" style="color: #999;"></i></a></li>'; document.getElementById('mynetdata_servers').innerHTML = el; //document.getElementById('mynetdata_servers2').innerHTML = el; |