views

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

templ: version: v0.2.778

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banned added in v1.0.7

func Banned() templ.Component

func Chapter

func Chapter(previousChapter string, currentChapter string, nextChapter string, manga models.Manga, images []string, chapter models.Chapter, chapters []models.Chapter) templ.Component

func Chapters

func Chapters(manga models.Manga, chapters []models.Chapter) templ.Component

func Error

func Error(message string) templ.Component

func Folder

func Folder(folderValue string) templ.Component
func Footer() templ.Component

func FormContent

func FormContent(library models.Library) templ.Component

func Home

func Home(recentlyAdded []models.Manga, recentlyUpdated []models.Manga) templ.Component

func Info

func Info(manga models.Manga) templ.Component

func Layout

func Layout(content templ.Component, userRole string) templ.Component

func Libraries added in v1.0.7

func Libraries(libraries []models.Library) templ.Component

func LibraryForm

func LibraryForm(library models.Library, action string) templ.Component

func LibraryTable

func LibraryTable(libraries []models.Library) templ.Component

func Login

func Login() templ.Component

func Manga

func Manga(manga models.Manga, chapters []models.Chapter) templ.Component

func Mangas

func Mangas(mangas []models.Manga, totalCount int, currentPage int) templ.Component
func Navbar(userRole string) templ.Component

func NoResultsSearch

func NoResultsSearch() templ.Component

func NotFound

func NotFound() templ.Component

func OneDoesNotSimplySearch

func OneDoesNotSimplySearch() templ.Component

func Pagination

func Pagination(totalCount int, currentPage int) templ.Component

func PaginationItem

func PaginationItem(enabled bool, page int, text string, icon string) templ.Component

func PaginationNumbers

func PaginationNumbers(totalCount int, currentPage int) templ.Component

func Register

func Register() templ.Component

func SearchMangas

func SearchMangas(mangas []models.Manga) templ.Component

func UpdateMetadata

func UpdateMetadata(response models.ListMangaResponse, mangaSlug string) templ.Component

func Users added in v1.0.7

func Users(users []models.User) templ.Component

func UsersTable added in v1.0.7

func UsersTable(users []models.User) templ.Component

func WrongCredentials

func WrongCredentials() templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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