diff --git a/web-app/django/VIM/apps/main/static/main/css/login.css b/web-app/django/VIM/apps/main/static/main/css/login.css index 5c5cb42..fd73e82 100644 --- a/web-app/django/VIM/apps/main/static/main/css/login.css +++ b/web-app/django/VIM/apps/main/static/main/css/login.css @@ -3,15 +3,18 @@ width: 80vw; } -.login-container { +.account-container { background-color: white; border: 3px solid #9eb384; border-radius: 30px; - height: auto !important; + height: 500px !important; + position: relative; + color: #435334; } -.login-form { - color: #435334; +.message-container { + position: absolute; + top: 10px; } #signup-decor { @@ -47,12 +50,12 @@ input::placeholder { color: #9eb384; } -.sign-in-btn { +.account-btn { background-color: #435334; border: 1px solid #435334; } -.sign-in-btn:hover { +.account-btn:hover { background-color: #9eb384; border: 1px solid #9eb384; } @@ -74,5 +77,10 @@ a:hover { } .errorlist { - color: red; + margin: 0; +} + +ul { + list-style-type: none; + padding: 0 0.5rem; } diff --git a/web-app/django/VIM/apps/main/templates/registration/changePassword.html b/web-app/django/VIM/apps/main/templates/registration/changePassword.html new file mode 100644 index 0000000..062e4d1 --- /dev/null +++ b/web-app/django/VIM/apps/main/templates/registration/changePassword.html @@ -0,0 +1,57 @@ +{% extends "base.html" %} + +{% load static %} + +{% block title %} + Change Password +{% endblock title %} + +{% block css_files %} + +{% endblock css_files %} + +{% block content %} +
+
+ {% if form.errors %} +
+ {% for field, error in form.errors.items %}{{ error }}{% endfor %} +
+ {% endif %} +
+
+ +
+
+
+
+{% endblock content %} + +{% block scripts %} +{% endblock scripts %} diff --git a/web-app/django/VIM/apps/main/templates/registration/change_password.html b/web-app/django/VIM/apps/main/templates/registration/change_password.html deleted file mode 100644 index 2d3f627..0000000 --- a/web-app/django/VIM/apps/main/templates/registration/change_password.html +++ /dev/null @@ -1,53 +0,0 @@ -{% extends "base.html" %} - -{% load static %} - -{% block title %} - Change Password -{% endblock title %} - -{% block css_files %} - -{% endblock css_files %} - -{% block content %} -
-
-
- {% if form.errors %} -
- {% for field, error in form.errors.items %}{{ error }}{% endfor %} -
- {% endif %} - -
-
-
-{% endblock content %} - -{% block scripts %} -{% endblock scripts %} diff --git a/web-app/django/VIM/apps/main/templates/registration/login.html b/web-app/django/VIM/apps/main/templates/registration/login.html index ef8be40..365ee97 100644 --- a/web-app/django/VIM/apps/main/templates/registration/login.html +++ b/web-app/django/VIM/apps/main/templates/registration/login.html @@ -14,21 +14,15 @@ {% block content %}
-
- {% if messages %} -
- {% for message in messages %}{{ message }}{% endfor %} -
- {% endif %} +