Merge pull request #8 from kaleblub/main

Typo correction, and login page edits
This commit is contained in:
Adil Mohak 2023-12-14 20:46:00 +03:00 committed by GitHub
commit f54112abca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 5 deletions

View File

@ -45,8 +45,8 @@ DJANGO_APPS = [
"django.contrib.staticfiles", "django.contrib.staticfiles",
] ]
# Thired party apps # Third party apps
THIRED_PARTY_APPS = [ THIRD_PARTY_APPS = [
"crispy_forms", "crispy_forms",
"rest_framework", "rest_framework",
] ]
@ -63,7 +63,7 @@ PROJECT_APPS = [
] ]
# Combine all apps # Combine all apps
INSTALLED_APPS = DJANGO_APPS + THIRED_PARTY_APPS + PROJECT_APPS INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + PROJECT_APPS
MIDDLEWARE = [ MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware", "django.middleware.security.SecurityMiddleware",

View File

@ -1840,6 +1840,16 @@ a {
margin-right: 1rem; margin-right: 1rem;
} }
#login .login-bottom {
display: flex;
justify-content: space-between;
padding: 0 18px 0 18px;
}
#login .login-bottom > * {
margin: 0;
}
/* ################################################################################################# */ /* ################################################################################################# */
.score-wrapper { .score-wrapper {
position: relative; position: relative;

View File

@ -4,7 +4,10 @@
{% block content %} {% block content %}
<div id="login"> <div id="login">
<div class="login-title blue-gradient"><i class="fas fa-lock"></i>Sign in</div> <div class="login-title blue-gradient">
<i class="fas fa-lock"></i>
<span class="login-title-text">Sign in</span>
</div>
<form action="" method="POST" id="login-form">{% csrf_token %} <form action="" method="POST" id="login-form">{% csrf_token %}
<div class="form-group px-3"> <div class="form-group px-3">
@ -23,7 +26,10 @@
<button type="submit" class="btn btn-primary" id="login-btn"><i class="fas fa-sign-in-alt"></i><small> SIGN IN</small></button> <button type="submit" class="btn btn-primary" id="login-btn"><i class="fas fa-sign-in-alt"></i><small> SIGN IN</small></button>
</form> </form>
<br> <br>
<a href="{% url 'password_reset' %}" class="link">Forgot password ?</a> <div class="login-bottom">
<a href="{% url 'password_reset' %}" class="link">Forgot password ?</a>
<a href="{% url 'register' %}" class="link">Don't have an account ?</a>
</div>
</div> </div>
{% endblock content %} {% endblock content %}