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/index.pug

41 lines
1.4 KiB
Plaintext
Raw Normal View History

extends layout
block stylesheets
link(rel='stylesheet', href='/stylesheets/submit.css')
block content
2021-10-04 17:24:04 +00:00
h1 Submit Score
2021-09-30 20:43:10 +00:00
form(action='/submit', method='POST')
2021-10-04 19:31:22 +00:00
span(class='form-section')
2021-09-30 20:43:10 +00:00
label Sport
2021-10-04 19:31:22 +00:00
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')
2021-09-30 20:43:10 +00:00
label Home Team
2021-10-04 19:31:22 +00:00
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')
2021-09-30 20:43:10 +00:00
label Submitter
2021-10-04 19:31:22 +00:00
span(class='form-section-input')
input(type="text", name="submitter")
span(class='form-section')
2021-09-30 20:43:10 +00:00
label Send info to
2021-10-04 19:31:22 +00:00
span(class='form-section-input')
input(type="email", name="email", placeholder="email@example.com")
span(class='form-section')
2021-09-30 20:43:10 +00:00
button(type="submit") Submit