Documentation
¶
Index ¶
- func BanStatsFragment(summary ui.SecurityKPIs) templ.Component
- func Bans(data ui.BansData) templ.Component
- func BansTableFragment(data ui.BansData) templ.Component
- func Dashboard(data ui.DashboardData) templ.Component
- func Feeds(data ui.FeedsPageData) templ.Component
- func FeedsContentFragment(data ui.FeedsPageData) templ.Component
- func FeedsTableFragment(feeds []ui.FeedEntry) templ.Component
- func GeoIP(data ui.GeoIPPageData) templ.Component
- func GeoIPContentFragment(data ui.GeoIPPageData) templ.Component
- func GeoIPCountriesTableFragment(countries []ui.GeoCountryEntry) templ.Component
- func GeoIPRecentBlocksFragment(blocks []ui.GeoBlockEntry) templ.Component
- func GeoLookupResultFragment(result ui.GeoLookupResult) templ.Component
- func Health(data ui.HealthData) templ.Component
- func HealthContentFragment(data ui.HealthData) templ.Component
- func HealthFragment(health []ui.HealthItem) templ.Component
- func IPCheckResultFragment(result ui.IPCheckResult) templ.Component
- func IdentityFragment(id ui.SystemIdentity) templ.Component
- func Inventory(data ui.InventoryData) templ.Component
- func InventoryContent(data ui.InventoryData) templ.Component
- func LogEntriesFragment(logs []ui.LogEntry) templ.Component
- func Login(errorMsg string) templ.Component
- func Metrics(data ui.MetricsData) templ.Component
- func MetricsContentFragment(data ui.MetricsData) templ.Component
- func Modules(data ModulesData) templ.Component
- func ModulesFragment(modules []ui.ModuleStatus) templ.Component
- func ModulesListFragment(modules []ui.ModuleStatus) templ.Component
- func Network(data ui.NetworkPageData) templ.Component
- func NetworkContentFragment(data ui.NetworkPageData) templ.Component
- func NetworkFragment(sec ui.SecurityKPIs) templ.Component
- func RecentBansFragment(bans []ui.RecentBan) templ.Component
- func RecentFragment(bans []ui.RecentBan) templ.Component
- func ResourcesFragment(res ui.ResourceStats) templ.Component
- func SearchResultFragment(result ui.SearchResult) templ.Component
- func SecurityFragment(sec ui.SecurityKPIs) templ.Component
- func ServicesQuickFragment(health []ui.HealthItem) templ.Component
- func SummaryCardsFragment(summary ui.SecurityKPIs) templ.Component
- func System(data ui.SystemPageData) templ.Component
- func SystemContentFragment(data ui.SystemPageData) templ.Component
- func SystemStatsFragment(stats ui.ResourceStats) templ.Component
- func Tools(data ui.ToolsData) templ.Component
- func Whitelist(data ui.WhitelistData) templ.Component
- func WhitelistStatsFragment(summary ui.SecurityKPIs) templ.Component
- func WhitelistTableFragment(data ui.WhitelistData) templ.Component
- type BansPageData
- type ModulesData
- type ModulesSummary
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 BansTableFragment ¶ added in v1.8.7
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
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
LogEntriesFragment renders log entries
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 RecentFragment ¶ added in v1.8.7
============================================================================= 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 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
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