diff --git a/views/index.pug b/views/index.pug index 7f6baf1..e69de29 100644 --- a/views/index.pug +++ b/views/index.pug @@ -1,40 +0,0 @@ -extends layout - -block stylesheets - link(rel='stylesheet', href='/stylesheets/submit.css') - -block content - h1 Submit Score - form(action='/submit', method='POST') - span(class='form-section') - label Sport - span(class='form-section-input') - select#sport-dropdown(name="sport") - option(value="Football" selected) Football - select#gender-dropdown(name="gender") - option(value="Male" selected) Male - option(value="Female") Female - select#division-dropdown(name="division") - option(value="Varsity") Varsity - option(value="JV-A") JV-A - option(value="JV-B") JV-B - span(class='form-section') - label Home Team - span(class='form-section-input') - input(type="text", name="home-team") - input(class="score-input", type="number", name="home-team-score", value="0") - span(class='form-section') - label Visiting Team - span(class='form-section-input') - input(type="text", name="visiting-team") - input(class="score-input", type="number", name="visiting-team-score", value="0") - span(class='form-section') - label Submitter - span(class='form-section-input') - input(type="text", name="submitter") - span(class='form-section') - label Send info to - span(class='form-section-input') - input(type="email", name="email", placeholder="email@example.com") - span(class='form-section') - button(type="submit") Submit diff --git a/views/submit.pug b/views/submit.pug index e69de29..385ad51 100644 --- a/views/submit.pug +++ b/views/submit.pug @@ -0,0 +1,41 @@ +extends layout + +block stylesheets + link(rel='stylesheet', href='/stylesheets/submit.css') + +block content + h1 Submit Score + form(action='/submit', method='POST') + span(class='form-section') + label Year + span(class='form-section-input') + select#year-dropdown(name="year" class="main-dropdown") + option(value="2022" selected) 2021-2022 + span(class='form-section') + label Sport + span(class='form-section-input') + select#sport-dropdown(name="sport" class="main-dropdown") + option(value="Basketball" selected) Basketball + select#gender-dropdown(name="gender") + option(value="Male" selected) Male + option(value="Female") Female + select#division-dropdown(name="division") + option(value="Varsity") Varsity + option(value="JV-A") JV-A + option(value="JV-B") JV-B + span(class='form-section') + label Date of match + span(class='form-section-input') + input(type="date", name="date", value=date) + span(class='form-section') + label Your team + span(class='form-section-input') + select#team1-dropdown(name="team1" class="main-dropdown") + input(class="score-input", type="number", name="team1-score", value="0") + span(class='form-section') + label Opponent + span(class='form-section-input') + select#team2-dropdown(name="team2" class="main-dropdown") + input(class="score-input", type="number", name="team2-score", value="0") + span(class='form-section') + button(type="submit") Submit