* Add <br> when Bored Waiting Button Appears * Added <br> below progress bar as well * Removed <br> Two <br> tags were added which were taking lot of space. I dynamically added space when needed.
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
const downloadCompleteText = /*[[#{downloadComplete}]]*/ 'Download Complete';
|
||||
window.downloadCompleteText = downloadCompleteText;
|
||||
// Create the 'show-game-btn' button
|
||||
var gameButton = $('<button type="button" class="btn btn-primary" id="show-game-btn" style="display:none;">' + boredWaitingText + '</button><br><br>');
|
||||
var gameButton = $('<button type="button" class="btn btn-primary" id="show-game-btn" style="display:none;">' + boredWaitingText + '</button>');
|
||||
|
||||
// Insert the 'show-game-btn' just above the submit button
|
||||
submitButton.before(gameButton);
|
||||
@@ -168,4 +168,4 @@
|
||||
</div>
|
||||
</div>
|
||||
<script th:src="@{'/js/fileInput.js'}"></script>
|
||||
</th:block>
|
||||
</th:block>
|
||||
|
||||
Reference in New Issue
Block a user