diff --git a/src/main/resources/static/js/downloader.js b/src/main/resources/static/js/downloader.js index 87d2670a..46e6a948 100644 --- a/src/main/resources/static/js/downloader.js +++ b/src/main/resources/static/js/downloader.js @@ -32,6 +32,7 @@ $(document).ready(function () { const showGameBtn = document.getElementById("show-game-btn"); if (boredWaiting === "enabled" && showGameBtn) { showGameBtn.style.display = "block"; + showGameBtn.parentNode.insertBefore(document.createElement('br'), showGameBtn.nextSibling); } }, 5000); @@ -176,7 +177,8 @@ async function submitMultiPdfForm(url, files) { const zipThreshold = parseInt(localStorage.getItem("zipThreshold"), 10) || 4; const zipFiles = files.length > zipThreshold; let jszip = null; - // Show the progress bar + // Add Space below Progress Bar before Showing + $('.progressBarContainer').after($('
')); $(".progressBarContainer").show(); // Initialize the progress bar diff --git a/src/main/resources/templates/fragments/common.html b/src/main/resources/templates/fragments/common.html index 4ec8ce00..59a3b5f4 100644 --- a/src/main/resources/templates/fragments/common.html +++ b/src/main/resources/templates/fragments/common.html @@ -92,7 +92,7 @@ const downloadCompleteText = /*[[#{downloadComplete}]]*/ 'Download Complete'; window.downloadCompleteText = downloadCompleteText; // Create the 'show-game-btn' button - var gameButton = $('

'); + var gameButton = $(''); // Insert the 'show-game-btn' just above the submit button submitButton.before(gameButton); @@ -168,4 +168,4 @@ - \ No newline at end of file +