views

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Overview

templ: version: v0.2.771

templ: version: v0.2.771

templ: version: v0.2.771

templ: version: v0.2.771

templ: version: v0.2.771

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clock

func Clock(data ClockData) templ.Component

func Error

func Error(data ErrorData) templ.Component

func Home

func Home(data PageData) templ.Component

func Image

func Image(data PageData) templ.Component

func ImageDateTime added in v0.8.0

func ImageDateTime(data PageData) string

func ImageExif added in v0.8.0

func ImageExif(info immich.ExifInfo) string

func ImageFitContain

func ImageFitContain(ImageData, imageFit string) templ.Component

func ImageFitCover

func ImageFitCover(ImageData, imageFit string) templ.Component

func ImageFitNone

func ImageFitNone(ImageData, imageFit string) templ.Component

func ImageLocation added in v0.8.0

func ImageLocation(info immich.ExifInfo) string

Types

type ClockData

type ClockData struct {
	ClockTime string
	ClockDate string
}

type ErrorData

type ErrorData struct {
	Title   string
	Message string
}

type PageData

type PageData struct {
	// KioskVersion the current build version of Kiosk
	KioskVersion string
	// DeviceID unique id for device
	DeviceID string
	// ImmichImage immich asset data
	ImmichImage immich.ImmichAsset
	// ImageData image as base64 data
	ImageData string
	// ImageData blurred image as base64 data
	ImageBlurData string
	// Date image date
	ImageDate string
	// URL queries
	Queries url.Values
	// instance config
	config.Config
}

Jump to

Keyboard shortcuts

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