components

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

templ: version: v0.3.977

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertModal added in v0.3.0

func AlertModal() templ.Component

func ConfirmModal added in v0.3.0

func ConfirmModal() templ.Component

func CountrySelect

func CountrySelect(props CountrySelectProps) templ.Component

func IconBell added in v0.2.0

func IconBell(size ...int) templ.Component

func IconClose added in v0.2.0

func IconClose(size ...int) templ.Component

func IconError added in v0.2.0

func IconError(size ...int) templ.Component

func IconInfo added in v0.2.0

func IconInfo(size ...int) templ.Component

func IconTrash added in v0.3.0

func IconTrash(size ...int) templ.Component

func IconWarn added in v0.2.0

func IconWarn(size ...int) templ.Component
func Logo() templ.Component

func LogoText

func LogoText() templ.Component

func PortSelect

func PortSelect(props PortSelectProps) templ.Component

func SeaCondition

func SeaCondition(scp SeaConditionProps) templ.Component

func SeaSelect

func SeaSelect(scp SeaConditionProps) templ.Component

func Toast added in v0.3.0

func Toast() templ.Component

func ValidateModal added in v0.3.0

func ValidateModal(header string, items []dto.NoticeItem) templ.Component

Types

type CountrySelectProps

type CountrySelectProps struct {
	Countries     []types.Country
	SelectedCode  string
	SelectedName  string
	CountryCodeID string
	CountryNameID string
}

type DraftPageProps

type DraftPageProps struct {
	Survey types.Survey
}

type LayoutProps

type LayoutProps struct {
	Title           string
	MetaDescription string
	User            *types.User
	ExtraCSS        []string
	ExtraJS         []string
	AppVersion      string
}

type PortSelectProps

type PortSelectProps struct {
	Ports    []types.Port
	Selected string
	Name     string
}

type ResultProps

type ResultProps struct {
	Survey    types.Survey
	Alpine    string
	Lastindex int
}

type SeaConditionProps

type SeaConditionProps struct {
	SeaCondition types.SeaCondition
	DraftIndex   *int
	SurveyID     string
}

type SurveyListProps

type SurveyListProps struct {
	Total      int
	Complete   int
	InProgress int
	Draft      int
	AllDTO     []dto.SurveyDTO
	WeekDTO    []dto.SurveyDTO
	MonthDTO   []dto.SurveyDTO
}

type SurveyPageProps

type SurveyPageProps struct {
	Survey    types.Survey
	Countries []types.Country
}

type TanksPageProps

type TanksPageProps struct {
	Survey     types.Survey
	DraftIndex int
	Trim       *float64
	TrimDir    string
	List       *float64
	ListDir    string
}

Jump to

Keyboard shortcuts

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