Documentation
¶
Overview ¶
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
Index ¶
- func ActionButton(label string, icon templ.Component, variant button.Variant, size button.Size, ...) templ.Component
- func DashboardHeader(title string, basePath string) templ.Component
- func EmptyState(icon templ.Component, title, description string) templ.Component
- func HealthChecksTable() templ.Component
- func LoadingSpinner(message string) templ.Component
- func MetricCard(title, value, description string, icon templ.Component, trendValue string, ...) templ.Component
- func MetricsReportTable() templ.Component
- func OverviewMetrics(basePath string) templ.Component
- func SectionHeader(title, description string) templ.Component
- func ServiceDetailModal() templ.Component
- func ServicesGrid(basePath string) templ.Component
- func StatCard(icon templ.Component, value, label, trend string, trendUp bool) templ.Component
- func StatusBadge(status string) templ.Component
- func WidgetCard(w contributor.ResolvedWidget, content templ.Component, basePath string) templ.Component
- func WidgetErrorFragment(message string) templ.Component
- func WidgetGrid(widgets []contributor.ResolvedWidget, contents map[string]templ.Component, ...) templ.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionButton ¶
func ActionButton(label string, icon templ.Component, variant button.Variant, size button.Size, attrs templ.Attributes) templ.Component
ActionButton renders a button with an icon.
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 LoadingSpinner ¶
LoadingSpinner renders a loading spinner with optional message.
func MetricCard ¶
func MetricCard(title, value, description string, icon templ.Component, trendValue string, trendUp bool) templ.Component
MetricCard renders a single metric card with icon, value, and description.
func MetricsReportTable ¶
MetricsReportTable renders a comprehensive metrics report.
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 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 templ.Component, basePath string) templ.Component
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]templ.Component, basePath string) templ.Component
WidgetGrid renders a responsive grid of widgets.
Types ¶
This section is empty.