Documentation
¶
Index ¶
- func ActionButton(label string, icon g.Node, variant forgeui.Variant, attrs ...g.Node) g.Node
- func ApexChartsScript() g.Node
- func ChartInitializationScript() g.Node
- func ChartPlaceholder(id, title, description string) g.Node
- func ChartsSection() g.Node
- func DashboardHeader(title string, basePath string) g.Node
- func DashboardPage(title, basePath string, enableRealtime, enableExport bool) g.Node
- func DashboardPageHandler(title, basePath string, enableRealtime, enableExport bool) router.PageHandler
- func EmptyState(icon g.Node, title, description string) g.Node
- func HealthChecksTable() g.Node
- func HealthHistoryChart() g.Node
- func LoadingSpinner(message string) g.Node
- func MetricCard(title, value, description string, icon g.Node, trendValue string, trendUp bool) g.Node
- func MetricsReportTable() g.Node
- func MetricsTypeDistributionChart() g.Node
- func OverviewMetrics(basePath string) g.Node
- func SectionHeader(title, description string) g.Node
- func ServiceDetailModal() g.Node
- func ServicesCountChart() g.Node
- func ServicesGrid(basePath string) g.Node
- func StatCard(icon g.Node, value, label, trend string, trendUp bool) g.Node
- func StatusBadge(status string) g.Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionButton ¶
ActionButton renders a button with an icon
func ApexChartsScript ¶
ApexChartsScript returns the script tag for ApexCharts
func ChartInitializationScript ¶
ChartInitializationScript returns the Alpine.js chart initialization logic
func ChartPlaceholder ¶
ChartPlaceholder renders a placeholder for charts with ApexCharts integration
func DashboardHeader ¶
DashboardHeader renders the main dashboard header with navigation and theme toggle
func DashboardPage ¶
DashboardPage renders the complete dashboard page
func DashboardPageHandler ¶
func DashboardPageHandler(title, basePath string, enableRealtime, enableExport bool) router.PageHandler
DashboardPageHandler returns a ForgeUI page handler for the dashboard
func EmptyState ¶
EmptyState renders an empty state placeholder
func HealthChecksTable ¶
HealthChecksTable renders the health checks table with Alpine.js integration
func HealthHistoryChart ¶
HealthHistoryChart renders a health history chart
func LoadingSpinner ¶
LoadingSpinner renders a loading spinner with optional message
func MetricCard ¶
func MetricCard(title, value, description string, icon g.Node, trendValue string, trendUp bool) g.Node
MetricCard renders a single metric card with icon, value, and description
func MetricsReportTable ¶
MetricsReportTable renders a comprehensive metrics report
func MetricsTypeDistributionChart ¶
MetricsTypeDistributionChart renders a metrics type distribution pie chart
func OverviewMetrics ¶
OverviewMetrics renders the main overview metrics grid
func SectionHeader ¶
SectionHeader renders a section header with title and optional description
func ServiceDetailModal ¶
ServiceDetailModal renders a modal with detailed service information
func ServicesCountChart ¶
ServicesCountChart renders a services count chart
func ServicesGrid ¶
ServicesGrid renders a grid of service cards
func StatusBadge ¶
StatusBadge renders a status indicator badge
Types ¶
This section is empty.