mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
rework of the front end components
This commit is contained in:
@@ -9,10 +9,16 @@
|
||||
|
||||
</ngx-file-drop>
|
||||
</form>
|
||||
<div *ngIf="uploadVisible" class="mt-3">
|
||||
<p i18n>{uploadStatus.length, plural, =1 {Uploading file...} =other {Uploading {{uploadStatus.length}} files...}}</p>
|
||||
<ngb-progressbar [value]="loadedSum" [max]="totalSum" [striped]="true" [animated]="uploadStatus.length > 0">
|
||||
<div *ngFor="let status of getStatus()">
|
||||
<p>{{status.filename}}: {{status.message}}</p>
|
||||
<ngb-progressbar [value]="status.getProgress()" [max]="1" [striped]="true" [animated]="!isFinished(status)" [type]="getType(status)">
|
||||
</ngb-progressbar>
|
||||
|
||||
<div *ngIf="isFinished(status)" class="mb-2">
|
||||
<button *ngIf="status.documentId" class="btn btn-sm btn-outline-primary mr-2" routerLink="/documents/{{status.documentId}}" (click)="dismiss(status)">Open document</button>
|
||||
<button class="btn btn-sm btn-outline-secondary" (click)="dismiss(status)">Dismiss</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</app-widget-frame>
|
Reference in New Issue
Block a user