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; width: auto;
} }
#sport-gender-division { .flat-form-section {
flex-direction: row; flex-direction: row;
} }

View File

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

View File

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