Documentation
¶
Overview ¶
templ: version: v0.3.977
templ: version: v0.3.977
templ: version: v0.3.977
Index ¶
- Variables
- func Dashboard(props components.LayoutProps) templ.Component
- func DashboardProps(user *types.User, survey *types.Survey) components.LayoutProps
- func DraftLayoutProps(user *types.User) components.LayoutProps
- func DraftsPageProps(survey types.Survey) components.DraftPageProps
- func Profile(bannerProps components.BannerProps) templ.Component
- func ResultsLayoutProps(user *types.User) components.LayoutProps
- func ResultsPageProps(user *types.User, survey *types.Survey, results *[]types.DraftResult) components.LayoutProps
- func Settings() templ.Component
- func SurveyLayoutProps(user *types.User) components.LayoutProps
- func SurveyListLayoutProps(user *types.User) components.LayoutProps
- func SurveyPageProps(survey types.Survey, countries []types.Country) components.SurveyPageProps
- func TanksLayoutProps(user *types.User) components.LayoutProps
- func TanksPageProps(survey types.Survey, draftIndex int, trim, list *float64, ...) components.TanksPageProps
Constants ¶
This section is empty.
Variables ¶
View Source
var BannerFileCorrupted = components.BannerProps{ Type: components.Warn, Header: "Profile File Corrupted", Message: "Your profile file could not be read. Please fill in your details again.", }
View Source
var ProfilePageProps = components.LayoutProps{
Title: "Surveyor Profile",
MetaDescription: "Set up your surveyor profile",
}
Functions ¶
func Dashboard ¶
func Dashboard(props components.LayoutProps) templ.Component
func DashboardProps ¶
func DashboardProps(user *types.User, survey *types.Survey) components.LayoutProps
func DraftLayoutProps ¶
func DraftLayoutProps(user *types.User) components.LayoutProps
func DraftsPageProps ¶
func DraftsPageProps(survey types.Survey) components.DraftPageProps
func Profile ¶
func Profile(bannerProps components.BannerProps) templ.Component
func ResultsLayoutProps ¶
func ResultsLayoutProps(user *types.User) components.LayoutProps
func ResultsPageProps ¶
func ResultsPageProps(user *types.User, survey *types.Survey, results *[]types.DraftResult) components.LayoutProps
func SurveyLayoutProps ¶
func SurveyLayoutProps(user *types.User) components.LayoutProps
func SurveyListLayoutProps ¶
func SurveyListLayoutProps(user *types.User) components.LayoutProps
func SurveyPageProps ¶
func SurveyPageProps(survey types.Survey, countries []types.Country) components.SurveyPageProps
func TanksLayoutProps ¶
func TanksLayoutProps(user *types.User) components.LayoutProps
func TanksPageProps ¶
func TanksPageProps(survey types.Survey, draftIndex int, trim, list *float64, trimDir, listDir string) components.TanksPageProps
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
templates
|
|
|
pages
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
drafts
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
results
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
survey
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
survey-list
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
tanks
templ: version: v0.3.977
|
templ: version: v0.3.977 |
|
tanks/corrections
templ: version: v0.3.977
|
templ: version: v0.3.977 |
Click to show internal directories.
Click to hide internal directories.