status.js 187 B

123456789
  1. function update_node(id, ip, hostname) {
  2. var el = document.getElementById(id);
  3. if (!el)
  4. return;
  5. el.href = "http://[" + ip + "]/";
  6. el.textContent += " (" + hostname + ")";
  7. }