web

package
v0.0.0-...-25dc0e1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.2.680

templ: version: v0.2.680

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base() templ.Component

func Blacklist

func Blacklist(blacklist []*model.BlacklistPlayers) templ.Component

func BlacklistInput

func BlacklistInput() templ.Component

func BlacklistNav

func BlacklistNav() templ.Component

func BlacklistTable

func BlacklistTable(blacklist []*model.BlacklistPlayers) templ.Component

func BlacklistTableRow

func BlacklistTableRow(player *model.BlacklistPlayers) templ.Component

func ButtonDelete

func ButtonDelete(title string, hxdelete string, hxtarget string, hxswap string) templ.Component

func ButtonPost

func ButtonPost(title string, hxpost string, hxtarget string, hxswap string) templ.Component

func ButtonSubmit

func ButtonSubmit(title string) templ.Component

func GearIcon

func GearIcon() templ.Component

func HomeIcon

func HomeIcon() templ.Component

func Input

func Input(label string, typ string, placeholder string, inputName string, inputID string) templ.Component

func ListIcon

func ListIcon() templ.Component

func Main

func Main(serverlist []*model.Server) templ.Component
func MainNav() templ.Component
func NavBar(navItems templ.Component) templ.Component
func NavItem(title string, href templ.SafeURL, active bool, icon templ.Component) templ.Component

func NewServerInput

func NewServerInput() templ.Component

func PlayerTable

func PlayerTable(server *model.Server) templ.Component

func Render

func Render(ctx context.Context, w http.ResponseWriter, component templ.Component) error

func Setup

func Setup() templ.Component

func SetupCard

func SetupCard() templ.Component

func SetupNav

func SetupNav() templ.Component

func StatusFlag

func StatusFlag(status bool) templ.Component

func Table

func Table(serverlist []*model.Server) templ.Component

func TableRow

func TableRow(server *model.Server) templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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