MCPcopy Create free account
hub / github.com/OWASP/Python-Honeypot / get_layout

Function get_layout

web/static/js/explore.js:673–677  ·  view source on GitHub ↗

* Change layout based on user selection

(layout_type)

Source from the content-addressed store, hash-verified

671 * Change layout based on user selection
672 */
673function get_layout(layout_type) {
674 document.getElementById("dashboard").hidden = (layout_type !== "dashboard");
675 document.getElementById("log-explorer").hidden = (layout_type !== "log-explorer");
676 document.getElementById("log-explorer-table").hidden = (layout_type !== "log-explorer");
677}
678
679load_module_options();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected