This pull request includes several updates to the account settings, email change functionality, and various CSS and HTML files to improve the user interface and user experience. The most important changes include adding new views for account settings and email change, updating the login page to include email handling, and various CSS adjustments for better styling.
This pull request includes several updates to the account settings, email change functionality, and various CSS and HTML files to improve the user interface and user experience. The most important changes include adding new views for account settings and email change, updating the login page to include email handling, and various CSS adjustments for better styling.
New Views and Templates:
src/visualization/account_settings.py
: Added a new viewaccount_setting
that renders the account settings page.src/visualization/add_email.py
: Added a new viewchange_email
that handles email change requests.templates/registration/account_settings.html
: Added a new template for the account settings page.templates/registration/add_email.html
: Added a new template for changing the email address.Login Page Update:
src/visualization/login.py
: Updated thelog_in_page
view to handle email in addition to username and password.CSS and HTML Improvements:
staticfiles/admin/css/forms.css
: Updated styles for hover effects, user info, and added new styles for settings button and profile button. [1] [2] [3]staticfiles/admin/css/landing_page.css
: Adjusted margins, button styles, and added new styles for various elements. [1] [2] [3] [4] [5]templates/forms/forms.html
: Added JavaScript to handle profile button clicks and updated user info display. [1] [2] [3]templates/home.html
: Updated navigation link for "CUESTIONARIOS".templates/proyectos.html
: Removedtarget="_blank"
from project links. [1] [2] [3] [4] [5] [6] [7]templates/registration/login.html
: Added new links and updated welcome message.