Finished upload logic

This commit is contained in:
2024-02-16 18:32:59 +01:00
parent b607424d8a
commit cd9a800bf0
4 changed files with 27 additions and 5 deletions

View File

@ -98,9 +98,12 @@
<p class="text-sm text-gray-500 mt-1">Your file is now securely stored on our servers.</p>
<div class="mt-4 flex flex-col w-full items-center">
<button class="btn btn-success w-full max-w-xs text-white">Copy URL</button>
<button class="btn btn-primary mt-2 w-full max-w-xs">Upload Another File</button>
<button class="btn btn-outline btn-secondary mt-2 w-full max-w-xs">Delete this file</button>
<button class="btn btn-success w-full max-w-xs text-white" (click)="copyUrlToClipboard(this.fileUrls?.downloadUrl)">
<div *ngIf="!urlCopied">Copy Download URL</div>
<div *ngIf="urlCopied"><img width="20" src="./assets/check-solid.svg" alt="kk"></div>
</button>
<button class="btn btn-primary mt-2 w-full max-w-xs" routerLink="/home">Home</button>
<button class="btn btn-outline btn-secondary mt-2 w-full max-w-xs" disabled>Delete this file</button>
</div>
</div>
@ -109,5 +112,6 @@
<!-- Invisible SVGs to prevent lazy loading -->
<div class="invisible h-0 w-0">
<img src="./assets/file-solid.svg">
<img src="./assets/check-solid.svg">
<img src="./assets/circle-check-solid.svg">
</div>