Refactor uploads to service, working global dd

This commit is contained in:
Michael Shamoon
2022-03-10 20:59:09 -08:00
parent 88a67c8703
commit 73cab2af2d
7 changed files with 166 additions and 51 deletions

View File

@@ -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>