Commit Graph

274 Commits (46194f6e4664ed1d53dd58ac13b6a9484bf53a2f)

Author SHA1 Message Date
sudoer777 cf91548dac Add ability to remove sports 2021-11-22 22:10:47 -07:00
sudoer777 35af76c90f Add ability to edit sports in manage page 2021-11-22 22:03:02 -07:00
sudoer777 4fec3a45c8 Change header in addseason.pug to match title 2021-11-22 19:40:33 -07:00
sudoer777 6ef9096cb7 Remove delete button on manage page 2021-11-22 19:25:44 -07:00
sudoer777 5c78753828 Fix bug regarding page redirection 2021-11-22 19:23:20 -07:00
sudoer777 aacff9cca1 Add page to add teams 2021-11-22 19:17:23 -07:00
sudoer777 1a3b013a0f Add page to add divisions 2021-11-22 19:11:16 -07:00
sudoer777 f95015095d Add page for adding sports 2021-11-22 18:47:40 -07:00
sudoer777 31575212ad Allow "Add new..." button to redirect to webpages per category 2021-11-22 18:42:02 -07:00
sudoer777 4133758bba Create page to add season 2021-11-22 18:04:36 -07:00
sudoer777 7c5c059e09 Remove submit router from app.js 2021-11-22 17:55:15 -07:00
sudoer777 9f2572336f Move game submit page from /submit to /manage/addgame 2021-11-22 17:48:51 -07:00
sudoer777 e257e97320 Edit CSS 2021-11-22 17:48:21 -07:00
sudoer777 8587212af9 Fix bug where games.js uses nonexistent moment.js module for formatting 2021-11-22 17:45:58 -07:00
sudoer777 722bb4fce6 Edit css 2021-11-22 17:38:45 -07:00
sudoer777 4d5669dab7 Tweak table layout 2021-11-22 17:13:29 -07:00
sudoer777 54bef98312 Add games list to manage page 2021-11-22 16:58:36 -07:00
sudoer777 1f55ba3ff9 Add functions to get division by ID 2021-11-22 16:27:50 -07:00
sudoer777 fe659184f4 Fix bug in games.js 2021-11-22 16:13:21 -07:00
sudoer777 17f14573e9 Add functionality to get all games from database 2021-11-22 16:00:12 -07:00
sudoer777 6fdbaedc79 Add functionality to list teams on manage page 2021-11-22 15:48:30 -07:00
sudoer777 90ef696b71 Add retrieve all teams in database functionality 2021-11-22 15:45:19 -07:00
sudoer777 28b11b7266 Group divisions by sport_id 2021-11-22 15:38:20 -07:00
sudoer777 18f840183f Add functionality to list divisions in management page 2021-11-22 15:32:44 -07:00
sudoer777 b6f8b6bdaa Add functions to retrieve sport by ID 2021-11-22 15:30:02 -07:00
sudoer777 435748ae76 Add functionality to return all divisions in database 2021-11-22 15:20:59 -07:00
sudoer777 75594a81a6 Add option to fetch all divisions 2021-11-22 14:58:43 -07:00
sudoer777 4aafccc550 Add functions to list seasons and sports in manage page 2021-11-22 14:50:32 -07:00
sudoer777 1ce1bdb27c Add formatting tweak to submit.js 2021-11-22 14:07:51 -07:00
sudoer777 77359ba3a7 Add formatting tweak to index.js 2021-11-22 14:07:06 -07:00
sudoer777 7baa986a30 Add manage route to app.js 2021-11-22 13:57:13 -07:00
sudoer777 a6e8e924e4 Create basic layout for manage page 2021-11-22 13:56:57 -07:00
sudoer777 f7dfd24a68 Remove unnecessary div from index.pug 2021-11-22 13:44:19 -07:00
sudoer777 41d9140863 Remove console.log used for debugging 2021-11-21 23:23:06 -07:00
sudoer777 dca9079648 Create files for /manage page 2021-11-21 23:17:43 -07:00
sudoer777 9db8ae5151 remove require database from index.js 2021-11-21 23:16:29 -07:00
Ethan Reece 14b56927ea Merge branch 'view-scores-page' into 'develop'
Add score viewing page to index

See merge request sudoer777/cvcs-score-tracker!6
2021-11-22 06:08:31 +00:00
sudoer777 8674781ba9 Tweak scores view page 2021-11-21 22:07:25 -07:00
sudoer777 4f2b496cf2 Add table of games to index page 2021-11-21 21:59:07 -07:00
sudoer777 fc60e5186a Fix bug in teams.js 2021-11-21 21:42:03 -07:00
sudoer777 8cd291ef2a Store dates as strings 2021-11-21 21:41:53 -07:00
sudoer777 c55b9c241f Remove moment.js in favor of Temporal 2021-11-21 21:09:31 -07:00
sudoer777 6de2f13b32 Add moment.js to client scripts 2021-11-21 20:53:16 -07:00
sudoer777 1abffb43bd Add function to get team name from an ID 2021-11-21 19:33:10 -07:00
sudoer777 9b4575c666 Begin index page 2021-11-21 19:07:44 -07:00
Ethan Reece db2d6f2aa6 Merge branch 'database' into 'develop'
Switch data collection method from email to PostgreSQL

See merge request sudoer777/cvcs-score-tracker!5
2021-11-22 00:51:00 +00:00
sudoer777 12c39e271e Complete submit game feature 2021-11-21 17:43:34 -07:00
sudoer777 49aff3f741 Fix bug regarding date formatting in games.js 2021-11-21 17:41:45 -07:00
sudoer777 344e8b66d3 Report date as moment object in list generated by "retrieveByTeamDivisionAndSeason" function in games.js 2021-11-21 17:39:47 -07:00
sudoer777 4576b72612 Switch date from native object to moment.js 2021-11-21 17:37:45 -07:00