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

Function display_cert_graph_link

web_server/public/javascripts/zone_ui.js:230–237  ·  view source on GitHub ↗
(results)

Source from the content-addressed store, hash-verified

228}
229
230function display_cert_graph_link(results) {
231 if (!('message' in results) && document.getElementById('cert_graph_button') == null) {
232 document.getElementById("secDataRow").prepend(create_div_data("cert_graph", create_button("View Certificate Graph", "cert_graph_button", "icon", "S", "search")));
233 document.getElementById("secTitleRow").prepend(create_div_title("cert_graph", "TLS Certificate Graph"));
234
235 document.getElementById("cert_graph_button").addEventListener("click", function () { window.open('/cert_graph?zone=' + document.getElementById("search_input").value); });
236 }
237}
238
239function display_whois_data(results) {
240 if ('message' in results) {

Callers 1

display_response_countFunction · 0.85

Calls 3

create_buttonFunction · 0.85
create_div_dataFunction · 0.70
create_div_titleFunction · 0.70

Tested by

no test coverage detected