@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) { @if (isUploading || uploadCompleted) {
@if (isUploading) { Uploading... } @else { Complete } {{ getUploadedCount() }}/{{ this.files.length }} files @if (getFailedCount() > 0) { ({{ getFailedCount() }} failed) } {{ formatSize(getUploadedBytes()) }} / {{ formatSize(getTotalBytes()) }} {{ getOverallProgress() }}%
}
@for (uploadFile of this.files; track uploadFile; let i = $index) {
{{ uploadFile.file.name }} {{ formatSize(uploadFile.file.size) }} @if (uploadFile.status === 'Uploading') { {{ uploadFile.progress }}% }
@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, .m4b, .mp3
Maximum file size: {{ maxFileSizeDisplay }} per file

}