MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / browser_css

Function browser_css

web/pgadmin/browser/__init__.py:600–610  ·  view source on GitHub ↗

Render and return CSS snippets from the nodes and modules.

()

Source from the content-addressed store, hash-verified

598@pgCSRFProtect.exempt
599@pga_login_required
600def browser_css():
601 """Render and return CSS snippets from the nodes and modules."""
602 snippets = []
603
604 for submodule in blueprint.submodules:
605 snippets.extend(submodule.csssnippets)
606 return make_response(
607 render_template(
608 'browser/css/browser.css', snippets=snippets, _=gettext
609 ),
610 200, {'Content-Type': 'text/css'})
611
612
613@blueprint.route("/nodes/", endpoint="nodes")

Callers

nothing calls this directly

Calls 2

make_responseFunction · 0.85
extendMethod · 0.80

Tested by

no test coverage detected