Monitorex.Layouts
(monitorex v0.6.0)
Copy Markdown
LiveView layouts for the Monitorex dashboard.
Provides a root layout with sidebar navigation, flash messages, and a main content area. Fully responsive — sidebar collapses on mobile.
Summary
Functions
Renders flash messages for the Dashboard.
Displays Phoenix flash messages (info, error) as notification bars inside the dashboard layout. Each flash kind gets a distinct CSS class for visual styling.
Renders the root layout HTML document.
Includes:
- HTML5 doctype and responsive viewport meta
- Title "Monitorex"
- CSS and JS asset links
- Sidebar navigation with icons for Outbound, Inbound, and Cluster nodes
- Flash group rendering
- Main content area yielding
@inner_content