Skip to main content

Module helpers

Module helpers 

Source
Expand description

Shared helper functions for web routes.

Functionsยง

css_safe_id
Convert daemon ID to a CSS-selector-safe string.
daemon_row
Generate an HTML table row for a daemon.
format_daemon_id_html
Format daemon ID with dim namespace for HTML display.
html_escape
HTML-escape a string to prevent XSS attacks.
url_encode
URL-encode a string for use in URLs.