This pull request introduces several changes related to user authentication, UI enhancements, and URL adjustments. The most important changes include adding login functionality, updating URLs, and enhancing the user interface with new styles and components.
User Authentication Enhancements:
Added login functionality in src/visualization/login.py to handle user authentication and redirection. src/visualization/login.py
Defined new URLs for login and logout in web_app/urls.py and updated the Forms view to require login.
URL Adjustments:
Updated URL paths in web_app/urls.py and templates/forms/forms.html to use lowercase and more consistent naming.
UI Enhancements:
Added new styles for profile and logout buttons in staticfiles/admin/css/forms.css and integrated these buttons into the templates/forms/forms.html template.
Created a new login page template in templates/registration/login.html.
Configuration Updates:
Updated config_ui/settings.py to include LOGIN_REDIRECT_URL and LOGIN_URL settings.
Cleanup:
Removed the obsolete templates/signin.html file as it is replaced by the new login page.
This pull request introduces several changes related to user authentication, UI enhancements, and URL adjustments. The most important changes include adding login functionality, updating URLs, and enhancing the user interface with new styles and components.
User Authentication Enhancements:
src/visualization/login.py
to handle user authentication and redirection.src/visualization/login.py
web_app/urls.py
and updated theForms
view to require login.URL Adjustments:
web_app/urls.py
andtemplates/forms/forms.html
to use lowercase and more consistent naming.UI Enhancements:
staticfiles/admin/css/forms.css
and integrated these buttons into thetemplates/forms/forms.html
template.templates/registration/login.html
.Configuration Updates:
config_ui/settings.py
to includeLOGIN_REDIRECT_URL
andLOGIN_URL
settings.Cleanup:
templates/signin.html
file as it is replaced by the new login page.