package templates
templ AdminLibrary(user User, libraries []LibraryData, users []User, archivedCount int64) {
Delete Library
Are you sure you want to delete ?
This will remove the library and all its folder mappings. Media files will not be deleted.
}
templ LibraryList(user User, libraries []LibraryData, users []User) {
if len(libraries) == 0 {
@Icon("library", "h-7 w-7")
No Libraries Yet
Create your first library to get started
} else {
@Icon("folder", "h-4 w-4 shrink-0")
Folders
if len(folders) == 0 {
No folders configured. Add a folder to enable scanning.
} else {
for _, folder := range folders {
{ folder.FolderPath }
}
}
if len(users) > 0 {
}
if issueCount > 0 {
}
}
templ FolderBrowserContent(currentPath string, parentPath string, entries []DirEntry, targetInput string, libraryID string) {
@Icon("folder", "h-4 w-4 shrink-0")
{ currentPath }
if parentPath != "" {
}
for _, entry := range entries {
}
}