From 9383ac76fdf1460f95f4259e3c78bdef48e280d9 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 19 Jul 2020 20:53:56 +0100 Subject: [PATCH] make "next" button disabled until game data is entered; add ID to reset button so we can clear inputs in JS --- index.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.pug b/index.pug index d15ee22..fd23db2 100644 --- a/index.pug +++ b/index.pug @@ -17,7 +17,7 @@ html(lang="en-gb") br textarea#game-data(placeholder="Paste your game data here or use the file chooser button above") button.pagination.prev previous - button.pagination.next#game-data-next next + button.pagination.next#game-data-next(disabled=true) next .page.image h2 image .image-container @@ -32,6 +32,6 @@ html(lang="en-gb") br button#download download button.pagination.prev add another image - button.pagination.start start again + button.pagination.start#reset start again script(type="module") include script.js