@if ((libraryState$ | async)?.libraries; as libraries) {

Upload Books

Upload your books to library or bookdrop folder

Upload Destination
@if (value === 'library') {
Library Selection
}
Select Files
Click "Choose" to select files or drag and drop them below
@if (files?.length > 0) {
@for (uploadFile of this.files; track uploadFile; let i = $index) {
{{ uploadFile.file.name }} {{ formatSize(uploadFile.file.size) }}
@switch (uploadFile.status) { @case ('Pending') { } @case ('Uploading') { } @case ('Uploaded') { } @case ('Failed') { @if (uploadFile.errorMessage?.includes('exceeds maximum size')) { @if (hasUploadCompleted()) { } @else { } } @else { } } }
}
}

Drag and Drop Files

Supported formats: .pdf, .epub, .cbz, .cbr, .cb7, .fb2
Maximum file size: {{ maxFileSizeDisplay }} per file

}