Documentation
¶
Overview ¶
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
Index ¶
- func AuditTable(entries []admin.AuditEntry) templ.Component
- func BoolBadge(value bool, trueLabel string, falseLabel string) templ.Component
- func DatacenterStatusBadge(status datacenter.Status) templ.Component
- func DatacenterTable(datacenters []*datacenter.Datacenter, instanceCounts map[string]int) templ.Component
- func DeployStateBadge(state deploy.DeployState) templ.Component
- func DeploymentTable(deployments []*deploy.Deployment, showInstance bool) templ.Component
- func DomainTable(domains []network.Domain, instanceID string) templ.Component
- func EmptyState(iconName string, title string, description string) templ.Component
- func EnvVarEditor(env map[string]string) templ.Component
- func EventTable(events []*event.Event) templ.Component
- func EventTypeBadge(eventType event.Type) templ.Component
- func HealthCheckTable(checks []health.HealthCheck, instanceID string) templ.Component
- func HealthStatusBadge(status health.Status) templ.Component
- func HealthSummaryRow(instName string, instID string, ih *health.InstanceHealth) templ.Component
- func InstanceStateBadge(state provider.InstanceState) templ.Component
- func InstanceTable(instances []*instance.Instance) templ.Component
- func PRGRedirect(url string) templ.Component
- func ProviderCard(p admin.ProviderStatus) templ.Component
- func ReleaseTable(releases []*deploy.Release) templ.Component
- func ResolveIcon(iconName string, opts ...icons.Option) templ.Component
- func ResourceGauge(label string, used int, limit int, unit string) templ.Component
- func RouteTable(routes []network.Route, instanceID string) templ.Component
- func SecretTable(secs []secrets.Secret, instanceID string) templ.Component
- func StatCard(iconName string, label string, value string, subtitle string) templ.Component
- func StrategySelect(selected string) templ.Component
- func TemplateCard(t *deploy.Template, instanceID string) templ.Component
- func TenantStatusBadge(status admin.TenantStatus) templ.Component
- func TenantTable(tenants []*admin.Tenant) templ.Component
- func WorkerStatusBadge(running bool) templ.Component
- func WorkerTable(workers []worker.WorkerInfo) templ.Component
- type HealthCounts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuditTable ¶
func AuditTable(entries []admin.AuditEntry) templ.Component
AuditTable renders a table of audit log entries.
func DatacenterStatusBadge ¶
func DatacenterStatusBadge(status datacenter.Status) templ.Component
DatacenterStatusBadge renders a badge for a datacenter status.
func DatacenterTable ¶
func DatacenterTable(datacenters []*datacenter.Datacenter, instanceCounts map[string]int) templ.Component
DatacenterTable renders a table of datacenters.
func DeployStateBadge ¶
func DeployStateBadge(state deploy.DeployState) templ.Component
DeployStateBadge renders a badge for a deployment state.
func DeploymentTable ¶
func DeploymentTable(deployments []*deploy.Deployment, showInstance bool) templ.Component
DeploymentTable renders a table of deployments.
func DomainTable ¶
DomainTable renders a table of domains.
func EmptyState ¶
EmptyState renders a centered empty state with an icon, title, and description.
func EnvVarEditor ¶
EnvVarEditor renders a read-only table of environment variable key-value pairs.
func EventTable ¶
EventTable renders a table of events.
func EventTypeBadge ¶
EventTypeBadge renders a colored badge based on event type.
func HealthCheckTable ¶
func HealthCheckTable(checks []health.HealthCheck, instanceID string) templ.Component
HealthCheckTable renders a table of health checks.
func HealthStatusBadge ¶
HealthStatusBadge renders a badge for a health status.
func HealthSummaryRow ¶
HealthSummaryRow renders a health summary row for the aggregate health view.
func InstanceStateBadge ¶
func InstanceStateBadge(state provider.InstanceState) templ.Component
InstanceStateBadge renders a badge for an instance state.
func InstanceTable ¶
InstanceTable renders a table of instances with clickable rows.
func PRGRedirect ¶
PRGRedirect renders a script that replaces the browser URL via history.replaceState. This implements the Post/Redirect/Get pattern for HTMX forms: after a successful POST, the browser URL is updated so that a page refresh performs a GET to the result page instead of resubmitting the form.
func ProviderCard ¶
func ProviderCard(p admin.ProviderStatus) templ.Component
ProviderCard renders a card showing a provider's status.
func ReleaseTable ¶
ReleaseTable renders a table of releases.
func ResolveIcon ¶
ResolveIcon returns the Lucide icon component for the given icon name.
func ResourceGauge ¶
ResourceGauge renders a progress bar showing resource usage.
func RouteTable ¶
RouteTable renders a table of routes.
func SecretTable ¶
SecretTable renders a table of secrets (metadata only, values never shown).
func StatCard ¶
StatCard renders a dashboard statistics card with an icon, label, value, and optional subtitle.
func StrategySelect ¶
StrategySelect renders a deployment strategy selector dropdown.
func TemplateCard ¶
TemplateCard renders a gallery card for a deployment template. Used on the deploy create page template gallery tab.
func TenantStatusBadge ¶
func TenantStatusBadge(status admin.TenantStatus) templ.Component
TenantStatusBadge renders a badge for a tenant status.
func TenantTable ¶
TenantTable renders a table of tenants.
func WorkerStatusBadge ¶
WorkerStatusBadge renders a badge for a worker running status.
func WorkerTable ¶
func WorkerTable(workers []worker.WorkerInfo) templ.Component
WorkerTable renders a table of background workers.
Types ¶
Source Files
¶
- audit_table_templ.go
- datacenter_status_badge_templ.go
- datacenter_table_templ.go
- deploy_table_templ.go
- domain_table_templ.go
- empty_state_templ.go
- env_var_editor_templ.go
- event_table_templ.go
- event_type_badge_templ.go
- health_table_templ.go
- icon_resolver.go
- instance_table_templ.go
- prg_redirect_templ.go
- provider_card_templ.go
- release_table_templ.go
- resource_gauge_templ.go
- route_table_templ.go
- secret_table_templ.go
- stat_card_templ.go
- state_badge_templ.go
- strategy_select_templ.go
- template_card_templ.go
- template_helpers.go
- tenant_table_templ.go
- types.go
- worker_helpers.go
- worker_table_templ.go