{{- /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial */ -}} {{- /* SPDX-FileCopyrightText: 2025-2026 Christian Galo */ -}} {{ if and (eq (len .Sites) 0) (eq (len .ArchivedSites) 0) (not .EntitlementCheckFailed) (or (not .HasEntitlement) .NoDomainsConfigured) }} {{ if .NoDomainsConfigured }} {{ template "emptyState" .NoDomainsEmpty }} {{ else if .NoPublishedPlan }} {{ template "emptyState" .NoPublishedPlanEmpty }} {{ else }} {{ template "emptyState" .NoEntitlementEmpty }} {{ end }} {{ else }} {{ if .EntitlementCheckFailed }} {{ else if not .HasEntitlement }} {{ end }}
{{ if .HasEntitlement }}{{ if gt .CurrentCount .Quota }}{{ .CurrentCount }} active sites, {{ .Quota }} allowed.{{ else }}{{ .CurrentCount }} of {{ .Quota }} active sites used{{ end }}{{ end }} {{ if .CanCreate }} {{ else }} {{ template "disabledControl" .CreateControl }} {{ end }}
{{ if .HasReadonly }} {{ end }}
{{ if .CustomDomainClaims }}
Ready to use: {{ range .CustomDomainClaims }}
{{ .Domain }}: verified and ready
{{ end }}
{{ end }} {{ if .Error }} {{ else if eq (len .Sites) 0 }} {{ template "emptyState" .NoSitesEmpty }} {{ else }}
{{ range .Sites }} {{ end }}
Domain Type Status Created Actions
{{ .Domain }} {{ template "statusBadge" .TypeBadge }} {{ template "statusBadge" .StatusBadge }} {{ .CreatedAt }} {{ if .IsReadonly }} {{ if $.CooldownMsg }} {{ template "disabledControl" (.KeepActiveControl $.CooldownMsg) }} {{ else }} {{ end }} {{ end }}
{{ end }} {{ if gt (len .ArchivedSites) 0 }}
Archived

Archived sites are offline but their content is kept. Restore one to bring it back (subject to your active-site limit), or delete it permanently. Archived sites are removed automatically after 30 days.

{{ range .ArchivedSites }} {{ end }}
{{ .Domain }} {{ if and .IsForceReduced $.CooldownMsg }} {{ template "disabledControl" (.RestoreControl $.CooldownMsg) }} {{ else }} {{ end }}
{{ end }}
Domains
{{ .DomainsSurface }}
{{ end }}