pages

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtensionRegistry

type ExtensionRegistry interface {
	List() []ui.DashboardExtension
	GetDashboardWidgets() []ui.DashboardWidget
}

ExtensionRegistry is an interface to avoid import cycles.

type PagesManager

type PagesManager struct {
	// contains filtered or unexported fields
}

func NewPagesManager

func NewPagesManager(fuiApp *forgeui.App, baseUIPath string) *PagesManager

func (*PagesManager) AppsManagementPage

func (p *PagesManager) AppsManagementPage(ctx *router.PageContext) (g.Node, error)

AppsManagementPage shows platform-level apps management (admin only).

func (*PagesManager) AuditLogViewerPage

func (p *PagesManager) AuditLogViewerPage(ctx *router.PageContext) (g.Node, error)

AuditLogViewerPage shows audit logs.

func (*PagesManager) ConfigViewerPage

func (p *PagesManager) ConfigViewerPage(ctx *router.PageContext) (g.Node, error)

ConfigViewerPage shows system configuration.

func (*PagesManager) CreateAppPage

func (p *PagesManager) CreateAppPage(ctx *router.PageContext) (g.Node, error)

CreateAppPage redirects to the index page with the create dialog open.

func (*PagesManager) DashboardHomePage

func (p *PagesManager) DashboardHomePage(ctx *router.PageContext) (g.Node, error)

DashboardHomePage shows the main dashboard for an app with all widgets.

func (*PagesManager) DashboardIndexPage

func (p *PagesManager) DashboardIndexPage(ctx *router.PageContext) (g.Node, error)

DashboardIndexPage shows app selection or redirects to default app.

func (*PagesManager) EnvironmentDetailPage

func (p *PagesManager) EnvironmentDetailPage(ctx *router.PageContext) (g.Node, error)

EnvironmentDetailPage shows detailed information about an environment.

func (*PagesManager) EnvironmentsManagementPage

func (p *PagesManager) EnvironmentsManagementPage(ctx *router.PageContext) (g.Node, error)

EnvironmentsManagementPage shows environment management (if multiapp plugin is enabled).

func (*PagesManager) ErrorPage

func (p *PagesManager) ErrorPage(ctx *router.PageContext) (g.Node, error)

ErrorPage shows custom error page.

func (*PagesManager) ForbiddenPage

func (p *PagesManager) ForbiddenPage(loginURL string) g.Node

ForbiddenPage displays a 403 access denied page.

func (*PagesManager) ForgotPasswordPage

func (p *PagesManager) ForgotPasswordPage(ctx *router.PageContext) (g.Node, error)

ForgotPasswordPage renders the forgot password page.

func (*PagesManager) HandleLogin

func (p *PagesManager) HandleLogin(ctx *router.PageContext) (g.Node, error)

HandleLogin processes the login form submission.

func (*PagesManager) HandleSignup

func (p *PagesManager) HandleSignup(ctx *router.PageContext) (g.Node, error)

HandleSignup processes the signup form submission.

func (*PagesManager) IndexPage

func (p *PagesManager) IndexPage(ctx *router.PageContext) (g.Node, error)

IndexPage - Dashboard entry point that handles app selection or redirect.

func (*PagesManager) LoginPage

func (p *PagesManager) LoginPage(ctx *router.PageContext) (g.Node, error)

LoginPage - Simple handler returning content only.

func (*PagesManager) LogoutPage

func (p *PagesManager) LogoutPage(ctx *router.PageContext) (g.Node, error)

LogoutPage handles user logout.

func (*PagesManager) OrganizationDetailPage

func (p *PagesManager) OrganizationDetailPage(ctx *router.PageContext) (g.Node, error)

OrganizationDetailPage shows organization details with tabs, stats, and extension support.

func (*PagesManager) OrganizationEditPage

func (p *PagesManager) OrganizationEditPage(ctx *router.PageContext) (g.Node, error)

OrganizationEditPage shows the organization edit form.

func (*PagesManager) OrganizationsListPage

func (p *PagesManager) OrganizationsListPage(ctx *router.PageContext) (g.Node, error)

OrganizationsListPage shows list of organizations.

func (*PagesManager) PluginsManagementPage

func (p *PagesManager) PluginsManagementPage(ctx *router.PageContext) (g.Node, error)

PluginsManagementPage shows plugin management.

func (*PagesManager) PluginsPage

func (p *PagesManager) PluginsPage(ctx *router.PageContext) (g.Node, error)

PluginsPage renders the plugins management page.

func (*PagesManager) ProfilePage

func (p *PagesManager) ProfilePage(ctx *router.PageContext) (g.Node, error)

ProfilePage shows the current user's profile and allows editing.

func (*PagesManager) RegisterPage

func (p *PagesManager) RegisterPage(ctx *router.PageContext) (g.Node, error)

RegisterPage - Simple handler returning content only.

func (*PagesManager) RegisterPages

func (p *PagesManager) RegisterPages() error

func (*PagesManager) ResetPasswordPage

func (p *PagesManager) ResetPasswordPage(ctx *router.PageContext) (g.Node, error)

ResetPasswordPage renders the reset password page.

func (*PagesManager) SessionsListPage

func (p *PagesManager) SessionsListPage(ctx *router.PageContext) (g.Node, error)

SessionsListPage shows active sessions with pagination and filtering.

func (*PagesManager) SetBaseUIPath

func (p *PagesManager) SetBaseUIPath(baseUIPath string)

func (*PagesManager) SetExtensionRegistry

func (p *PagesManager) SetExtensionRegistry(registry ExtensionRegistry)

SetExtensionRegistry sets the extension registry for accessing plugin extensions.

func (*PagesManager) SetServices

func (p *PagesManager) SetServices(services *services.Services)

func (*PagesManager) SettingsAPIKeysPage

func (p *PagesManager) SettingsAPIKeysPage(ctx *router.PageContext) (g.Node, error)

SettingsAPIKeysPage shows API keys management.

func (*PagesManager) SettingsGeneralPage

func (p *PagesManager) SettingsGeneralPage(ctx *router.PageContext) (g.Node, error)

SettingsGeneralPage shows general settings.

func (*PagesManager) SettingsSecurityPage

func (p *PagesManager) SettingsSecurityPage(ctx *router.PageContext) (g.Node, error)

SettingsSecurityPage shows security settings.

func (*PagesManager) SettingsSessionPage

func (p *PagesManager) SettingsSessionPage(ctx *router.PageContext) (g.Node, error)

SettingsSessionPage shows session settings.

func (*PagesManager) UserDetailPage

func (p *PagesManager) UserDetailPage(ctx *router.PageContext) (g.Node, error)

UserDetailPage shows detailed user information.

func (*PagesManager) UserEditPage

func (p *PagesManager) UserEditPage(ctx *router.PageContext) (g.Node, error)

UserEditPage allows editing user information.

func (*PagesManager) UsersListPage

func (p *PagesManager) UsersListPage(ctx *router.PageContext) (g.Node, error)

UsersListPage shows list of users with search, filters, pagination, and bulk actions.

Jump to

Keyboard shortcuts

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