Documentation
¶
Overview ¶
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
Package pages provides full-page Templ views.
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
templ: version: v0.3.1070
Index ¶
- func AboutPage(ctx context.Context, data AboutData) templ.Component
- func AccountSecurityPage(ctx context.Context, username string, totpEnabled bool, backupRemaining int, ...) templ.Component
- func AgentChatPage(ctx context.Context, session model.AgentSession, ...) templ.Component
- func AgentKnowledgePage(ctx context.Context, items []model.AgentKnowledge, q string) templ.Component
- func AgentMemoryPage(ctx context.Context, items []model.AgentMemoryFact, scope string) templ.Component
- func AgentScheduledTaskDetailPage(ctx context.Context, task model.AgentScheduledTask, ...) templ.Component
- func AgentScheduledTasksPage(ctx context.Context, items []model.AgentScheduledTask) templ.Component
- func AgentSessionDetailPage(ctx context.Context, session model.AgentSession, ...) templ.Component
- func AgentSessionSummariesPage(ctx context.Context, items []model.AgentSessionSummary, q string) templ.Component
- func AgentSessionsPage(ctx context.Context, items []model.AgentSession, nextCursor string) templ.Component
- func AgentSkillsPage(ctx context.Context, items []model.AgentSkill) templ.Component
- func AgentSubagentsPage(ctx context.Context, items []model.AgentSubagent) templ.Component
- func AgentsPage(ctx context.Context, items []model.AgentSession, nextCursor string, ...) templ.Component
- func AnalyticsActivityPage(ctx context.Context, rangeQuery string) templ.Component
- func AnalyticsEventsPage(ctx context.Context, rangeQuery string) templ.Component
- func AnalyticsOpsRunsPage(ctx context.Context, rangeQuery string) templ.Component
- func AnalyticsOverviewPage(ctx context.Context, overview *types.AnalyticsOverview, rangeQuery string) templ.Component
- func AnalyticsTokenPage(ctx context.Context, stats *types.TokenUsageStats, rangeQuery string) templ.Component
- func BackupCodesAckPage(ctx context.Context, csrfToken string) templ.Component
- func BackupCodesPanel(ctx context.Context, codes []string, csrfToken string) templ.Component
- func BlueprintDetailPage(ctx context.Context, data partials.BlueprintDetailData) templ.Component
- func BlueprintInstancePage(ctx context.Context, data partials.BlueprintInstanceData) templ.Component
- func BlueprintInstantiatePage(ctx context.Context, data partials.BlueprintInstantiateData) templ.Component
- func BlueprintListPage(ctx context.Context, entries []partials.BlueprintListEntry) templ.Component
- func CapabilitiesPage(ctx context.Context, descriptors []hub.Descriptor, types []string, ...) templ.Component
- func ChatAgentPermissionsPage(ctx context.Context, data partials.PermissionFormPageData) templ.Component
- func ClipPage(ctx context.Context, d ClipPageData) templ.Component
- func ClipsPage(ctx context.Context, items []partials.ClipListItem) templ.Component
- func ConfigsPage(ctx context.Context, items []model.ConfigItem) templ.Component
- func DocTitleAgentScheduledTask(ctx context.Context, task model.AgentScheduledTask) string
- func DocTitleAgentSession(ctx context.Context, session model.AgentSession) string
- func DocTitleFlowbot(ctx context.Context, navKey string) string
- func DocTitleLiteral(ctx context.Context, name string) string
- func DocTitleNamed(ctx context.Context, titleKey string, data map[string]any) string
- func DocTitlePage(ctx context.Context, pageKey string) string
- func Enroll2FAForm(ctx context.Context, secret string, otpauthURI string, errorMsg string, ...) templ.Component
- func Enroll2FAPage(ctx context.Context, secret string, otpauthURI string, errorMsg string, ...) templ.Component
- func EventsPage(ctx context.Context, p EventsPageParams) templ.Component
- func FunctionEditorPage(ctx context.Context, draft partials.FunctionDraftData) templ.Component
- func FunctionListPage(ctx context.Context, entries []partials.FunctionListEntry) templ.Component
- func HealthzPage(ctx context.Context, data partials.HealthzData) templ.Component
- func HomePage(ctx context.Context, d partials.HomeDashboard) templ.Component
- func HomelabDetailPage(ctx context.Context, app homelab.App, status homelab.AppStatus, version string, ...) templ.Component
- func HomelabPage(ctx context.Context, apps []homelab.App, scannedAt string) templ.Component
- func HubAppDetailPage(ctx context.Context, app homelab.App, status homelab.AppStatus, ...) templ.Component
- func HubAppsPage(ctx context.Context, apps []homelab.App, updatedAts map[string]string) templ.Component
- func InboxPage(ctx context.Context, filter string) templ.Component
- func Login2FAForm(ctx context.Context, nextURL string, errorMsg string, csrfToken string) templ.Component
- func Login2FAPage(ctx context.Context, nextURL string, errorMsg string, csrfToken string) templ.Component
- func LoginForm(ctx context.Context, nextURL string, errorMsg string, csrfToken string) templ.Component
- func LoginPage(ctx context.Context, nextURL string, errorMsg string, csrfToken string) templ.Component
- func MCPSettingsPage(ctx context.Context, data MCPSettingsData) templ.Component
- func NotifySettingsPage(ctx context.Context, activeTab, focusChannel, focusRuleID string) templ.Component
- func PipelineEditorPage(ctx context.Context, name string) templ.Component
- func PipelineListPage(ctx context.Context, entries []partials.PipelineListEntry) templ.Component
- func PipelineRunLivePage(ctx context.Context, p PipelineRunLiveParams) templ.Component
- func PipelineRunsPage(ctx context.Context, name string, runs []model.PipelineRun) templ.Component
- func RegeneratedBackupCodesPage(ctx context.Context, codes []string) templ.Component
- func RelationsPage(ctx context.Context, p RelationsPageParams) templ.Component
- func SettingsPage(ctx context.Context, data SettingsPageData) templ.Component
- func SetupForm(ctx context.Context, errorMsg string, csrfToken string) templ.Component
- func SetupPage(ctx context.Context, errorMsg string, csrfToken string) templ.Component
- func TokensPage(ctx context.Context, items []model.TokenItem) templ.Component
- func ViewPage(ctx context.Context, title string, body templ.Component, expired bool) templ.Component
- func WorkflowDetailPage(ctx context.Context, meta *types.WorkflowMetadata, ...) templ.Component
- func WorkflowListPage(ctx context.Context, entries []partials.WorkflowListEntry) templ.Component
- func WorkflowRunsPage(ctx context.Context, name string, runs []model.WorkflowRun) templ.Component
- type AboutData
- type ClipPageData
- type EventsPageParams
- type MCPScopeChoice
- type MCPSettingsData
- type MCPSnippet
- type MCPToolPreview
- type PipelineRunLiveParams
- type RelationsPageParams
- type SettingsPageData
- type SettingsRow
- type SettingsSection
- type SettingsValueKind
- type StepState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountSecurityPage ¶ added in v0.99.0
func AgentChatPage ¶ added in v0.95.0
func AgentChatPage(ctx context.Context, session model.AgentSession, messages []model.AgentChatMessage, todos []model.AgentTodo, endpoints partials.ChatAgentEndpoints, pending *partials.ChatAgentPendingConfirm) templ.Component
func AgentKnowledgePage ¶ added in v0.98.1
func AgentMemoryPage ¶ added in v0.98.1
func AgentScheduledTaskDetailPage ¶ added in v0.95.0
func AgentScheduledTaskDetailPage(ctx context.Context, task model.AgentScheduledTask, runs []model.AgentScheduledTaskRun) templ.Component
func AgentScheduledTasksPage ¶ added in v0.95.0
func AgentSessionDetailPage ¶ added in v0.93.0
func AgentSessionDetailPage(ctx context.Context, session model.AgentSession, entries []model.AgentSessionEntry, plans []model.AgentPlan, todos []model.AgentTodo, pending *partials.ChatAgentPendingConfirm) templ.Component
func AgentSessionSummariesPage ¶ added in v0.98.1
func AgentSessionsPage ¶ added in v0.93.0
func AgentSkillsPage ¶ added in v0.93.0
func AgentSubagentsPage ¶ added in v0.93.0
func AgentsPage ¶ added in v0.95.0
func AgentsPage(ctx context.Context, items []model.AgentSession, nextCursor string, endpoints partials.ChatAgentEndpoints, chatEnabled bool) templ.Component
func AnalyticsActivityPage ¶
func AnalyticsEventsPage ¶
func AnalyticsOpsRunsPage ¶
func AnalyticsOverviewPage ¶
func AnalyticsTokenPage ¶
func BackupCodesAckPage ¶ added in v0.99.0
func BackupCodesPanel ¶
BackupCodesPanel renders one-time backup codes without the auth layout. Used for HTMX responses after successful TOTP enrollment.
func BlueprintDetailPage ¶
func BlueprintInstancePage ¶
func BlueprintListPage ¶
func CapabilitiesPage ¶
func ChatAgentPermissionsPage ¶ added in v0.93.0
func ClipPage ¶ added in v0.97.0
func ClipPage(ctx context.Context, d ClipPageData) templ.Component
ClipPage renders a shareable markdown clip.
func ConfigsPage ¶
func DocTitleAgentScheduledTask ¶ added in v0.99.3
func DocTitleAgentScheduledTask(ctx context.Context, task model.AgentScheduledTask) string
DocTitleAgentScheduledTask returns a localized browser title for a scheduled task detail page.
func DocTitleAgentSession ¶ added in v0.99.3
func DocTitleAgentSession(ctx context.Context, session model.AgentSession) string
DocTitleAgentSession returns a localized browser title for an agent session detail page.
func DocTitleFlowbot ¶ added in v0.99.3
DocTitleFlowbot returns a localized browser title: "{navLabel} — Flowbot".
func DocTitleLiteral ¶ added in v0.99.3
DocTitleLiteral returns a dynamic name plus Flowbot suffix.
func DocTitleNamed ¶ added in v0.99.3
DocTitleNamed returns a localized title with template data plus Flowbot suffix.
func DocTitlePage ¶ added in v0.99.3
DocTitlePage returns a localized browser title from a page.* key plus Flowbot suffix.
func Enroll2FAForm ¶
func Enroll2FAForm(ctx context.Context, secret string, otpauthURI string, errorMsg string, csrfToken string) templ.Component
Enroll2FAForm renders the TOTP enroll form without the auth layout. Used for HTMX responses where only the form fragment should be swapped.
func Enroll2FAPage ¶ added in v0.99.0
func EventsPage ¶
func EventsPage(ctx context.Context, p EventsPageParams) templ.Component
func FunctionEditorPage ¶ added in v0.99.0
func FunctionListPage ¶ added in v0.99.0
func HealthzPage ¶
func HomelabDetailPage ¶
func HomelabPage ¶
func HubAppDetailPage ¶
func HubAppsPage ¶
func Login2FAForm ¶ added in v0.99.0
func Login2FAPage ¶ added in v0.99.0
func LoginForm ¶
func LoginForm(ctx context.Context, nextURL string, errorMsg string, csrfToken string) templ.Component
LoginForm renders the login form without the base layout. Used for HTMX responses where only the form fragment should be swapped. csrfToken is embedded so login works even when JS cannot attach X-Csrf-Token (common behind Cloudflare Rocket Loader / WAF).
func MCPSettingsPage ¶
func MCPSettingsPage(ctx context.Context, data MCPSettingsData) templ.Component
func NotifySettingsPage ¶
func NotifySettingsPage(ctx context.Context, activeTab, focusChannel, focusRuleID string) templ.Component
NotifySettingsPage renders the Notifications page with channels, templates, rules, history, and playground tabs. activeTab selects the initial tab: channels (default), templates, rules, history, or playground. focusChannel / focusRuleID deep-link highlight a row after jumping from History.
func PipelineListPage ¶
func PipelineRunLivePage ¶
func PipelineRunLivePage(ctx context.Context, p PipelineRunLiveParams) templ.Component
PipelineRunLivePage renders the live run dashboard.
func PipelineRunsPage ¶
func RegeneratedBackupCodesPage ¶ added in v0.99.0
func RelationsPage ¶
func RelationsPage(ctx context.Context, p RelationsPageParams) templ.Component
func SettingsPage ¶ added in v0.99.0
func SettingsPage(ctx context.Context, data SettingsPageData) templ.Component
func WorkflowDetailPage ¶ added in v0.98.0
func WorkflowDetailPage(ctx context.Context, meta *types.WorkflowMetadata, triggers []model.WorkflowTrigger, recentRuns []model.WorkflowRun, yamlText string, publicOrigin string) templ.Component
func WorkflowListPage ¶ added in v0.98.0
func WorkflowRunsPage ¶ added in v0.98.0
Types ¶
type ClipPageData ¶ added in v0.97.0
type ClipPageData struct {
// Slug is the public short identifier.
Slug string
// Title is the display and Open Graph title.
Title string
// Description is the preview text for meta tags.
Description string
// CreatedAt is when the clip was created.
CreatedAt time.Time
// WordCount is a rough word count of the markdown body.
WordCount int
// BodyHTML is sanitized HTML rendered from markdown.
BodyHTML string
// ContentMD is the raw markdown used by Copy MD.
ContentMD string
// NotFound marks a missing or inaccessible clip.
NotFound bool
}
ClipPageData carries fields for the clip reader page.
type EventsPageParams ¶
type MCPScopeChoice ¶
MCPScopeChoice is one checkbox on the custom preset.
type MCPSettingsData ¶
type MCPSettingsData struct {
Enabled bool
URL string
ServerCardURL string
Preset string
Scopes []string
Custom []MCPScopeChoice
Tools []MCPToolPreview
Snippets []MCPSnippet
Token string
CSRFToken string
Error string
}
MCPSettingsData is the MCP settings page.
type MCPSnippet ¶
MCPSnippet is one client tab.
type MCPToolPreview ¶
type MCPToolPreview struct {
Name string
Tier string
// Kind is read, write, or destructive. It selects the tier chip.
Kind string
}
MCPToolPreview is one tool shown on the MCP settings page.
type PipelineRunLiveParams ¶
type PipelineRunLiveParams struct {
RunID int64
PipelineName string
Trigger string
TotalSteps int
RunStatus string
Steps []StepState
}
PipelineRunLiveParams holds all data for the live run dashboard.
type RelationsPageParams ¶
type SettingsPageData ¶ added in v0.99.0
type SettingsPageData struct {
Sections []SettingsSection
}
SettingsPageData holds redacted runtime config sections for the Settings page.
func NewSettingsPageData ¶ added in v0.99.0
func NewSettingsPageData(ctx context.Context, groups []config.SettingGroup) SettingsPageData
NewSettingsPageData maps a config settings catalog into page view models.
type SettingsRow ¶ added in v0.99.0
type SettingsRow struct {
Path string
Value string
Description string
Sensitive bool
FilterText string
ValueKind SettingsValueKind
}
SettingsRow is one display row on the Settings page.
type SettingsSection ¶ added in v0.99.0
type SettingsSection struct {
Name string
Title string
Entries []SettingsRow
}
SettingsSection is a top-level group of settings rows.
type SettingsValueKind ¶ added in v0.99.0
type SettingsValueKind string
SettingsValueKind selects how a settings value cell is rendered.
const ( // SettingsValueText is a plain scalar value. SettingsValueText SettingsValueKind = "text" // SettingsValueSecret is a redacted secret. SettingsValueSecret SettingsValueKind = "secret" // SettingsValueEmpty is an empty or unset placeholder. SettingsValueEmpty SettingsValueKind = "empty" // SettingsValueCode is JSON / multi-line structured text. SettingsValueCode SettingsValueKind = "code" )
type StepState ¶
type StepState struct {
Name string `json:"name"`
Status string `json:"status"`
ElapsedMs int64 `json:"elapsed_ms"`
Output map[string]any `json:"output"`
Error string `json:"error"`
Input map[string]any `json:"input"`
}
StepState represents the initial state of one pipeline step for Alpine.js.
Source Files
¶
- about.go
- about_templ.go
- account_security_templ.go
- agent_knowledge_templ.go
- agent_memory_templ.go
- agent_scheduled_task_detail_templ.go
- agent_scheduled_tasks_templ.go
- agent_session_detail_templ.go
- agent_session_summaries_templ.go
- agent_sessions_templ.go
- agent_skills_templ.go
- agent_subagents_templ.go
- agents_templ.go
- analytics.go
- analytics_templ.go
- auth_extra_templ.go
- blueprint_detail_templ.go
- blueprint_instantiate_templ.go
- blueprint_list_templ.go
- capabilities_templ.go
- chatagent_permissions_templ.go
- clip_helpers.go
- clip_templ.go
- clips_templ.go
- configs_templ.go
- doc_title.go
- events_templ.go
- function_editor_templ.go
- function_list_templ.go
- healthz_templ.go
- home_templ.go
- homelab_detail_templ.go
- homelab_templ.go
- hub_app_detail_templ.go
- hub_apps_templ.go
- inbox_templ.go
- login_templ.go
- mcp_settings.go
- mcp_settings_templ.go
- notify_settings_templ.go
- pipeline_editor_templ.go
- pipeline_list_templ.go
- pipeline_run_live_templ.go
- pipeline_runs_templ.go
- relations_templ.go
- settings.go
- settings_templ.go
- tokens_templ.go
- view_templ.go
- workflow_detail_templ.go
- workflow_list_templ.go