mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 18:17:02 +01:00
Refactor uploads to service, working global dd
This commit is contained in:
parent
88a67c8703
commit
73cab2af2d
7 changed files with 166 additions and 51 deletions
|
|
@ -1,3 +1,11 @@
|
|||
<app-toasts></app-toasts>
|
||||
|
||||
<router-outlet></router-outlet>
|
||||
<ngx-file-drop dropZoneClassName="main-dropzone" contentClassName="main-content" [disabled]="!dragDropEnabled"
|
||||
(onFileDrop)="dropped($event)" (onFileOver)="fileOver()" (onFileLeave)="fileLeave()">
|
||||
<ng-template ngx-file-drop-content-tmp>
|
||||
<div class="global-dropzone-overlay">
|
||||
<h1 class="display-6">Drop files to begin upload</h1>
|
||||
</div>
|
||||
<router-outlet></router-outlet>
|
||||
</ng-template>
|
||||
</ngx-file-drop>
|
||||
Loading…
Add table
Add a link
Reference in a new issue