Documentation
¶
Overview ¶
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
templ: version: v0.3.943
Index ¶
- func AlbumCreate(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func AlbumCreateIndex(username string, csrfToken string) templ.Component
- func AlbumEdit(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func AlbumEditIndex(username string, csrfToken string, album models.Album) templ.Component
- func AlbumView(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func AlbumViewIndex(username string, csrfToken string, album models.Album, ...) templ.Component
- func Albums(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func AlbumsIndex(username string, csrfToken string, plan string, ...) templ.Component
- func GalleryGroups(groups []ImageGroup, page int, lastGroup string, selectedYear int) templ.Component
- func GalleryImageItem(image GalleryImage) templ.Component
- func ImageEditContent(image models.Image, csrfToken string) templ.Component
- func Images(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func ImagesGallery(username string, groups []ImageGroup, total int, years []int, selectedYear int) templ.Component
- func Profile(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func ProfileEdit(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func ProfileEditIndex(username string, csrfToken string, user models.User) templ.Component
- func ProfileIndex(username string, csrfToken string, plan string, user models.User, ...) templ.Component
- func PublicAlbum(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func PublicAlbumIndex(album models.Album, albumImages []GalleryImage) templ.Component
- func Settings(page string, fromProtected bool, isError bool, msg fiber.Map, username string, ...) templ.Component
- func SettingsIndex(username string, csrfToken string, plan string, canOrig bool, canWebp bool, ...) templ.Component
- func UserImageEdit(image models.Image, csrfToken string) templ.Component
- type AlbumWithGalleryImages
- type GalleryImage
- type ImageGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlbumCreate ¶
func AlbumEditIndex ¶
func AlbumViewIndex ¶
func AlbumViewIndex(username string, csrfToken string, album models.Album, albumImages []GalleryImage, userImages []GalleryImage) templ.Component
func AlbumsIndex ¶
func GalleryGroups ¶
func GalleryGroups(groups []ImageGroup, page int, lastGroup string, selectedYear int) templ.Component
Render grouped gallery blocks, each with its own masonry container
func GalleryImageItem ¶
func GalleryImageItem(image GalleryImage) templ.Component
Single image tile (card)
func ImagesGallery ¶
func ProfileEdit ¶
func ProfileEditIndex ¶
func ProfileIndex ¶
func PublicAlbum ¶
func PublicAlbumIndex ¶
func PublicAlbumIndex(album models.Album, albumImages []GalleryImage) templ.Component
func SettingsIndex ¶
Types ¶
type AlbumWithGalleryImages ¶
type AlbumWithGalleryImages struct {
Album models.Album
Images []GalleryImage
}
AlbumWithGalleryImages holds album with converted gallery images
type GalleryImage ¶
type GalleryImage struct {
ID uint
UUID string
Title string
PreviewPath string
SmallPreviewPath string
OriginalPath string
CreatedAt string
IsPublic bool
FileName string
Width int
Height int
FileSize int64
StorageTier string
StorageType string
StoragePoolName string
// Grouping helpers for section headers
GroupLabel string
SuppressHeader bool
RenderHeader bool
}
type ImageGroup ¶
type ImageGroup struct {
Label string
Items []GalleryImage
}
Click to show internal directories.
Click to hide internal directories.