83 Commits

Author SHA1 Message Date
f61fc283c0 Renamed 'reinitialise' file to html extension for better detection by Github 2025-03-15 07:47:49 -04:00
f13d2ed907 Tidied up user-detection code 2025-03-15 07:45:07 -04:00
81a3ac3969 Renamed tourney_results and associated stylesheet to the more-appropriate 'tourney-cards' 2025-03-15 07:22:57 -04:00
9f3306dbd6 Slight layout and style changes 2025-03-15 07:09:55 -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
63223d7fb6 Initial workings of main page tournament display 2025-03-13 19:00:11 -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
4b75be9f2f Fixed bug where editing account on mobile would have a different width than the rest of the content 2025-03-12 05:29:15 -04:00
fe3aade901 Most-Recent-User is now clickable on the home page 2025-03-11 21:39:10 -04:00
93f24b7078 Fixed layout problem with 'edit socials' button floating around 2025-03-11 21:29:47 -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
d358d2699a Removed unnecessary console logs 2025-03-11 20:34:59 -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
c7770a6f19 Slight change to login system so that the SESSION variable with the username catches the same one the person signed up for, so when they're looking at their own account the link will be correct 2025-03-11 19:34:05 -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
822cf32242 Fixed bug where it wouldn't show another user's socials information if you were logged into another account 2025-03-11 06:17:31 -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
324bdf1fe3 Fixed account creation panel gaining a scroll bar due to borders 2025-03-10 14:29:24 -04:00
d3f659ab04 Fixed bug in account creation where it couldn't read the database 2025-03-10 14:13:32 -04:00
5630d065e6 Slight layout changes 2025-03-10 14:00:48 -04:00
16e71ec6af Centered user account page for desktop 2025-03-10 13:50:46 -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
87bbd023c9 Improved account creation on mobile layouts 2025-03-10 12:52:45 -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
b700c3eac5 Edited "how-to-tourney" document 2025-03-09 22:30:08 -04:00
daa03d64d3 Created mobile layouts for main page, login, and account creation 2025-03-09 22:27:06 -04:00
7c4eb02f25 Merge branch 'main' of https://github.com/FractalParadigm/TrojanDestinyRL-Trophy-Room 2025-03-09 16:54:08 -04:00
b1645cda5d Added db_config 2025-03-09 16:49:23 -04:00
e0574b1670 Created README
Also started documentation, primarily how to create tournaments
2025-03-09 16:41:45 -04:00
FractalParadigm
5ed3c3c28d
Initial commit 2025-03-09 16:40:52 -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
186ede7211 Added permanent links to the homepage in the subnav section of main and user pages 2025-03-09 08:20:06 -04:00
4096bd2e8d Update gitignore 2025-03-08 20:33:46 -05: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
771957158a restored accidentally remove gitignore 2025-03-08 20:17:34 -05:00
d882c8741a Fixed divisions display having the wrong max rank and trophy images 2025-03-08 19:13:06 -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
b199c78cb1 Changed references of "border-style" to "border" for better compatibility
Rounded input boxes for login and account creation to look friendlier
2025-03-08 18:10:10 -05:00
55440b4a89 Separated header into its' own file 2025-03-08 17:51:22 -05:00
da9eb2b71b Fixed issue where login screen would have scrollbars on Chromium-based browsers 2025-03-08 17:45:21 -05:00