diff --git a/accounts/__pycache__/__init__.cpython-312.pyc b/accounts/__pycache__/__init__.cpython-312.pyc index d4a56524..3beb8f5e 100644 Binary files a/accounts/__pycache__/__init__.cpython-312.pyc and b/accounts/__pycache__/__init__.cpython-312.pyc differ diff --git a/accounts/__pycache__/adapters.cpython-312.pyc b/accounts/__pycache__/adapters.cpython-312.pyc index e52b18ef..57e24065 100644 Binary files a/accounts/__pycache__/adapters.cpython-312.pyc and b/accounts/__pycache__/adapters.cpython-312.pyc differ diff --git a/accounts/__pycache__/admin.cpython-312.pyc b/accounts/__pycache__/admin.cpython-312.pyc index e0133594..64191be2 100644 Binary files a/accounts/__pycache__/admin.cpython-312.pyc and b/accounts/__pycache__/admin.cpython-312.pyc differ diff --git a/accounts/__pycache__/apps.cpython-312.pyc b/accounts/__pycache__/apps.cpython-312.pyc index 45a571c7..f480083c 100644 Binary files a/accounts/__pycache__/apps.cpython-312.pyc and b/accounts/__pycache__/apps.cpython-312.pyc differ diff --git a/accounts/__pycache__/models.cpython-312.pyc b/accounts/__pycache__/models.cpython-312.pyc index 04a23932..18376b3e 100644 Binary files a/accounts/__pycache__/models.cpython-312.pyc and b/accounts/__pycache__/models.cpython-312.pyc differ diff --git a/accounts/__pycache__/signals.cpython-312.pyc b/accounts/__pycache__/signals.cpython-312.pyc index b4fd878d..614ab477 100644 Binary files a/accounts/__pycache__/signals.cpython-312.pyc and b/accounts/__pycache__/signals.cpython-312.pyc differ diff --git a/accounts/__pycache__/urls.cpython-312.pyc b/accounts/__pycache__/urls.cpython-312.pyc index af5a1369..84322f1b 100644 Binary files a/accounts/__pycache__/urls.cpython-312.pyc and b/accounts/__pycache__/urls.cpython-312.pyc differ diff --git a/accounts/__pycache__/views.cpython-312.pyc b/accounts/__pycache__/views.cpython-312.pyc index a659fdbc..ae5305d8 100644 Binary files a/accounts/__pycache__/views.cpython-312.pyc and b/accounts/__pycache__/views.cpython-312.pyc differ diff --git a/accounts/management/commands/fix_migration_history.py b/accounts/management/commands/fix_migration_history.py new file mode 100644 index 00000000..9b555844 --- /dev/null +++ b/accounts/management/commands/fix_migration_history.py @@ -0,0 +1,10 @@ +from django.core.management.base import BaseCommand +from django.db import connection + +class Command(BaseCommand): + help = 'Fix migration history by removing rides.0001_initial' + + def handle(self, *args, **kwargs): + with connection.cursor() as cursor: + cursor.execute("DELETE FROM django_migrations WHERE app='rides' AND name='0001_initial';") + self.stdout.write(self.style.SUCCESS('Successfully removed rides.0001_initial from migration history')) diff --git a/accounts/migrations/__pycache__/0001_initial.cpython-312.pyc b/accounts/migrations/__pycache__/0001_initial.cpython-312.pyc index 89351e6f..fda4cad4 100644 Binary files a/accounts/migrations/__pycache__/0001_initial.cpython-312.pyc and b/accounts/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/accounts/migrations/__pycache__/__init__.cpython-312.pyc b/accounts/migrations/__pycache__/__init__.cpython-312.pyc index f96dc728..57b0b61f 100644 Binary files a/accounts/migrations/__pycache__/__init__.cpython-312.pyc and b/accounts/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/companies/__pycache__/__init__.cpython-312.pyc b/companies/__pycache__/__init__.cpython-312.pyc index 8004fd30..4db7c476 100644 Binary files a/companies/__pycache__/__init__.cpython-312.pyc and b/companies/__pycache__/__init__.cpython-312.pyc differ diff --git a/companies/__pycache__/admin.cpython-312.pyc b/companies/__pycache__/admin.cpython-312.pyc index 09543aff..1039580f 100644 Binary files a/companies/__pycache__/admin.cpython-312.pyc and b/companies/__pycache__/admin.cpython-312.pyc differ diff --git a/companies/__pycache__/apps.cpython-312.pyc b/companies/__pycache__/apps.cpython-312.pyc index d5f34eaa..185cd443 100644 Binary files a/companies/__pycache__/apps.cpython-312.pyc and b/companies/__pycache__/apps.cpython-312.pyc differ diff --git a/companies/__pycache__/models.cpython-312.pyc b/companies/__pycache__/models.cpython-312.pyc index 103ea70d..bba680d7 100644 Binary files a/companies/__pycache__/models.cpython-312.pyc and b/companies/__pycache__/models.cpython-312.pyc differ diff --git a/companies/__pycache__/signals.cpython-312.pyc b/companies/__pycache__/signals.cpython-312.pyc index 0aa4c1b2..dd11b441 100644 Binary files a/companies/__pycache__/signals.cpython-312.pyc and b/companies/__pycache__/signals.cpython-312.pyc differ diff --git a/companies/__pycache__/urls.cpython-312.pyc b/companies/__pycache__/urls.cpython-312.pyc index e8162d78..5439770c 100644 Binary files a/companies/__pycache__/urls.cpython-312.pyc and b/companies/__pycache__/urls.cpython-312.pyc differ diff --git a/companies/__pycache__/views.cpython-312.pyc b/companies/__pycache__/views.cpython-312.pyc index 6a0d5223..d76c934b 100644 Binary files a/companies/__pycache__/views.cpython-312.pyc and b/companies/__pycache__/views.cpython-312.pyc differ diff --git a/companies/migrations/__pycache__/0001_initial.cpython-312.pyc b/companies/migrations/__pycache__/0001_initial.cpython-312.pyc index 15d9dae8..4f8af0a3 100644 Binary files a/companies/migrations/__pycache__/0001_initial.cpython-312.pyc and b/companies/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/companies/migrations/__pycache__/0002_stats_fields.cpython-312.pyc b/companies/migrations/__pycache__/0002_stats_fields.cpython-312.pyc index 7935fd44..0ced9099 100644 Binary files a/companies/migrations/__pycache__/0002_stats_fields.cpython-312.pyc and b/companies/migrations/__pycache__/0002_stats_fields.cpython-312.pyc differ diff --git a/companies/migrations/__pycache__/0003_remove_total_parks.cpython-312.pyc b/companies/migrations/__pycache__/0003_remove_total_parks.cpython-312.pyc index 3c298d02..35a25f20 100644 Binary files a/companies/migrations/__pycache__/0003_remove_total_parks.cpython-312.pyc and b/companies/migrations/__pycache__/0003_remove_total_parks.cpython-312.pyc differ diff --git a/companies/migrations/__pycache__/0004_add_total_parks.cpython-312.pyc b/companies/migrations/__pycache__/0004_add_total_parks.cpython-312.pyc index b969bc71..edadbf90 100644 Binary files a/companies/migrations/__pycache__/0004_add_total_parks.cpython-312.pyc and b/companies/migrations/__pycache__/0004_add_total_parks.cpython-312.pyc differ diff --git a/companies/migrations/__pycache__/__init__.cpython-312.pyc b/companies/migrations/__pycache__/__init__.cpython-312.pyc index 2bd391c2..c80c1ea8 100644 Binary files a/companies/migrations/__pycache__/__init__.cpython-312.pyc and b/companies/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/core/__pycache__/__init__.cpython-312.pyc b/core/__pycache__/__init__.cpython-312.pyc index a6113216..32cbab18 100644 Binary files a/core/__pycache__/__init__.cpython-312.pyc and b/core/__pycache__/__init__.cpython-312.pyc differ diff --git a/core/__pycache__/admin.cpython-312.pyc b/core/__pycache__/admin.cpython-312.pyc index 52c56b60..72e801ba 100644 Binary files a/core/__pycache__/admin.cpython-312.pyc and b/core/__pycache__/admin.cpython-312.pyc differ diff --git a/core/__pycache__/apps.cpython-312.pyc b/core/__pycache__/apps.cpython-312.pyc index b5d14627..cd973b3a 100644 Binary files a/core/__pycache__/apps.cpython-312.pyc and b/core/__pycache__/apps.cpython-312.pyc differ diff --git a/core/__pycache__/models.cpython-312.pyc b/core/__pycache__/models.cpython-312.pyc index b4b571a1..93d6912a 100644 Binary files a/core/__pycache__/models.cpython-312.pyc and b/core/__pycache__/models.cpython-312.pyc differ diff --git a/core/__pycache__/views.cpython-312.pyc b/core/__pycache__/views.cpython-312.pyc index d3f05fea..8b8d73e1 100644 Binary files a/core/__pycache__/views.cpython-312.pyc and b/core/__pycache__/views.cpython-312.pyc differ diff --git a/core/migrations/__pycache__/0001_initial.cpython-312.pyc b/core/migrations/__pycache__/0001_initial.cpython-312.pyc index 07214e14..4d03376c 100644 Binary files a/core/migrations/__pycache__/0001_initial.cpython-312.pyc and b/core/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/core/migrations/__pycache__/__init__.cpython-312.pyc b/core/migrations/__pycache__/__init__.cpython-312.pyc index 0c9c3c18..30ecd6b5 100644 Binary files a/core/migrations/__pycache__/__init__.cpython-312.pyc and b/core/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/email_service/__pycache__/__init__.cpython-312.pyc b/email_service/__pycache__/__init__.cpython-312.pyc index 52aef96b..006b33b1 100644 Binary files a/email_service/__pycache__/__init__.cpython-312.pyc and b/email_service/__pycache__/__init__.cpython-312.pyc differ diff --git a/email_service/__pycache__/admin.cpython-312.pyc b/email_service/__pycache__/admin.cpython-312.pyc index 3b6e3097..c18ebcba 100644 Binary files a/email_service/__pycache__/admin.cpython-312.pyc and b/email_service/__pycache__/admin.cpython-312.pyc differ diff --git a/email_service/__pycache__/apps.cpython-312.pyc b/email_service/__pycache__/apps.cpython-312.pyc index d7e6f400..0f202843 100644 Binary files a/email_service/__pycache__/apps.cpython-312.pyc and b/email_service/__pycache__/apps.cpython-312.pyc differ diff --git a/email_service/__pycache__/models.cpython-312.pyc b/email_service/__pycache__/models.cpython-312.pyc index b5e582e8..eb4b1e6e 100644 Binary files a/email_service/__pycache__/models.cpython-312.pyc and b/email_service/__pycache__/models.cpython-312.pyc differ diff --git a/email_service/__pycache__/services.cpython-312.pyc b/email_service/__pycache__/services.cpython-312.pyc index 7479f935..cf036608 100644 Binary files a/email_service/__pycache__/services.cpython-312.pyc and b/email_service/__pycache__/services.cpython-312.pyc differ diff --git a/email_service/migrations/__pycache__/0001_initial.cpython-312.pyc b/email_service/migrations/__pycache__/0001_initial.cpython-312.pyc index 02adc10a..4e1747e1 100644 Binary files a/email_service/migrations/__pycache__/0001_initial.cpython-312.pyc and b/email_service/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/email_service/migrations/__pycache__/__init__.cpython-312.pyc b/email_service/migrations/__pycache__/__init__.cpython-312.pyc index 88d49355..8b16abc5 100644 Binary files a/email_service/migrations/__pycache__/__init__.cpython-312.pyc and b/email_service/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/media/__pycache__/__init__.cpython-312.pyc b/media/__pycache__/__init__.cpython-312.pyc index b302c4b2..760d8435 100644 Binary files a/media/__pycache__/__init__.cpython-312.pyc and b/media/__pycache__/__init__.cpython-312.pyc differ diff --git a/media/__pycache__/admin.cpython-312.pyc b/media/__pycache__/admin.cpython-312.pyc index fb754fc3..ac576f0d 100644 Binary files a/media/__pycache__/admin.cpython-312.pyc and b/media/__pycache__/admin.cpython-312.pyc differ diff --git a/media/__pycache__/apps.cpython-312.pyc b/media/__pycache__/apps.cpython-312.pyc index e06c3b81..29c0b21f 100644 Binary files a/media/__pycache__/apps.cpython-312.pyc and b/media/__pycache__/apps.cpython-312.pyc differ diff --git a/media/__pycache__/models.cpython-312.pyc b/media/__pycache__/models.cpython-312.pyc index 642149ba..edd5cad9 100644 Binary files a/media/__pycache__/models.cpython-312.pyc and b/media/__pycache__/models.cpython-312.pyc differ diff --git a/media/migrations/__pycache__/0001_initial.cpython-312.pyc b/media/migrations/__pycache__/0001_initial.cpython-312.pyc index edcb46eb..d46e9c00 100644 Binary files a/media/migrations/__pycache__/0001_initial.cpython-312.pyc and b/media/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/media/migrations/__pycache__/__init__.cpython-312.pyc b/media/migrations/__pycache__/__init__.cpython-312.pyc index 7a6116ed..7a064897 100644 Binary files a/media/migrations/__pycache__/__init__.cpython-312.pyc and b/media/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/parks/__pycache__/__init__.cpython-312.pyc b/parks/__pycache__/__init__.cpython-312.pyc index 91a2dbaf..b3848194 100644 Binary files a/parks/__pycache__/__init__.cpython-312.pyc and b/parks/__pycache__/__init__.cpython-312.pyc differ diff --git a/parks/__pycache__/admin.cpython-312.pyc b/parks/__pycache__/admin.cpython-312.pyc index 34f175df..620c28fe 100644 Binary files a/parks/__pycache__/admin.cpython-312.pyc and b/parks/__pycache__/admin.cpython-312.pyc differ diff --git a/parks/__pycache__/apps.cpython-312.pyc b/parks/__pycache__/apps.cpython-312.pyc index 35edef8d..9881b738 100644 Binary files a/parks/__pycache__/apps.cpython-312.pyc and b/parks/__pycache__/apps.cpython-312.pyc differ diff --git a/parks/__pycache__/models.cpython-312.pyc b/parks/__pycache__/models.cpython-312.pyc index da0e11bd..5d009a24 100644 Binary files a/parks/__pycache__/models.cpython-312.pyc and b/parks/__pycache__/models.cpython-312.pyc differ diff --git a/parks/__pycache__/signals.cpython-312.pyc b/parks/__pycache__/signals.cpython-312.pyc index d46b9eef..6d481aca 100644 Binary files a/parks/__pycache__/signals.cpython-312.pyc and b/parks/__pycache__/signals.cpython-312.pyc differ diff --git a/parks/__pycache__/urls.cpython-312.pyc b/parks/__pycache__/urls.cpython-312.pyc index 83596390..5e9c96d1 100644 Binary files a/parks/__pycache__/urls.cpython-312.pyc and b/parks/__pycache__/urls.cpython-312.pyc differ diff --git a/parks/__pycache__/views.cpython-312.pyc b/parks/__pycache__/views.cpython-312.pyc index 87a8b9f9..3305bd80 100644 Binary files a/parks/__pycache__/views.cpython-312.pyc and b/parks/__pycache__/views.cpython-312.pyc differ diff --git a/parks/migrations/__pycache__/0001_initial.cpython-312.pyc b/parks/migrations/__pycache__/0001_initial.cpython-312.pyc index 3599b5af..03607082 100644 Binary files a/parks/migrations/__pycache__/0001_initial.cpython-312.pyc and b/parks/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/parks/migrations/__pycache__/0002_add_country_field.cpython-312.pyc b/parks/migrations/__pycache__/0002_add_country_field.cpython-312.pyc index f9985088..a8860e2b 100644 Binary files a/parks/migrations/__pycache__/0002_add_country_field.cpython-312.pyc and b/parks/migrations/__pycache__/0002_add_country_field.cpython-312.pyc differ diff --git a/parks/migrations/__pycache__/__init__.cpython-312.pyc b/parks/migrations/__pycache__/__init__.cpython-312.pyc index cc71322a..958420a1 100644 Binary files a/parks/migrations/__pycache__/__init__.cpython-312.pyc and b/parks/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/reviews/__pycache__/__init__.cpython-312.pyc b/reviews/__pycache__/__init__.cpython-312.pyc index 1ac03f7e..5b8204d4 100644 Binary files a/reviews/__pycache__/__init__.cpython-312.pyc and b/reviews/__pycache__/__init__.cpython-312.pyc differ diff --git a/reviews/__pycache__/admin.cpython-312.pyc b/reviews/__pycache__/admin.cpython-312.pyc index 3fe97122..7553402a 100644 Binary files a/reviews/__pycache__/admin.cpython-312.pyc and b/reviews/__pycache__/admin.cpython-312.pyc differ diff --git a/reviews/__pycache__/apps.cpython-312.pyc b/reviews/__pycache__/apps.cpython-312.pyc index f36bb9f9..286373a5 100644 Binary files a/reviews/__pycache__/apps.cpython-312.pyc and b/reviews/__pycache__/apps.cpython-312.pyc differ diff --git a/reviews/__pycache__/models.cpython-312.pyc b/reviews/__pycache__/models.cpython-312.pyc index 403383c5..c579b2e9 100644 Binary files a/reviews/__pycache__/models.cpython-312.pyc and b/reviews/__pycache__/models.cpython-312.pyc differ diff --git a/reviews/__pycache__/signals.cpython-312.pyc b/reviews/__pycache__/signals.cpython-312.pyc index cf56a78b..da1cc987 100644 Binary files a/reviews/__pycache__/signals.cpython-312.pyc and b/reviews/__pycache__/signals.cpython-312.pyc differ diff --git a/reviews/__pycache__/urls.cpython-312.pyc b/reviews/__pycache__/urls.cpython-312.pyc index 67df6d7d..54ae2bc0 100644 Binary files a/reviews/__pycache__/urls.cpython-312.pyc and b/reviews/__pycache__/urls.cpython-312.pyc differ diff --git a/reviews/__pycache__/views.cpython-312.pyc b/reviews/__pycache__/views.cpython-312.pyc index 820d030d..970f39f8 100644 Binary files a/reviews/__pycache__/views.cpython-312.pyc and b/reviews/__pycache__/views.cpython-312.pyc differ diff --git a/reviews/migrations/__pycache__/0001_initial.cpython-312.pyc b/reviews/migrations/__pycache__/0001_initial.cpython-312.pyc index 4740bd87..911696fe 100644 Binary files a/reviews/migrations/__pycache__/0001_initial.cpython-312.pyc and b/reviews/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/reviews/migrations/__pycache__/__init__.cpython-312.pyc b/reviews/migrations/__pycache__/__init__.cpython-312.pyc index 7840d92e..dff34468 100644 Binary files a/reviews/migrations/__pycache__/__init__.cpython-312.pyc and b/reviews/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/rides/__pycache__/__init__.cpython-312.pyc b/rides/__pycache__/__init__.cpython-312.pyc index 2172b0aa..e51403b9 100644 Binary files a/rides/__pycache__/__init__.cpython-312.pyc and b/rides/__pycache__/__init__.cpython-312.pyc differ diff --git a/rides/__pycache__/admin.cpython-312.pyc b/rides/__pycache__/admin.cpython-312.pyc index 330f4bb3..425be620 100644 Binary files a/rides/__pycache__/admin.cpython-312.pyc and b/rides/__pycache__/admin.cpython-312.pyc differ diff --git a/rides/__pycache__/apps.cpython-312.pyc b/rides/__pycache__/apps.cpython-312.pyc index 47f4d90e..a78a5162 100644 Binary files a/rides/__pycache__/apps.cpython-312.pyc and b/rides/__pycache__/apps.cpython-312.pyc differ diff --git a/rides/__pycache__/models.cpython-312.pyc b/rides/__pycache__/models.cpython-312.pyc index b64e7ade..42932fd0 100644 Binary files a/rides/__pycache__/models.cpython-312.pyc and b/rides/__pycache__/models.cpython-312.pyc differ diff --git a/rides/__pycache__/signals.cpython-312.pyc b/rides/__pycache__/signals.cpython-312.pyc index 9aa81e85..34466fc6 100644 Binary files a/rides/__pycache__/signals.cpython-312.pyc and b/rides/__pycache__/signals.cpython-312.pyc differ diff --git a/rides/__pycache__/urls.cpython-312.pyc b/rides/__pycache__/urls.cpython-312.pyc index d6b81071..8f8c4531 100644 Binary files a/rides/__pycache__/urls.cpython-312.pyc and b/rides/__pycache__/urls.cpython-312.pyc differ diff --git a/rides/__pycache__/views.cpython-312.pyc b/rides/__pycache__/views.cpython-312.pyc index 1ee394de..d4b9cf4f 100644 Binary files a/rides/__pycache__/views.cpython-312.pyc and b/rides/__pycache__/views.cpython-312.pyc differ diff --git a/rides/migrations/__pycache__/0001_initial.cpython-312.pyc b/rides/migrations/__pycache__/0001_initial.cpython-312.pyc index d143e721..ca692d90 100644 Binary files a/rides/migrations/__pycache__/0001_initial.cpython-312.pyc and b/rides/migrations/__pycache__/0001_initial.cpython-312.pyc differ diff --git a/rides/migrations/__pycache__/0002_alter_ride_manufacturer.cpython-312.pyc b/rides/migrations/__pycache__/0002_alter_ride_manufacturer.cpython-312.pyc index 836e0583..786d928e 100644 Binary files a/rides/migrations/__pycache__/0002_alter_ride_manufacturer.cpython-312.pyc and b/rides/migrations/__pycache__/0002_alter_ride_manufacturer.cpython-312.pyc differ diff --git a/rides/migrations/__pycache__/__init__.cpython-312.pyc b/rides/migrations/__pycache__/__init__.cpython-312.pyc index d03c09fb..584956f7 100644 Binary files a/rides/migrations/__pycache__/__init__.cpython-312.pyc and b/rides/migrations/__pycache__/__init__.cpython-312.pyc differ diff --git a/static/css/tailwind.css b/static/css/tailwind.css index a2739a55..6175f663 100644 --- a/static/css/tailwind.css +++ b/static/css/tailwind.css @@ -2182,6 +2182,10 @@ select { height: 2rem; } +.h-6 { + height: 1.5rem; +} + .min-h-\[calc\(100vh-16rem\)\] { min-height: calc(100vh - 16rem); } @@ -2214,6 +2218,10 @@ select { width: 100%; } +.w-6 { + width: 1.5rem; +} + .max-w-3xl { max-width: 48rem; } diff --git a/static/images/discord-icon.svg b/static/images/discord-icon.svg index 80172599..27988af8 100644 --- a/static/images/discord-icon.svg +++ b/static/images/discord-icon.svg @@ -1,3 +1,3 @@ - - + + diff --git a/static/js/main.js b/static/js/main.js index 1c0a4c46..0cfd562e 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -4,6 +4,9 @@ document.addEventListener('DOMContentLoaded', () => { const darkMode = localStorage.getItem('darkMode') === 'true'; if (darkMode) { document.documentElement.classList.add('dark'); + toggleIcons(true); // Ensure correct icon is shown + } else { + toggleIcons(false); } }); @@ -77,3 +80,24 @@ document.addEventListener('click', (e) => { } }); }); + +// Toggle dark mode icons +function toggleIcons(isDarkMode) { + const sunIcon = document.querySelector('.fa-sun'); + const moonIcon = document.querySelector('.fa-moon'); + + if (isDarkMode) { + sunIcon.classList.remove('hidden'); + moonIcon.classList.add('hidden'); + } else { + sunIcon.classList.add('hidden'); + moonIcon.classList.remove('hidden'); + } +} + +// Add event listener for theme toggle button +document.getElementById('theme-toggle').addEventListener('click', () => { + const isDarkMode = document.documentElement.classList.toggle('dark'); + localStorage.setItem('darkMode', isDarkMode); + toggleIcons(isDarkMode); +}); diff --git a/templates/account/login.html b/templates/account/login.html index f3cfde68..ffc4bbc2 100644 --- a/templates/account/login.html +++ b/templates/account/login.html @@ -22,10 +22,10 @@ tabindex="0" onkeydown="if(event.key === 'Enter' || event.key === ' ') { this.click(); event.preventDefault(); }"> {% if provider.id == 'google' %} - Google + Continue with Google {% elif provider.id == 'discord' %} - Discord + Continue with Discord {% endif %} diff --git a/templates/account/signup.html b/templates/account/signup.html index 08052829..ceee85ed 100644 --- a/templates/account/signup.html +++ b/templates/account/signup.html @@ -7,202 +7,227 @@ {% block content %}
-
-
-

{% trans "Create Account" %}

+
+
+

{% trans "Create Account" %}

- {% get_providers as socialaccount_providers %} - - {% if socialaccount_providers %} - - -
- Or continue with email -
- {% endif %} + {% get_providers as socialaccount_providers %} + {% if socialaccount_providers %} + -
- {% csrf_token %} - - {% if form.non_field_errors %} -
-
{{ form.non_field_errors }}
-
- {% endif %} +
+ Or continue with email +
+ {% endif %} -
- - - {% if form.username.errors %} -

{{ form.username.errors }}

- {% endif %} -
- -
- - - {% if form.email.errors %} -

{{ form.email.errors }}

- {% endif %} -
- -
- - - {% if form.password1.errors %} -

{{ form.password1.errors }}

- {% endif %} -
-
    -
  • - - Must be at least 8 characters long -
  • -
  • - - Can't be too similar to your personal information -
  • -
  • - - Can't be a commonly used password -
  • -
  • - - Can't be entirely numeric -
  • -
-
-
- -
- - - {% if form.password2.errors %} -

{{ form.password2.errors }}

- {% endif %} -
- - {% if redirect_field_value %} - - {% endif %} - -
- -
-
- -
-

- {% trans "Already have an account?" %} - - {% trans "Sign in" %} - -

+
+ {% csrf_token %} + {% if form.non_field_errors %} +
+
{{ form.non_field_errors }}
+ {% endif %} + +
+ + + {% if form.username.errors %} +

{{ form.username.errors }}

+ {% endif %} +
+ +
+ + + {% if form.email.errors %} +

{{ form.email.errors }}

+ {% endif %} +
+ +
+ + + {% if form.password1.errors %} +

{{ form.password1.errors }}

+ {% endif %} +
+
    +
  • + + Must be at least 8 characters long +
  • +
  • + + Can't be too similar to your personal information +
  • +
  • + + Can't be a commonly used password +
  • +
  • + + Can't be entirely numeric +
  • +
+
+
+ +
+ + + {% if form.password2.errors %} +

{{ form.password2.errors }}

+ {% endif %} +
+ + {% if redirect_field_value %} + + {% endif %} + +
+ +
+
+ +
+

+ {% trans "Already have an account?" %} + + {% trans "Sign in" %} + +

+
+
{% endblock %} diff --git a/thrillwiki/__pycache__/__init__.cpython-312.pyc b/thrillwiki/__pycache__/__init__.cpython-312.pyc index a8a574aa..87c921ac 100644 Binary files a/thrillwiki/__pycache__/__init__.cpython-312.pyc and b/thrillwiki/__pycache__/__init__.cpython-312.pyc differ diff --git a/thrillwiki/__pycache__/settings.cpython-312.pyc b/thrillwiki/__pycache__/settings.cpython-312.pyc index a039b8a0..a0a81fd8 100644 Binary files a/thrillwiki/__pycache__/settings.cpython-312.pyc and b/thrillwiki/__pycache__/settings.cpython-312.pyc differ diff --git a/thrillwiki/__pycache__/urls.cpython-312.pyc b/thrillwiki/__pycache__/urls.cpython-312.pyc index 728d08f9..ff680a47 100644 Binary files a/thrillwiki/__pycache__/urls.cpython-312.pyc and b/thrillwiki/__pycache__/urls.cpython-312.pyc differ diff --git a/thrillwiki/__pycache__/views.cpython-312.pyc b/thrillwiki/__pycache__/views.cpython-312.pyc index 998d7640..8202d2c4 100644 Binary files a/thrillwiki/__pycache__/views.cpython-312.pyc and b/thrillwiki/__pycache__/views.cpython-312.pyc differ diff --git a/thrillwiki/__pycache__/wsgi.cpython-312.pyc b/thrillwiki/__pycache__/wsgi.cpython-312.pyc index 7a615dea..66b49d17 100644 Binary files a/thrillwiki/__pycache__/wsgi.cpython-312.pyc and b/thrillwiki/__pycache__/wsgi.cpython-312.pyc differ