Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework accounts #118

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Rework accounts #118

merged 3 commits into from
Aug 29, 2024

Conversation

friedelwolff
Copy link
Contributor

No description provided.

Allow easy form styling using bootstrap. This way we can render
forms with {{ form }} instead of having to manually handle each
field verbosely.
Entirely rework the accounts front-end to simplify things and align
better with built-in Django:
 - Use Bootstrap infrastructure to render forms plainly in templates
   (see previous commit).
 - Rename forms and views to correspond to the builtin ones, but
   ensure that the builtin ones can't accidentally be imported.
 - Use a base template for all account-related pages to ensure
   consistency.
 - Reuse the exact wording in Django templates in more places to be
   able to reuse Django translations seamlessly.
 - Avoid duplicate URLs that can be confusing if you hit the wrong one.
Styling and indenting in the footer is slightly reworked, as the
logout view has to be invoked with a POST. `hx-disable` is added in
the cases where a full-page reload is required.

With the admin link removed, the navbar now has more space for label
expansion in other languages.
@friedelwolff friedelwolff merged commit e889075 into develop Aug 29, 2024
2 checks passed
@friedelwolff friedelwolff deleted the rework-accounts branch August 29, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant