Commit Graph

103 Commits (4d5669dab79a3b8b1be0320f762a0e93d978c0a0)

Author SHA1 Message Date
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
sudoer777 7d4dcc4d82 Add moment.js 2021-11-21 17:20:14 -07:00
sudoer777 27d05752b5 Add function to list teams on submit form 2021-11-21 17:15:02 -07:00
sudoer777 edfd42a623 Fix bug in "retrieveBySport" function in teams.js 2021-11-21 17:08:16 -07:00
sudoer777 e1acf1951c Fix bugs in submit form dropdowns 2021-11-21 16:51:35 -07:00
sudoer777 9b7ec5f3d6 Add function to list divisions in submit form 2021-11-21 16:48:03 -07:00
sudoer777 d561a34055 Fix bug in genders.js regarding constants 2021-11-21 16:39:51 -07:00
sudoer777 bdd943d422 Move gender constants into genders.js file in database directory 2021-11-21 16:30:36 -07:00
sudoer777 ff070acdf7 Add function to get genders per sport in submit form 2021-11-21 16:24:43 -07:00
sudoer777 e5b1791259 Make "retrieveBySport" function in genders.js async 2021-11-21 15:59:07 -07:00
sudoer777 a8eb7dae0a Rename function in genders.js from "getGenderBySport" to "retrieveBySport" 2021-11-21 15:57:09 -07:00
sudoer777 07c4d9b622 Retrieve seasons in descending order 2021-11-21 15:53:58 -07:00
sudoer777 c0ab9d4581 Create module to retrieve a list of genders by sport 2021-11-21 15:52:54 -07:00
sudoer777 0d9e70896a Add function to list seasons in submit form 2021-11-21 15:40:48 -07:00
sudoer777 30ddb13ec6 Add function to list sports in submit form dropdown 2021-11-21 15:30:54 -07:00
sudoer777 8c3ffcc5fa Start script to fetch data from server 2021-11-21 14:37:35 -07:00