templates

package
v0.0.0-...-c2f43af Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DynamicViewLayout

func DynamicViewLayout(contentTarget string, dataTarget string) templ.Component

func EventCard

func EventCard(thumbnailURL, source, time, severity, severityClass, description, eventID, eventType string) templ.Component

func EventsInfiniteScroll

func EventsInfiniteScroll(nextpage string, events []Event) templ.Component

func EventsList

func EventsList(events []Event) templ.Component
func Footer() templ.Component
func Header() templ.Component

func Home

func Home() templ.Component

func Layout

func Layout(content templ.Component, theme string) templ.Component

func Login

func Login() templ.Component

func MapServer

func MapServer(server Server) templ.Component

func ServerCard

func ServerCard(serverID, name, serverType string) templ.Component

func ServersInfiniteScroll

func ServersInfiniteScroll(nextPage string, servers []Server) templ.Component

func ServersList

func ServersList(servers []Server) templ.Component

func Settings

func Settings() templ.Component
func Sidebar() templ.Component

func TestLayout

func TestLayout(header, footer, sidebar, content templ.Component, theme string) templ.Component

func VideoEvent

func VideoEvent(event Event) templ.Component

func VideoServer

func VideoServer(server Server) templ.Component

Types

type Event

type Event struct {
	EventID       string
	Name          string
	EventType     string
	ThumbnailURL  string
	Source        string
	SourceURL     string
	Time          string
	Severity      string
	SeverityClass string
	Description   string
	Roles         string
}

func NewEvent

func NewEvent(event models.Event) Event

type Server

type Server struct {
	ServerID string
	Name     string
	Type     string
	Roles    string
}

func NewServer

func NewServer(server models.Server) Server

Jump to

Keyboard shortcuts

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