Commit Graph

129 Commits (33617a82ecea0c55286986d4093b5f082cdddcab)

Author SHA1 Message Date
sudoer777 33617a82ec Add passport functions 2021-11-24 17:56:04 -07:00
sudoer777 7a62885e8f Install passport-local 2021-11-24 17:16:46 -07:00
sudoer777 fbfa500b8a Install bcrypt for managing passwords 2021-11-24 15:55:44 -07:00
sudoer777 9c9c106acd Database init script now creates accounts table 2021-11-24 15:53:42 -07:00
sudoer777 64026a791e Add packages for user authentication 2021-11-24 12:46:21 -07:00
Ethan Reece c90ca93850 Merge branch 'management-page' into 'develop'
Create management pages along with subpages to edit and delete entries

See merge request sudoer777/cvcs-score-tracker!7
2021-11-23 21:53:02 +00:00
sudoer777 fb63ef6b41 Add buttons to access add score and management pages 2021-11-23 14:48:30 -07:00
sudoer777 bd0ae3bdfd Add ability to delete seasons 2021-11-23 14:48:19 -07:00
sudoer777 b5495b1f57 Add ability to edit games 2021-11-23 00:49:11 -07:00
sudoer777 5d88f0ac4d Add ability to edit teams 2021-11-22 23:45:24 -07:00
sudoer777 a2b9c5f50e Add ability to edit divisions 2021-11-22 23:23:57 -07:00
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