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

Function display_graph_link

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

Source from the content-addressed store, hash-verified

219}
220
221function display_graph_link(results) {
222 if (!('message' in results)) {
223 document.getElementById("htTitleRow").prepend(create_div_title("net_graph", "Network Graph"));
224 document.getElementById("htDataRow").prepend(create_div_data("net_graph", create_button("View Graph", "net_graph_button", "icon", "S", "search")));
225
226 document.getElementById("net_graph_button").addEventListener("click", function () { window.open('/graph?zone=' + document.getElementById("search_input").value); });
227 }
228}
229
230function display_cert_graph_link(results) {
231 if (!('message' in results) && document.getElementById('cert_graph_button') == null) {

Callers 1

display_response_countFunction · 0.85

Calls 3

create_buttonFunction · 0.85
create_div_titleFunction · 0.70
create_div_dataFunction · 0.70

Tested by

no test coverage detected