From 087c77e319f5f54275aadd3f414f9cec300becd2 Mon Sep 17 00:00:00 2001 From: Kaleb Date: Thu, 7 Dec 2023 17:24:32 -0500 Subject: [PATCH 1/2] Corrected simple typo in 'THIRD_PARTY_APPS' it was 'THIRED_PARTY_APPS' --- SMS/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SMS/settings.py b/SMS/settings.py index 4b2444b..1ddddd2 100644 --- a/SMS/settings.py +++ b/SMS/settings.py @@ -45,8 +45,8 @@ DJANGO_APPS = [ "django.contrib.staticfiles", ] -# Thired party apps -THIRED_PARTY_APPS = [ +# Third party apps +THIRD_PARTY_APPS = [ "crispy_forms", "rest_framework", ] @@ -63,7 +63,7 @@ PROJECT_APPS = [ ] # Combine all apps -INSTALLED_APPS = DJANGO_APPS + THIRED_PARTY_APPS + PROJECT_APPS +INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + PROJECT_APPS MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware", From 7d38ca6182019a2c3925659ff199def0b42399e0 Mon Sep 17 00:00:00 2001 From: Kaleb Date: Wed, 13 Dec 2023 20:42:09 -0500 Subject: [PATCH 2/2] Update login page styling and layout, also added a link to the register page if the user doesn't have an account yet. --- static/css/style.css | 10 ++++++++++ templates/registration/login.html | 10 ++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 4cdd70c..002eb80 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1840,6 +1840,16 @@ a { margin-right: 1rem; } +#login .login-bottom { + display: flex; + justify-content: space-between; + padding: 0 18px 0 18px; +} + +#login .login-bottom > * { + margin: 0; +} + /* ################################################################################################# */ .score-wrapper { position: relative; diff --git a/templates/registration/login.html b/templates/registration/login.html index 6d476d5..76aabdd 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -4,7 +4,10 @@ {% block content %}
- +
{% csrf_token %}
@@ -23,7 +26,10 @@
- Forgot password ? +
{% endblock content %}