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

Function display_scan_list

web_server/public/javascripts/certs.js:800–824  ·  view source on GitHub ↗
(results)

Source from the content-addressed store, hash-verified

798}
799
800function display_scan_list(results) {
801 let displayHTML = create_new_list("scanList");
802 for (let result in results) {
803 if (results[result]['_id'] != null) {
804 let safeName = results[result]['_id'].replace(/ /g, "");
805 IssuerList[safeName] = results[result]['_id'];
806 displayHTML += create_list_entry(safeName, results[result]['_id'] + ": ", "#", true, "lockOn")
807 }
808 }
809
810 displayHTML += end_list();
811
812 document.getElementById("summaryList").innerHTML = displayHTML;
813
814 for (let name in IssuerList) {
815 document.getElementById(name + "_link").addEventListener("click", fetch_scan_CA_details);
816 }
817
818 for (let result in results) {
819 if (results[result]['_id'] != null) {
820 let safeName = results[result]['_id'].replace(/ /g, "");
821 document.getElementById(safeName + "_count").innerHTML = results[result]['count'];
822 }
823 }
824}
825
826function fetch_scan_ca_list() {
827 var url;

Callers

nothing calls this directly

Calls 3

create_new_listFunction · 0.85
create_list_entryFunction · 0.85
end_listFunction · 0.85

Tested by

no test coverage detected