47 Commits

Author SHA1 Message Date
00cab61c65 Some layout and style changes 2025-03-15 18:01:19 -04:00
578326cb03 Added tournament list to admin panel, with capability to edit them. Future ability to delete coming soon! 2025-03-15 17:00:47 -04:00
40f1dcee6e Added tournament editing 2025-03-15 14:46:50 -04:00
66fdaf8ebd Tournaments-adding-form now redirects to that tournament's info page after submission
Changed max length of winning team name to 30 characters
2025-03-15 12:39:28 -04:00
4a880b93dd Moved header and nav to their own files - easier to edit! 2025-03-15 12:11:45 -04:00
7d9db6e4e1 Start of tournament page
Added UID (unique ID) to game and tourney entries - this will make for fancier links
2025-03-15 08:47:20 -04:00
abe6bbc740 Renamed more php files to html for better compatibility 2025-03-15 07:54:42 -04:00
1c632a0d86 Changed 'create_safe_admin' to html for better detection by Github 2025-03-15 07:50:06 -04:00
f61fc283c0 Renamed 'reinitialise' file to html extension for better detection by Github 2025-03-15 07:47:49 -04:00
6dc7256e92 Added tournament cards to the main page
These little cards show the most recent tournaments, the number of which is defined in the db_config file (default 6)
2025-03-14 19:51:14 -04:00
a590af9e3a Fixed HTACCESS to include new username rules. Removed period (.) from allowed username content to prevent URL conflicts 2025-03-12 19:35:13 -04:00
eb591d9902 Fixed issue where new user sign-ups were setting permissions to NULL in the database 2025-03-12 06:27:17 -04:00
c98470b43e Replaced references to "Discord Link" to "Discord User ID" 2025-03-11 21:20:00 -04:00
241058b3a7 Fixed user account creation screen layout, looks and feels a lot better now 2025-03-11 21:18:31 -04:00
4b7a4003b3 Fixed used-editing page for administrators - permissions editing works properly
Fixed redirects for links opening in iFrame instead of redirecting the window
2025-03-11 20:04:26 -04:00
53c95d9897 Allowing for more characters in usernames (i.e. '-', '_', and '|') 2025-03-11 19:43:38 -04:00
490afb3a4f Changed the way we show and edit data on the user accounts page - now defaults to showing socials by default even if you're logged in, with the option to edit. 2025-03-11 19:33:15 -04:00
11572a7ade Added user editing page
Changed some layouts

Probably some other things I've forgotten about lol
2025-03-10 18:32:11 -04:00
4d356bd9a3 Modified/tidied up folder structure - moved login/logout/create-account into the user folder 2025-03-10 13:49:35 -04:00
0d69a8212a Fixed the DB connection checker
Added mobile layout for user account page
2025-03-10 13:39:48 -04:00
2e7dd6bc0d Improved mobile layouts 2025-03-10 12:39:39 -04:00
cbc2bef7f0 Updated tournament form to include a mobile version
This will probably be the start of creating mobile versions of *some* pages... probably forms, mostly
2025-03-10 11:01:24 -04:00
df051508e2 Changed min/max sizes for mobile layout
Automatically refreshes the iFrame when the screen is rotated - this forces the layout to refresh to the correct one
2025-03-10 08:36:28 -04:00
b1645cda5d Added db_config 2025-03-09 16:49:23 -04:00
6db2d2b6b5 Added ability to change password through user accounts page 2025-03-09 10:27:33 -04:00
748c476a4b Re-factored "isAdmin" to a more generic "privileges" to store different levels of access 2025-03-09 08:39:59 -04:00
f71a485b6e Changed account creation page so that input boxes would have coloured border based on whether the contents are valid 2025-03-09 08:23:10 -04:00
03c2bf594e Fixed issue on tournament-adding form where changing the numbers of players would disable autofill 2025-03-08 20:32:19 -05:00
e595726885 Made division buttons 'chunkier' feeling, for lack of a better term
Adding tournaments now defaults to today's date
2025-03-08 20:18:18 -05:00
1242ea4586 Added a background image 2025-03-08 18:48:09 -05:00
c18cb96705 Fixed links to TrojanDestinyRL Discord server 2025-03-08 18:16:50 -05:00
89d49325cb . 2025-03-08 16:57:27 -05:00
e093ca90b5 Updated db_config to include production db config file. "Final releases" will not include either the '// DEV //' or '// PROD //' sections 2025-03-08 16:56:43 -05:00
3c63ea89f4 Tidied up admin panel, removing non-functioning options 2025-03-08 16:50:31 -05:00
8af964bdc9 Enforced all pages that load in frames, to only load in frames, preventing pages from being loaded indivudually that aren't supposed to be 2025-03-08 16:38:13 -05:00
f128ec66c2 Added new header-banner. Mostly placeholder stuff. 2025-03-08 14:56:29 -05:00
8d57b4b721 Changed the games form so that it will now auto-fill no matter how many players are selected (not just the original two)
Added new hidden tag to primary.css which allows us to hide content we don't need right now
2025-03-08 11:28:55 -05:00
7ad0b47ea6 Changes to how we display links
- New class for blue links, orange links will come later
Slight changes to wording and layout on game uploading form
2025-03-08 08:44:44 -05:00
b6c2f08731 - Added a "My Account" page
- Somewhat basic but works. Probably a lot of bugs still
- Re-worked databases to add Discord and YouTube links as separate entries
2025-03-05 21:08:39 -05:00
db06888ecb - Changed relative HTML file paths to absolute
- Renamed 'trojan.js' to 'tools.js' for future compatibility

- Added placeholder team names to the game-adding screen
2025-03-03 21:46:44 -05:00
acfaf48742 ANOTHER BIG "I need to commit more" UPDATE!
- Users can now create their own accounts! Still needs to re-direct (home? user panel?)

- Reformatted the folder structure again, trying to achieve more consistent file locations
2025-03-03 21:14:00 -05:00
4dd3604d81 THE BIG "I need to commit more" UPDATE!
- Can now create users
- Can now create tournaments
- Has (temporary) link to giveaway
- Removed dev_db_config that was added by mistake (the db pw has been changed!)
- Tons of other little changes
2025-03-02 21:14:28 -05:00
1364e665bc Added warning to logged in user without admin permissions trying to view admin options 2025-03-01 16:26:23 -05:00
374197cdf5 Login finally works
So does logout
2025-03-01 16:02:45 -05:00
797859c683 - Added 'safe' admins; these accounts will persist across database resets 2025-03-01 09:58:27 -05:00
4db53fbe75 BIG UPDATE
- Added admin panel
- Added user creation form
- Now connects to SQL
- Added option for DB (re)initialization
- Capable of writing user form to SQL
2025-03-01 07:43:59 -05:00
2344bac200 Changed folder layout 2025-02-26 19:02:42 -05:00