Documentation
¶
Overview ¶
templ: version: v0.3.1020
templ: version: v0.3.1020
Index ¶
- Constants
- func AccountEditPage(data AccountEditData) templ.Component
- func AccountSelfPage(data AccountSelfData) templ.Component
- func AccountsPage(data AccountsPageData) templ.Component
- func CSRFToken(ctx context.Context) string
- func LoginPage(errMsg string, showRegister bool, version string) templ.Component
- func RegisterPage(data RegisterPageData) templ.Component
- func SettingsPage(data SettingsPageData) templ.Component
- func SetupPage(errMsg string) templ.Component
- func StatusPage(data StatusData) templ.Component
- func UserDetailPage(data UserDetailData) templ.Component
- func UserManagementPage(data UserManagementData) templ.Component
- type APIKeyData
- type AccountData
- type AccountEditData
- type AccountSelfData
- type AccountsPageData
- type DeviceData
- type RegisterPageData
- type SettingsPageData
- type StatsData
- type StatusData
- type UserData
- type UserDetailData
- type UserManagementData
Constants ¶
View Source
const ContextKeyCSRFToken contextKey = "csrf_token"
View Source
const RepoURL = "https://github.com/cbrgm/gopodder"
Variables ¶
This section is empty.
Functions ¶
func AccountEditPage ¶
func AccountEditPage(data AccountEditData) templ.Component
func AccountSelfPage ¶
func AccountSelfPage(data AccountSelfData) templ.Component
func AccountsPage ¶
func AccountsPage(data AccountsPageData) templ.Component
func RegisterPage ¶
func RegisterPage(data RegisterPageData) templ.Component
func SettingsPage ¶
func SettingsPage(data SettingsPageData) templ.Component
func StatusPage ¶
func StatusPage(data StatusData) templ.Component
func UserDetailPage ¶
func UserDetailPage(data UserDetailData) templ.Component
func UserManagementPage ¶
func UserManagementPage(data UserManagementData) templ.Component
Types ¶
type APIKeyData ¶
type AccountData ¶
type AccountEditData ¶
type AccountEditData struct {
Account string
EditAccount AccountData
Users []UserData
APIKeys []APIKeyData
Flash string
Error string
}
type AccountSelfData ¶
type AccountsPageData ¶
type AccountsPageData struct {
Account string
Accounts []AccountData
Flash string
Error string
}
type DeviceData ¶
type RegisterPageData ¶
type RegisterPageData struct {
Error string
}
type SettingsPageData ¶
type StatusData ¶
type UserDetailData ¶
Click to show internal directories.
Click to hide internal directories.