Documentation
¶
Overview ¶
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
Index ¶
- func AddSpoolModal() templ.Component
- func AddTaskModal() templ.Component
- func ArtworkGrid(artwork []*mediaadminv1.ArtworkInfo) templ.Component
- func AuditFilterPanel(filter AuditFilterState) templ.Component
- func AuditNoModule() templ.Component
- func AuditPage(data AuditPageData) templ.Component
- func AuditTable(data AuditPageData) templ.Component
- func BackupRow(b BackupItem) templ.Component
- func BackupTable(backups []BackupItem) templ.Component
- func BackupsPage(backups []BackupItem) templ.Component
- func CapabilityTag(cap string) templ.Component
- func ChannelCard(c ChannelStatus) templ.Component
- func ChannelStatusDot(enabled bool) templ.Component
- func ClusterPage(data ClusterPageData) templ.Component
- func ClusterStatCard(label string, value string, desc string) templ.Component
- func CollectionInfo(metadata map[string]string) templ.Component
- func ConfigPage(data ConfigPageData) templ.Component
- func ConfigRow(e ConfigEntry) templ.Component
- func ConfirmDeleteModal(id string, title string, message string, deleteURL string) templ.Component
- func DashboardPage(data DashboardData) templ.Component
- func DetailField(label string, value string) templ.Component
- func DotBadge(color string, children ...templ.Component) templ.Component
- func ErrorLayout(title string, content templ.Component) templ.Component
- func ErrorPage(code int, message string) templ.Component
- func EventTable(events []EventItem) templ.Component
- func EventsPage(events []EventItem, subscriptionStats []EventSubscriptionStat) templ.Component
- func Forbidden() templ.Component
- func HealthCard(m ModuleHealthItem) templ.Component
- func HealthDot(healthy bool) templ.Component
- func HealthGrid(modules []ModuleHealthItem) templ.Component
- func Layout(title string, nav templ.Component, content templ.Component) templ.Component
- func LeaderCard(data DashboardData) templ.Component
- func LoadingCard() templ.Component
- func LoadingRow(colspan int) templ.Component
- func LoginForm(errorMsg string) templ.Component
- func LoginPage(errorMsg string) templ.Component
- func MarketplaceModuleCard(mod CatalogModuleData) templ.Component
- func MarketplacePage(spools []SpoolData) templ.Component
- func MarketplaceTagDetail(tag TagFileData) templ.Component
- func MediaDetailPage(item *mediaadminv1.MediaItem, moduleID string) templ.Component
- func MediaItemCard(item *mediaadminv1.MediaItem, moduleID string) templ.Component
- func MediaListPage(displayName string, items []*mediaadminv1.MediaItem, total, page, pageSize int, ...) templ.Component
- func MetricGroupCard(g MetricGroup) templ.Component
- func MetricRow(m MetricEntry) templ.Component
- func MetricsPage(groups []MetricGroup) templ.Component
- func Modal(id string, title string, children ...templ.Component) templ.Component
- func ModuleCapabilitiesBlock(caps []string) templ.Component
- func ModuleDependenciesBlock(deps []string) templ.Component
- func ModuleDetailPage(m ModuleDetail) templ.Component
- func ModuleListPage(modules []ModuleListItem) templ.Component
- func ModuleMetaFields(m ModuleDetail) templ.Component
- func ModuleRolesBlock(roles []string) templ.Component
- func ModuleTable(modules []ModuleListItem) templ.Component
- func ModuleTrustBadge(m ModuleDetail) templ.Component
- func Nav(links []NavLink, activePath string) templ.Component
- func NoAuthPage() templ.Component
- func NodeCard(node NodeCardData) templ.Component
- func NotFound() templ.Component
- func NotificationsPage(channels []ChannelStatus) templ.Component
- func PageNumbers(current int, total int, baseURL string) templ.Component
- func PageRange(current int, total int, baseURL string) templ.Component
- func Pagination(current int, total int, baseURL string) templ.Component
- func PasskeyList(credentials []*authv1.WebAuthnCredentialInfo, count int, userID string) templ.Component
- func PasskeyRegisterContainer(optionsJSON string, userID, challenge string) templ.Component
- func PasskeyStatusPanel(totpEnabled bool, userID string) templ.Component
- func QualityDefinitionsPanel(defs []QualityDefinition) templ.Component
- func QualityProfileCard(p QualityProfile, defs []QualityDefinition) templ.Component
- func QualityProfileEditForm(profileID string, p QualityProfile, defs []QualityDefinition) templ.Component
- func QualityProfileForm(edit *QualityProfile, defs []QualityDefinition) templ.Component
- func QualityProfilesList(profiles []QualityProfile, defs []QualityDefinition) templ.Component
- func QualityProfilesPage(defs []QualityDefinition, profiles []QualityProfile) templ.Component
- func QualityTag(id string, defs []QualityDefinition) templ.Component
- func RoleCheckbox(currentRoles []string, role, label string) templ.Component
- func RoleTag(role string) templ.Component
- func SchedulerPage(tasks []SchedulerTask) templ.Component
- func SchedulerTaskRow(t SchedulerTask) templ.Component
- func SchedulerTaskTable(tasks []SchedulerTask) templ.Component
- func SearchResults(q string, results []SearchResult) templ.Component
- func SettingFieldForm(f SettingField, moduleID string) templ.Component
- func SettingInput(f SettingField) templ.Component
- func SettingsGroup(groupName string, fields []SettingField, moduleID string) templ.Component
- func SettingsModuleCard(mg SettingsModuleGroup) templ.Component
- func SettingsPage(groups []SettingsModuleGroup) templ.Component
- func Spinner(class string) templ.Component
- func SpoolSection(spool SpoolData) templ.Component
- func StateBadge(state string) templ.Component
- func StorageCard(p StorageProviderCard) templ.Component
- func StorageGrid(providers []StorageProviderCard) templ.Component
- func StoragePage(providers []StorageProviderCard, globalCaps []string) templ.Component
- func SubscriptionStatsPanel(stats []EventSubscriptionStat) templ.Component
- func TOTPBadge(enabled bool) templ.Component
- func TagsPage(tags []string) templ.Component
- func ToastContainer() templ.Component
- func UserCreateForm() templ.Component
- func UserDetailPage(user *authv1.UserInfo) templ.Component
- func UserTokens(tokens []*authv1.APITokenInfo, userID string) templ.Component
- func UsersPage(users []*authv1.UserInfo, errorMsg string) templ.Component
- type AuditEntryItem
- type AuditFilterState
- type AuditPageData
- type BackupItem
- type BadgeColor
- type CatalogData
- type CatalogModuleData
- type ChannelStatus
- type ClusterPageData
- type ConfigEntry
- type ConfigPageData
- type DashboardData
- type EventItem
- type EventSubscriptionStat
- type MetricEntry
- type MetricGroup
- type MetricSection
- type ModuleDetail
- type ModuleHealthItem
- type ModuleListItem
- type NavLink
- type NodeCardData
- type NodeModuleEntry
- type QualityDefinition
- type QualityProfile
- type SchedulerTask
- type SearchResult
- type SettingField
- type SettingsModuleGroup
- type SpoolData
- type StorageProviderCard
- type TagFileData
- type TagFileModuleData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSpoolModal ¶
func AddTaskModal ¶
func ArtworkGrid ¶
func ArtworkGrid(artwork []*mediaadminv1.ArtworkInfo) templ.Component
func AuditFilterPanel ¶
func AuditFilterPanel(filter AuditFilterState) templ.Component
func AuditNoModule ¶
func AuditPage ¶
func AuditPage(data AuditPageData) templ.Component
func AuditTable ¶
func AuditTable(data AuditPageData) templ.Component
func BackupRow ¶
func BackupRow(b BackupItem) templ.Component
func BackupTable ¶
func BackupTable(backups []BackupItem) templ.Component
func BackupsPage ¶
func BackupsPage(backups []BackupItem) templ.Component
func CapabilityTag ¶
func ChannelCard ¶
func ChannelCard(c ChannelStatus) templ.Component
func ChannelStatusDot ¶
func ClusterPage ¶
func ClusterPage(data ClusterPageData) templ.Component
func ClusterStatCard ¶
func ConfigPage ¶
func ConfigPage(data ConfigPageData) templ.Component
func ConfigRow ¶
func ConfigRow(e ConfigEntry) templ.Component
func ConfirmDeleteModal ¶
func DashboardPage ¶
func DashboardPage(data DashboardData) templ.Component
func EventTable ¶
func EventsPage ¶
func EventsPage(events []EventItem, subscriptionStats []EventSubscriptionStat) templ.Component
func HealthCard ¶
func HealthCard(m ModuleHealthItem) templ.Component
func HealthGrid ¶
func HealthGrid(modules []ModuleHealthItem) templ.Component
func LeaderCard ¶
func LeaderCard(data DashboardData) templ.Component
func LoadingCard ¶
func LoadingRow ¶
func MarketplaceModuleCard ¶
func MarketplaceModuleCard(mod CatalogModuleData) templ.Component
func MarketplacePage ¶
func MarketplaceTagDetail ¶
func MarketplaceTagDetail(tag TagFileData) templ.Component
func MediaDetailPage ¶
func MediaDetailPage(item *mediaadminv1.MediaItem, moduleID string) templ.Component
func MediaItemCard ¶
func MediaItemCard(item *mediaadminv1.MediaItem, moduleID string) templ.Component
func MediaListPage ¶
func MetricGroupCard ¶
func MetricGroupCard(g MetricGroup) templ.Component
func MetricRow ¶
func MetricRow(m MetricEntry) templ.Component
func MetricsPage ¶
func MetricsPage(groups []MetricGroup) templ.Component
func ModuleCapabilitiesBlock ¶
func ModuleDependenciesBlock ¶
func ModuleDetailPage ¶
func ModuleDetailPage(m ModuleDetail) templ.Component
func ModuleListPage ¶
func ModuleListPage(modules []ModuleListItem) templ.Component
func ModuleMetaFields ¶
func ModuleMetaFields(m ModuleDetail) templ.Component
func ModuleRolesBlock ¶
func ModuleTable ¶
func ModuleTable(modules []ModuleListItem) templ.Component
func ModuleTrustBadge ¶
func ModuleTrustBadge(m ModuleDetail) templ.Component
func NoAuthPage ¶
func NodeCard ¶
func NodeCard(node NodeCardData) templ.Component
func NotificationsPage ¶
func NotificationsPage(channels []ChannelStatus) templ.Component
func PasskeyList ¶
func QualityDefinitionsPanel ¶
func QualityDefinitionsPanel(defs []QualityDefinition) templ.Component
func QualityProfileCard ¶
func QualityProfileCard(p QualityProfile, defs []QualityDefinition) templ.Component
func QualityProfileEditForm ¶
func QualityProfileEditForm(profileID string, p QualityProfile, defs []QualityDefinition) templ.Component
func QualityProfileForm ¶
func QualityProfileForm(edit *QualityProfile, defs []QualityDefinition) templ.Component
func QualityProfilesList ¶
func QualityProfilesList(profiles []QualityProfile, defs []QualityDefinition) templ.Component
func QualityProfilesPage ¶
func QualityProfilesPage(defs []QualityDefinition, profiles []QualityProfile) templ.Component
func QualityTag ¶
func QualityTag(id string, defs []QualityDefinition) templ.Component
func SchedulerPage ¶
func SchedulerPage(tasks []SchedulerTask) templ.Component
func SchedulerTaskRow ¶
func SchedulerTaskRow(t SchedulerTask) templ.Component
func SchedulerTaskTable ¶
func SchedulerTaskTable(tasks []SchedulerTask) templ.Component
func SearchResults ¶
func SearchResults(q string, results []SearchResult) templ.Component
func SettingFieldForm ¶
func SettingFieldForm(f SettingField, moduleID string) templ.Component
func SettingInput ¶
func SettingInput(f SettingField) templ.Component
func SettingsGroup ¶
func SettingsGroup(groupName string, fields []SettingField, moduleID string) templ.Component
func SettingsModuleCard ¶
func SettingsModuleCard(mg SettingsModuleGroup) templ.Component
func SettingsPage ¶
func SettingsPage(groups []SettingsModuleGroup) templ.Component
func SpoolSection ¶
func StateBadge ¶
func StorageCard ¶
func StorageCard(p StorageProviderCard) templ.Component
func StorageGrid ¶
func StorageGrid(providers []StorageProviderCard) templ.Component
func StoragePage ¶
func StoragePage(providers []StorageProviderCard, globalCaps []string) templ.Component
func SubscriptionStatsPanel ¶
func SubscriptionStatsPanel(stats []EventSubscriptionStat) templ.Component
func ToastContainer ¶
func UserCreateForm ¶
func UserTokens ¶
func UserTokens(tokens []*authv1.APITokenInfo, userID string) templ.Component
Types ¶
type AuditEntryItem ¶
type AuditFilterState ¶
type AuditFilterState struct {
Actor string
Action string
Resource string
TraceID string
From string
To string
}
func ParseAuditFilters ¶
func ParseAuditFilters(r *http.Request) AuditFilterState
type AuditPageData ¶
type AuditPageData struct {
Entries []AuditEntryItem
Filter AuditFilterState
Page int
TotalPages int
}
type BackupItem ¶
type BadgeColor ¶
type BadgeColor string
const ( BadgeGreen BadgeColor = "green" BadgeYellow BadgeColor = "yellow" BadgeRed BadgeColor = "red" BadgeGray BadgeColor = "gray" BadgeBlue BadgeColor = "blue" BadgePurple BadgeColor = "purple" )
type CatalogData ¶
type CatalogData struct {
Name string
Description string
Version string
Modules []CatalogModuleData
}
type CatalogModuleData ¶
type ChannelStatus ¶
type ClusterPageData ¶
type ClusterPageData struct {
Nodes []NodeCardData
Term uint64
}
type ConfigEntry ¶
type ConfigPageData ¶
type ConfigPageData struct {
Version string
Entries []ConfigEntry
}
type DashboardData ¶
type EventSubscriptionStat ¶
type MetricGroup ¶
type MetricGroup struct {
Name string
Help string
Type string
Metrics []MetricEntry
}
type MetricSection ¶
type MetricSection struct {
Title string
Groups []MetricGroup
}
type ModuleDetail ¶
type ModuleHealthItem ¶
type ModuleListItem ¶
type NodeCardData ¶
type NodeModuleEntry ¶
type QualityDefinition ¶
type QualityProfile ¶
type SchedulerTask ¶
type SettingField ¶
type SettingsModuleGroup ¶
type SettingsModuleGroup struct {
ModuleID string
ModuleName string
Groups map[string][]SettingField
}
type SpoolData ¶
type SpoolData struct {
URL string
Catalog *CatalogData
Error string
}
type StorageProviderCard ¶
type TagFileData ¶
type TagFileData struct {
Name string
Description string
Version string
Modules []TagFileModuleData
}
type TagFileModuleData ¶
Source Files
¶
- audit_templ.go
- backup_templ.go
- badge_templ.go
- cluster_templ.go
- config_templ.go
- dashboard_templ.go
- error_templ.go
- event_stream_templ.go
- layout_templ.go
- login_templ.go
- marketplace_templ.go
- media_templ.go
- metrics_templ.go
- modal_templ.go
- module_detail_templ.go
- module_list_templ.go
- nav_templ.go
- notification_templ.go
- pagination_templ.go
- quality_templ.go
- scheduler_templ.go
- search_templ.go
- settings_templ.go
- spinner_templ.go
- storage_templ.go
- tags_templ.go
- toast_templ.go
- users_templ.go