pages

package
v1.8.13 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BanStatsFragment added in v1.8.7

func BanStatsFragment(summary ui.SecurityKPIs) templ.Component

func Bans added in v1.8.7

func Bans(data ui.BansData) templ.Component

Bans renders the ban management page

func BansTableFragment added in v1.8.7

func BansTableFragment(data ui.BansData) templ.Component

BansTableFragment renders just the table (for HTMX updates)

func Dashboard

func Dashboard(data ui.DashboardData) templ.Component

Dashboard renders the professional admin dashboard

func Feeds added in v1.8.7

func Feeds(data ui.FeedsPageData) templ.Component

Feeds renders the threat feeds management page

func FeedsContentFragment added in v1.8.7

func FeedsContentFragment(data ui.FeedsPageData) templ.Component

FeedsContentFragment renders all feeds content sections

func FeedsTableFragment added in v1.8.7

func FeedsTableFragment(feeds []ui.FeedEntry) templ.Component

FeedsTableFragment renders just the feeds table for HTMX updates

func GeoIP added in v1.8.7

func GeoIP(data ui.GeoIPPageData) templ.Component

GeoIP renders the GeoIP/GeoBan management page

func GeoIPContentFragment added in v1.8.7

func GeoIPContentFragment(data ui.GeoIPPageData) templ.Component

GeoIPContentFragment renders all GeoIP content sections

func GeoIPCountriesTableFragment added in v1.8.7

func GeoIPCountriesTableFragment(countries []ui.GeoCountryEntry) templ.Component

GeoIPCountriesTableFragment renders the countries table

func GeoIPRecentBlocksFragment added in v1.8.7

func GeoIPRecentBlocksFragment(blocks []ui.GeoBlockEntry) templ.Component

GeoIPRecentBlocksFragment renders recent geo-blocks

func GeoLookupResultFragment added in v1.8.7

func GeoLookupResultFragment(result ui.GeoLookupResult) templ.Component

GeoLookupResultFragment renders GeoIP lookup results

func Health added in v1.8.7

func Health(data ui.HealthData) templ.Component

Health renders the full health analysis page

func HealthContentFragment added in v1.8.7

func HealthContentFragment(data ui.HealthData) templ.Component

HealthContentFragment renders all health sections

func HealthFragment added in v1.8.7

func HealthFragment(health []ui.HealthItem) templ.Component

func IPCheckResultFragment added in v1.8.7

func IPCheckResultFragment(result ui.IPCheckResult) templ.Component

============================================================================= FRAGMENT: IP Check Result =============================================================================

func IdentityFragment added in v1.8.7

func IdentityFragment(id ui.SystemIdentity) templ.Component

============================================================================= FRAGMENT: System Identity (Top Left) =============================================================================

func Inventory added in v1.8.7

func Inventory(data ui.InventoryData) templ.Component

Inventory renders the inventory page

func InventoryContent added in v1.8.7

func InventoryContent(data ui.InventoryData) templ.Component

InventoryContent renders the inventory sections

func LogEntriesFragment added in v1.8.7

func LogEntriesFragment(logs []ui.LogEntry) templ.Component

LogEntriesFragment renders log entries

func Login

func Login(errorMsg string) templ.Component

Login renders the login page

func Metrics added in v1.8.7

func Metrics(data ui.MetricsData) templ.Component

Metrics renders the unified metrics overview page

func MetricsContentFragment added in v1.8.7

func MetricsContentFragment(data ui.MetricsData) templ.Component

MetricsContentFragment renders all metrics sections

func Modules added in v1.8.7

func Modules(data ModulesData) templ.Component

Modules renders the modules status page

func ModulesFragment added in v1.8.7

func ModulesFragment(modules []ui.ModuleStatus) templ.Component

============================================================================= FRAGMENT: Module Status Table =============================================================================

func ModulesListFragment added in v1.8.7

func ModulesListFragment(modules []ui.ModuleStatus) templ.Component

ModulesListFragment renders the list of modules

func Network added in v1.8.7

func Network(data ui.NetworkPageData) templ.Component

Network renders the network monitoring page

func NetworkContentFragment added in v1.8.7

func NetworkContentFragment(data ui.NetworkPageData) templ.Component

NetworkContentFragment renders all network content sections

func NetworkFragment added in v1.8.7

func NetworkFragment(sec ui.SecurityKPIs) templ.Component

============================================================================= FRAGMENT: Network Stats (Top Right) =============================================================================

func RecentBansFragment added in v1.8.7

func RecentBansFragment(bans []ui.RecentBan) templ.Component

func RecentFragment added in v1.8.7

func RecentFragment(bans []ui.RecentBan) templ.Component

============================================================================= FRAGMENT: Recent Bans =============================================================================

func ResourcesFragment added in v1.8.7

func ResourcesFragment(res ui.ResourceStats) templ.Component

============================================================================= FRAGMENT: Resource Consumption =============================================================================

func SearchResultFragment added in v1.8.7

func SearchResultFragment(result ui.SearchResult) templ.Component

SearchResultFragment renders cross-set search results

func SecurityFragment added in v1.8.7

func SecurityFragment(sec ui.SecurityKPIs) templ.Component

============================================================================= FRAGMENT: Security KPIs (Top Center) =============================================================================

func ServicesQuickFragment added in v1.8.7

func ServicesQuickFragment(health []ui.HealthItem) templ.Component

func SummaryCardsFragment added in v1.8.7

func SummaryCardsFragment(summary ui.SecurityKPIs) templ.Component

============================================================================= BACKWARDS COMPAT FRAGMENTS (for old handlers) =============================================================================

func System added in v1.8.7

func System(data ui.SystemPageData) templ.Component

System renders the system overview page

func SystemContentFragment added in v1.8.7

func SystemContentFragment(data ui.SystemPageData) templ.Component

SystemContentFragment renders all system content sections

func SystemStatsFragment added in v1.8.7

func SystemStatsFragment(stats ui.ResourceStats) templ.Component

func Tools added in v1.8.7

func Tools(data ui.ToolsData) templ.Component

Tools renders the diagnostic tools page

func Whitelist added in v1.8.7

func Whitelist(data ui.WhitelistData) templ.Component

Whitelist renders the whitelist management page

func WhitelistStatsFragment added in v1.8.7

func WhitelistStatsFragment(summary ui.SecurityKPIs) templ.Component

func WhitelistTableFragment added in v1.8.7

func WhitelistTableFragment(data ui.WhitelistData) templ.Component

WhitelistTableFragment renders just the table (for HTMX updates)

Types

type BansPageData added in v1.8.7

type BansPageData struct {
	Data ui.BansData
}

BansData wrapper for page-specific data

type ModulesData added in v1.8.7

type ModulesData struct {
	Modules []ui.ModuleStatus
	Summary ModulesSummary
}

ModulesData holds module information

type ModulesSummary added in v1.8.7

type ModulesSummary struct {
	Total    int
	Enabled  int
	Disabled int
	Running  int
}

ModulesSummary holds module counts

Jump to

Keyboard shortcuts

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