pages

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Appearance

func Appearance() templ.Component

func ClipProfiles

func ClipProfiles(props ClipProfilesProps) templ.Component

func Clips

func Clips(props ClipsProps) templ.Component

func ClipsList

func ClipsList(props ClipsProps) templ.Component

func Dashboard

func Dashboard(props DashboardProps) templ.Component

func ErrorPage

func ErrorPage(props ErrorPageProps) templ.Component

func ItemClipList

func ItemClipList(items []view.ClipItem, filtered bool) templ.Component

func LiveSessions

func LiveSessions(sessions []SessionItem) templ.Component

func Login

func Login(props LoginProps) templ.Component

func Media

func Media(props view.MediaProps) templ.Component

func MediaItemPage

func MediaItemPage(props MediaItemPageProps) templ.Component

func NewClip

func NewClip(props NewClipProps) templ.Component

func Servers

func Servers(props ServersProps) templ.Component

Types

type ClipProfileItem

type ClipProfileItem struct {
	ID        string
	Name      string
	CRF       int
	Preset    string
	AudioKbps int
	MaxWidth  int
	IsDefault bool
}

type ClipProfilesProps

type ClipProfilesProps struct {
	Profiles []ClipProfileItem
	Presets  []string
	Widths   []OutputWidthOption
	Error    string
}

type ClipsProps

type ClipsProps struct {
	Items  []view.ClipItem
	Status string
	Type   string
	Query  string
	Sort   string
}

type DashboardProps

type DashboardProps struct {
	TotalClips   int
	PendingClips int
	Completed    int
	Failed       int
	Sessions     []SessionItem
}

type ErrorPageProps

type ErrorPageProps struct {
	Title   string
	Message string
	Status  int
}

type LoginProps

type LoginProps struct {
	AuthURL string
	Error   string
}

type MediaItemPageProps

type MediaItemPageProps struct {
	ID            string
	Title         string
	Type          string
	Duration      float64
	MaxDur        int
	Clips         []view.ClipItem
	ClipStatus    string
	ClipType      string
	ClipQuery     string
	ClipSort      string
	Profiles      []view.ClipProfileOption
	AudioTracks   []view.AudioTrackOption
	Error         string
	PreviewID     string
	StartTime     float64
	EndTime       float64
	CropBlackBars bool
	WebSafeColor  bool
	Crumbs        []view.Crumb
	LibraryID     string
}

type NewClipProps

type NewClipProps struct {
	MediaID       string
	MediaTitle    string
	MediaType     string
	StartTime     float64
	Duration      float64
	MaxDur        int
	Profiles      []view.ClipProfileOption
	AudioTracks   []view.AudioTrackOption
	CropBlackBars bool
	WebSafeColor  bool
}

type OutputWidthOption

type OutputWidthOption struct {
	Width int
	Label string
}

type ServerItem

type ServerItem struct {
	Name     string
	Address  string
	Port     int
	Scheme   string
	Token    string
	Local    bool
	Selected bool
}

type ServersProps

type ServersProps struct {
	Servers []ServerItem
	Error   string
}

type SessionItem

type SessionItem struct {
	ID         string
	MediaID    string
	Parts      []view.Crumb
	Year       int
	ViewOffset float64
	Duration   float64
}

Jump to

Keyboard shortcuts

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