This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
score-tracker/views/submit.pug

42 lines
1.5 KiB
Plaintext
Raw Normal View History

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