from __future__ import annotations from html import escape def monitoring_page_html(device_hostname: str = "") -> str: host_suffix = f" ({escape(device_hostname)})" if device_hostname else "" return """
Read-only monitoring for active and historical tasks.