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

Missing templates: request login code, confirm login code #133

Open
yhager opened this issue Feb 7, 2025 · 4 comments
Open

Missing templates: request login code, confirm login code #133

yhager opened this issue Feb 7, 2025 · 4 comments

Comments

@yhager
Copy link
Contributor

yhager commented Feb 7, 2025

This library has some great templates for most of allauth pages. Thank you for those.

However, it seems to be missing the request_login_code (code/request) and confirm_login_code (code/confirm) templates.

If you can add them that would be great.

Thanks!

@danihodovic
Copy link
Owner

Would you like to open a pull-request?

@yhager
Copy link
Contributor Author

yhager commented Feb 7, 2025

Yes, but I have no tailwind experience. If it's a matter of copying over the original template and following simple steps based on examples from the other templates you already have, I can definitely give it a shot. Otherwise I'll need more guidance, or to wait until the need rises for someone with tailwind knowledge.

@danihodovic
Copy link
Owner

danihodovic commented Feb 7, 2025

You can look at existing examples to learn how I've done it. Here is login.html: https://github.com/danihodovic/django-allauth-ui/blob/master/allauth_ui/templates/account/login.html

Each template is 40-60 lines of html.

Re-use container.html: https://github.com/danihodovic/django-allauth-ui/tree/master/allauth_ui/templates/components

@danihodovic
Copy link
Owner

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

No branches or pull requests

2 participants