Skip to content

Commit

Permalink
#86 links
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 31, 2018
1 parent e926f9d commit a690a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/health.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function health_node(addr) {
$ping.text(msec).colorize({ 1000: 'red', 500: 'orange', 0: 'green' });
$tr.find('td.alias').text(json.alias);
$tr.find('td.platform').text(json.platform);
$tr.find('td.cpus').text(json.cpus);
$tr.find('td.cpus').html("<a href='http://" + addr + "/farm'>" + json.cpus + "</a>");
$tr.find('td.memory').text((json.memory / (1024 * 1024)).toFixed(0));
$tr.find('td.load').text(json.load.toFixed(2)).colorize({ 8: 'red', 4: 'orange', 0: 'green' });
$tr.find('td.threads').html("<a href='http://" + addr + "/threads'>" + json.threads + "</a>");
Expand Down

0 comments on commit a690a91

Please sign in to comment.