MCPcopy Create free account
hub / github.com/adobe/Marinus / getSrvPortIPList

Function getSrvPortIPList

web_server/public/javascripts/meta.js:494–515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

492}
493
494function getSrvPortIPList() {
495 let port = this.id.substring(4);
496
497 let data = SrvRecords[port];
498 let old_tbody = document.getElementById("srvOutputBody");
499 let new_tbody = document.createElement('tbody');
500
501 document.getElementById("srvTableTitle").innerHTML = "<b> Port " + port + " Results</b>";
502
503 for (let entry in data) {
504 let row = new_tbody.insertRow(0);
505 let cell1 = row.insertCell(0);
506 cell1.style = "text-align:left; padding: 10px;";
507 let cell2 = row.insertCell(1);
508 cell2.style = "text-align:left; padding: 10px;";
509 cell1.innerHTML = data[entry][0];
510 cell2.innerHTML = data[entry][1];
511 }
512
513 old_tbody.parentNode.replaceChild(new_tbody, old_tbody)
514 new_tbody.id = "srvOutputBody";
515}
516
517function process_srv(results) {
518

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected