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

49 lines
1.5 KiB
Plaintext
Raw Normal View History

2021-11-22 02:07:44 +00:00
extends layout
block stylesheets
link(rel='stylesheet', href='/stylesheets/index.css')
link(rel='stylesheet', href='/stylesheets/form.css')
2021-11-26 19:37:09 +00:00
block actions
if userLoggedIn
button#add-score-button Submit score
button#manage-button Manage...
2021-11-26 19:37:09 +00:00
2021-11-22 02:07:44 +00:00
block content
2022-03-08 17:38:28 +00:00
span#loading Loading...
div#dropdowns-div
2021-11-22 02:07:44 +00:00
span(class='form-section')
label Year
span(class='form-section-input')
select#year-dropdown(name="year" class="form-main-dropdown")
2021-11-26 20:59:17 +00:00
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")
2021-11-22 02:07:44 +00:00
span(class='form-section')
label Team
span(class='form-section-input')
select#team-dropdown(name="team" class="form-main-dropdown")
div
2021-11-22 04:59:07 +00:00
h2#games-table-header
2021-11-22 05:07:25 +00:00
span#no-scores-message
2021-11-22 04:59:07 +00:00
table
colgroup
col#score-column(span="1")
col#opponent-column(span="1")
col#date-column(span="1")
tbody#games-table
2021-11-22 02:07:44 +00:00
block scripts
script(src='/scripts/index.js' type="module")