Add labels to game submit page

main
sudoer777 2021-11-26 13:59:17 -07:00
parent 2fc17c0c42
commit 150a186aea
3 changed files with 33 additions and 18 deletions

View File

@ -46,6 +46,6 @@ form {
width: auto;
}
#sport-gender-division {
.flat-form-section {
flex-direction: row;
}

View File

@ -16,7 +16,7 @@ block content
label Year
span(class='form-section-input')
select#year-dropdown(name="year" class="form-main-dropdown")
span#sport-gender-division(class='form-section')
span(class='form-section flat-form-section')
span
label Sport
span(class='form-section-input')

View File

@ -10,26 +10,41 @@ block content
label Year
span(class='form-section-input')
select#year-dropdown(name="year" class="form-main-dropdown" disabled)
span(class='form-section')
label Sport
span(class='form-section-input')
select#sport-dropdown(name="sport" class="form-main-dropdown" disabled)
select#gender-dropdown(name="gender" disabled)
select#division-dropdown(name="division" disabled)
span(class='form-section flat-form-section')
span
label Sport
span(class='form-section-input')
select#sport-dropdown(name="sport" class="form-main-dropdown")
span
label Gender
span(class='form-section-input')
select#gender-dropdown(name="gender")
span
label Division
span(class='form-section-input')
select#division-dropdown(name="division")
span(class='form-section')
label Date of match
span(class='form-section-input')
input#date-input(type="date", name="date" value=date disabled)
span(class='form-section')
label Your team
span(class='form-section-input')
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)
span(class='form-section')
label Opponent
span(class='form-section-input')
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)
span(class='form-section flat-form-section')
span
label Your team
span(class='form-section-input')
select#team1-dropdown(name="team1" class="form-main-dropdown" disabled)
span(class='form-score-input')
label Score
span(class='form-section-input')
input#team1-score-textbox(type="number", name="team1-score", value="0" disabled)
span(class='form-section flat-form-section')
span
label Opponent
span(class='form-section-input')
select#team2-dropdown(name="team2" class="form-main-dropdown" disabled)
span(class='form-score-input')
label Score
span(class='form-section-input')
input#team2-score-textbox(type="number", name="team2-score", value="0" disabled)
span(class='form-section')
button#submit-button(type="submit" disabled) Submit
span(class='form-section')