Merge branch 'main' into feature/download

This commit is contained in:
2024-02-16 22:16:16 +01:00
6 changed files with 62 additions and 26 deletions

View File

@ -14,6 +14,18 @@
<button class="btn btn-primary w-full max-w-xs flex justify-center items-center mb-4" (click)="checkFile()">
Download
</button>
<p class="text-gray-600 text-center w-2/3">Files are available for a limited time. Ensure the code or link is correct.</p>
<p class="text-gray-600 text-center w-2/3">Files are available for a limited time. Ensure the code or link is correct and the file is still downloadable.</p>
</div>
</div>
<dialog #password_modal class="modal">
<div class="modal-box">
<h3 class="font-bold text-lg">Please enter the file password</h3>
<p class="py-4">Please enter the download password:</p>
<input type="password" placeholder="Password..." class="input input-bordered w-full max-w-xs" />
<div class="modal-action">
<form method="dialog">
<button class="btn">Cancel download</button>
</form>
</div>
</div>
</dialog>