make "next" button disabled until game data is entered; add ID to reset button so we can clear inputs in JS

This commit is contained in:
Max Bradbury 2020-07-19 20:53:56 +01:00
parent 0f0da48571
commit 9383ac76fd
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ html(lang="en-gb")
br br
textarea#game-data(placeholder="Paste your game data here or use the file chooser button above") textarea#game-data(placeholder="Paste your game data here or use the file chooser button above")
button.pagination.prev previous button.pagination.prev previous
button.pagination.next#game-data-next next button.pagination.next#game-data-next(disabled=true) next
.page.image .page.image
h2 image h2 image
.image-container .image-container
@ -32,6 +32,6 @@ html(lang="en-gb")
br br
button#download download button#download download
button.pagination.prev add another image button.pagination.prev add another image
button.pagination.start start again button.pagination.start#reset start again
script(type="module") script(type="module")
include script.js include script.js