From 5cc2aaca493650874c8af7d28fd65919500d3642 Mon Sep 17 00:00:00 2001 From: Rostislav Raykov Date: Thu, 17 Oct 2024 23:47:31 +0300 Subject: [PATCH] added a message that the file is being prepared for encrypted files --- src/main/resources/static/js/fileView.js | 4 ++++ src/main/resources/templates/fileView.html | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/src/main/resources/static/js/fileView.js b/src/main/resources/static/js/fileView.js index e2b6b4c..17021f3 100644 --- a/src/main/resources/static/js/fileView.js +++ b/src/main/resources/static/js/fileView.js @@ -7,4 +7,8 @@ function copyToClipboard() { }).catch(function (err) { console.error("Could not copy text: ", err); }); +} + +function showPreparingMessage() { + document.getElementById('preparingMessage').style.display = 'block'; } \ No newline at end of file diff --git a/src/main/resources/templates/fileView.html b/src/main/resources/templates/fileView.html index b609eda..14b6270 100644 --- a/src/main/resources/templates/fileView.html +++ b/src/main/resources/templates/fileView.html @@ -86,10 +86,16 @@ + +
Download