2021-11-20 23:48:48 +00:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
block stylesheets
|
|
|
|
link(rel='stylesheet', href='/stylesheets/submit.css')
|
2021-11-22 02:07:44 +00:00
|
|
|
link(rel='stylesheet', href='/stylesheets/form.css')
|
2021-11-20 23:48:48 +00:00
|
|
|
|
|
|
|
block content
|
2021-11-22 02:07:44 +00:00
|
|
|
div#mobile-view
|
2021-11-23 07:49:11 +00:00
|
|
|
h1 #{title}
|
|
|
|
form#submission-form(action='./submitgame', method='POST')
|
2021-11-22 02:07:44 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Year
|
|
|
|
span(class='form-section-input')
|
2021-11-23 07:49:11 +00:00
|
|
|
select#year-dropdown(name="year" class="form-main-dropdown" disabled)
|
2021-11-22 02:07:44 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Sport
|
|
|
|
span(class='form-section-input')
|
2021-11-23 07:49:11 +00:00
|
|
|
select#sport-dropdown(name="sport" class="form-main-dropdown" disabled)
|
|
|
|
select#gender-dropdown(name="gender" disabled)
|
|
|
|
select#division-dropdown(name="division" disabled)
|
2021-11-22 02:07:44 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Date of match
|
|
|
|
span(class='form-section-input')
|
2021-11-23 07:49:11 +00:00
|
|
|
input#date-input(type="date", name="date" value=date disabled)
|
2021-11-22 02:07:44 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Your team
|
|
|
|
span(class='form-section-input')
|
2021-11-23 07:49:11 +00:00
|
|
|
select#team1-dropdown(name="team1" class="form-main-dropdown" disabled)
|
|
|
|
input#team1-score-textbox(class="form-score-input", type="number", name="team1-score", value="0" disabled)
|
2021-11-22 02:07:44 +00:00
|
|
|
span(class='form-section')
|
|
|
|
label Opponent
|
|
|
|
span(class='form-section-input')
|
2021-11-23 07:49:11 +00:00
|
|
|
select#team2-dropdown(name="team2" class="form-main-dropdown" disabled)
|
|
|
|
input#team2-score-textbox(class="form-score-input", type="number", name="team2-score", value="0" disabled)
|
2021-11-22 02:07:44 +00:00
|
|
|
span(class='form-section')
|
2021-11-23 07:49:11 +00:00
|
|
|
button#submit-button(type="submit" disabled) Submit
|
|
|
|
span(class='form-section')
|
|
|
|
button#delete-button(disabled) Delete
|
2021-11-21 21:37:35 +00:00
|
|
|
|
|
|
|
block scripts
|
2021-11-23 07:49:11 +00:00
|
|
|
script(src='/scripts/manage/game.js' type="module")
|