pages

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorPage

func ErrorPage(code int, title, message, retryURL string) templ.Component

ErrorPage renders an error page with appropriate styling for the given status code.

func HealthPage

HealthPage collects data and returns the health page component.

func HealthPageContent added in v1.0.0

func HealthPageContent(health *collector.HealthData, healthChart chart.Data, hasHistory bool) templ.Component

HealthPageContent renders the health checks page with service statuses and history chart.

func InternalErrorPage

func InternalErrorPage(detail string) templ.Component

InternalErrorPage renders a 500 error page.

func MetricsPage

MetricsPage collects data and returns the metrics page component.

func MetricsPageContent added in v1.0.0

func MetricsPageContent(report *collector.MetricsReport, metricsData *collector.MetricsData, typeChart chart.Data, trendChart chart.Data, hasHistory bool) templ.Component

MetricsPageContent renders the metrics report page with charts and tables.

func NotFoundPage

func NotFoundPage(basePath string) templ.Component

NotFoundPage renders a 404 error page.

func OverviewPage

OverviewPage collects data and returns the overview page component.

func OverviewPageContent added in v1.0.0

func OverviewPageContent(overview *collector.OverviewData, health *collector.HealthData, serviceChart chart.Data, hasHistory bool) templ.Component

OverviewPageContent renders the dashboard overview page with stats, charts, and health summary.

func ServiceUnavailablePage

func ServiceUnavailablePage(retryURL string) templ.Component

ServiceUnavailablePage renders a 503 error page with optional auto-retry.

func ServicesPage

func ServicesPage(ctx context.Context, c *collector.DataCollector) (templ.Component, error)

ServicesPage collects data and returns the services page component.

func ServicesPageContent added in v1.0.0

func ServicesPageContent(services []collector.ServiceInfo) templ.Component

ServicesPageContent renders the services list page with improved cards.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL