views

package
v0.0.0-...-870068e Latest Latest
Warning

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

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

Documentation

Overview

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminCinema

func AdminCinema(vm AdminCinemaViewModel) templ.Component

func AdminCinemas

func AdminCinemas(vm AdminCinemasViewModel) templ.Component

func AdminDash

func AdminDash(vm AdminDashViewModel) templ.Component

func AdminImportForm

func AdminImportForm(vm AdminImportViewModel) templ.Component

func AdminLogin

func AdminLogin(vm AdminLoginViewModel) templ.Component

func AdminMovieLog

func AdminMovieLog(vm AdminMovieLogViewModel) templ.Component

func Home

func Home(vm HomeViewModel) templ.Component

Types

type AdminCinemaViewModel

type AdminCinemaViewModel struct {
	ServerSrc string
	Name      string
	ID        int64
}

type AdminCinemasCinemaViewModel

type AdminCinemasCinemaViewModel struct {
	URL  string
	Name string
	ID   int64
}

type AdminCinemasViewModel

type AdminCinemasViewModel struct {
	ServerSrc string
	Cinemas   []AdminCinemasCinemaViewModel
}

type AdminCreateCinemaViewModel

type AdminCreateCinemaViewModel struct {
	ServerSrc string
}

type AdminCreateMovieLogViewModel

type AdminCreateMovieLogViewModel struct {
	ServerSrc   string
	Cinemas     []AdminCinemasCinemaViewModel
	DefaultDate string
}

type AdminDashViewModel

type AdminDashViewModel struct {
	ServerSrc  string
	SQL        string
	Error      string
	Columns    []string
	Rows       [][]string
	Page       int64
	PageSize   int64
	TotalRows  int64
	TotalPages int64
}

type AdminImportReportViewModel

type AdminImportReportViewModel struct {
	ServerSrc string
	Total     int
	Imported  int
	Skipped   int
	Results   []ImportResult
}

type AdminImportViewModel

type AdminImportViewModel struct {
	ServerSrc string
}

type AdminLoginViewModel

type AdminLoginViewModel struct {
	ServerSrc string
}

type AdminMovieLogViewModel

type AdminMovieLogViewModel struct {
	ServerSrc              string
	ID                     int64
	MovieID                int64
	MovieName              string
	PosterURL              string
	DateStr                string
	CinemaID               string
	Rating                 string
	Review                 string
	ReviewContainsSpoilers bool
	Cinemas                []AdminCinemasCinemaViewModel
}

type AdminMovieLogsListViewModel

type AdminMovieLogsListViewModel struct {
	ServerSrc string
	Logs      []AdminMovieLogsLogViewModel
}

type AdminMovieLogsLogViewModel

type AdminMovieLogsLogViewModel struct {
	URL        string
	MovieName  string
	Date       string
	Rating     string
	CinemaName string
	Review     string
	Spoilers   bool
}

type HomeViewModel

type HomeViewModel struct {
	ServerSrc string
	MovieLogs []MovieLogViewModel
}

type ImportResult

type ImportResult struct {
	Source    string
	MovieName string
	Watched   string
	Rating    string
	Success   bool
	Error     string
}

type MovieLogViewModel

type MovieLogViewModel struct {
	URL       string
	MovieName string
	PosterURL string
	Year      int
	Month     int
	Day       int
	Rating    string
}

type PublicMovieLogViewModel

type PublicMovieLogViewModel struct {
	ServerSrc              string
	ID                     int64
	MovieName              string
	PosterURL              string
	DateStr                string
	Rating                 string
	CinemaName             string
	Review                 string
	ReviewContainsSpoilers bool
}

Jump to

Keyboard shortcuts

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