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 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
- func WidgetCard(w contributor.ResolvedWidget, content g.Node, basePath string) g.Node
- func WidgetErrorFragment(message string) g.Node
- func WidgetGrid(widgets []contributor.ResolvedWidget, contents map[string]g.Node, ...) 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 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.
func WidgetCard ¶ added in v0.9.12
func WidgetCard(w contributor.ResolvedWidget, content g.Node, basePath string) g.Node
WidgetCard renders a widget inside a card wrapper with optional HTMX auto-refresh.
func WidgetErrorFragment ¶ added in v0.9.12
WidgetErrorFragment renders an error message fragment for a failed widget.
func WidgetGrid ¶ added in v0.9.12
func WidgetGrid(widgets []contributor.ResolvedWidget, contents map[string]g.Node, basePath string) g.Node
WidgetGrid renders a responsive grid of widgets.
Types ¶
This section is empty.