diff --git a/theme/templates/account/account_inactive.html b/theme/templates/account/account_inactive.html new file mode 100644 index 0000000..e3ab9e6 --- /dev/null +++ b/theme/templates/account/account_inactive.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth %} + +{% block head_title %}{% trans "Account Inactive" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Account Inactive" %}

+

+ {% trans "This account is inactive." %} +

+
+{% endblock content %} diff --git a/theme/templates/account/confirm_email_verification_code.html b/theme/templates/account/confirm_email_verification_code.html new file mode 100644 index 0000000..2f5266b --- /dev/null +++ b/theme/templates/account/confirm_email_verification_code.html @@ -0,0 +1,25 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth account %} + +{% block head_title %}{% trans "Email Verification" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Enter Email Verification Code" %}

+

+ {{ email }} +

+ {% url 'account_email_verification_sent' as action_url %} +
+ {% csrf_token %} + {{ form.non_field_errors }} +
+ + {{ form.code }} + {{ form.code.errors }} +
+ +
+
+{% endblock content %} diff --git a/theme/templates/account/confirm_login_code.html b/theme/templates/account/confirm_login_code.html new file mode 100644 index 0000000..1349911 --- /dev/null +++ b/theme/templates/account/confirm_login_code.html @@ -0,0 +1,29 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth account %} + +{% block head_title %}{% trans "Sign In" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Enter Sign-In Code" %}

+

+ {% if email %} + {{ email }} + {% else %} + {{ phone }} + {% endif %} +

+ {% url 'account_confirm_login_code' as action_url %} +
+ {% csrf_token %} + {{ form.non_field_errors }} +
+ + {{ form.code }} + {{ form.code.errors }} +
+ +
+
+{% endblock content %} diff --git a/theme/templates/account/confirm_password_reset_code.html b/theme/templates/account/confirm_password_reset_code.html new file mode 100644 index 0000000..6bced21 --- /dev/null +++ b/theme/templates/account/confirm_password_reset_code.html @@ -0,0 +1,25 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth account %} + +{% block head_title %}{% trans "Password Reset" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Enter Password Reset Code" %}

+

+ {{ email }} +

+ {% url 'account_confirm_password_reset_code' as action_url %} +
+ {% csrf_token %} + {{ form.non_field_errors }} +
+ + {{ form.code }} + {{ form.code.errors }} +
+ +
+
+{% endblock content %} diff --git a/theme/templates/account/confirm_phone_verification_code.html b/theme/templates/account/confirm_phone_verification_code.html new file mode 100644 index 0000000..8e0b366 --- /dev/null +++ b/theme/templates/account/confirm_phone_verification_code.html @@ -0,0 +1,25 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth account %} + +{% block head_title %}{% trans "Phone Verification" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Enter Phone Verification Code" %}

+

+ {{ phone }} +

+ {% url 'account_verify_phone' as action_url %} +
+ {% csrf_token %} + {{ form.non_field_errors }} +
+ + {{ form.code }} + {{ form.code.errors }} +
+ +
+
+{% endblock content %} diff --git a/theme/templates/account/email.html b/theme/templates/account/email.html new file mode 100644 index 0000000..e3e00be --- /dev/null +++ b/theme/templates/account/email.html @@ -0,0 +1,67 @@ +{% extends 'base.html' %} +{% load static allauth i18n %} + +{% block head_title %}{% trans "Email Addresses" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Email Addresses" %}

+ + {% if emailaddresses %} +

+ {% trans "The following email addresses are associated with your account:" %} +

+ {% url 'account_email' as email_url %} +
+ {% csrf_token %} + {% for radio in emailaddress_radios %} +
+ + +
+ {% endfor %} +
+ + + +
+
+ {% else %} + {% include "account/snippets/warn_no_email.html" %} + {% endif %} + + {% if can_add_email %} +

{% trans "Add Email Address" %}

+ {% url 'account_email' as action_url %} +
+ {% csrf_token %} +
+ + {{ form.email }} + {{ form.email.errors }} +
+ +
+ {% endif %} +
+{% endblock content %} + +{% block extra_body %} + + + +{% endblock extra_body %} diff --git a/theme/templates/account/email_change.html b/theme/templates/account/email_change.html new file mode 100644 index 0000000..b93fcb3 --- /dev/null +++ b/theme/templates/account/email_change.html @@ -0,0 +1,59 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth %} + +{% block head_title %}{% trans "Email Address" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Email Address" %}

+ {% if not emailaddresses %} + {% include "account/snippets/warn_no_email.html" %} + {% endif %} + {% url 'account_email' as action_url %} +
+ {% csrf_token %} + {% if current_emailaddress %} +
+ + +
+ {% endif %} + {% if new_emailaddress %} +
+ + +

+ {% trans "Your email address is still pending verification." %} +

+
+ + {% if current_emailaddress %} + + {% endif %} +
+
+ {% endif %} +
+ + {{ form.email }} + {{ form.email.errors }} +
+ {{ redirect_field }} + +
+ + {% if new_emailaddress %} + + {% endif %} +
+{% endblock content %} diff --git a/theme/templates/account/email_confirm.html b/theme/templates/account/email_confirm.html new file mode 100644 index 0000000..a566613 --- /dev/null +++ b/theme/templates/account/email_confirm.html @@ -0,0 +1,36 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load account allauth %} + +{% block head_title %}{% trans "Confirm Email Address" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Confirm Email Address" %}

+ {% if confirmation %} + {% user_display confirmation.email_address.user as user_display %} + {% if can_confirm %} +

+ {% blocktrans with confirmation.email_address.email as email %} + Please confirm that {{ email }} is an email address for user {{ user_display }}. + {% endblocktrans %} +

+ {% url 'account_confirm_email' confirmation.key as action_url %} +
+ {% csrf_token %} + {{ redirect_field }} + +
+ {% else %} +

+ {% blocktrans %}Unable to confirm {{ confirmation.email_address.email }} because it is already confirmed by a different account.{% endblocktrans %} +

+ {% endif %} + {% else %} + {% url 'account_email' as email_url %} +

+ {% blocktrans %}This email confirmation link expired or is invalid. Please issue a new email confirmation request.{% endblocktrans %} +

+ {% endif %} +
+{% endblock content %} diff --git a/theme/templates/account/new/account_inactive.html b/theme/templates/account/new/account_inactive.html deleted file mode 100644 index 1ee9c72..0000000 --- a/theme/templates/account/new/account_inactive.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "allauth/layouts/entrance.html" %} -{% load i18n %} -{% load allauth %} -{% block head_title %} - {% translate "Account Inactive" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% translate "Account Inactive" %} - {% endelement %} - {% element p %} - {% translate "This account is inactive." %} - {% endelement %} -{% endblock content %} diff --git a/theme/templates/account/new/confirm_email_verification_code.html b/theme/templates/account/new/confirm_email_verification_code.html deleted file mode 100644 index 8030831..0000000 --- a/theme/templates/account/new/confirm_email_verification_code.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "account/base_confirm_code.html" %} -{% load i18n %} -{% load allauth account %} -{% block head_title %} - {% translate "Email Verification" %} -{% endblock head_title %} -{% block title %} - {% translate "Enter Email Verification Code" %} -{% endblock %} -{% block recipient %}{{ email }}{% endblock %} -{% block action_url %} - {% url 'account_email_verification_sent' %} -{% endblock %} -{% block extra_tags %}email,verification{% endblock %} diff --git a/theme/templates/account/new/confirm_login_code.html b/theme/templates/account/new/confirm_login_code.html deleted file mode 100644 index dc97d45..0000000 --- a/theme/templates/account/new/confirm_login_code.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "account/base_confirm_code.html" %} -{% load i18n %} -{% load allauth account %} -{% block head_title %} - {% translate "Sign In" %} -{% endblock head_title %} -{% block title %} - {% translate "Enter Sign-In Code" %} -{% endblock %} -{% block recipient %} - {% if email %} - {{ email }} - {% else %} - {{ phone }} - {% endif %} -{% endblock %} -{% block action_url %} - {% url 'account_confirm_login_code' %} -{% endblock %} -{% block extra_tags %}login{% endblock %} diff --git a/theme/templates/account/new/confirm_password_reset_code.html b/theme/templates/account/new/confirm_password_reset_code.html deleted file mode 100644 index 21a28bd..0000000 --- a/theme/templates/account/new/confirm_password_reset_code.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "account/base_confirm_code.html" %} -{% load i18n %} -{% load allauth account %} -{% block head_title %} - {% translate "Password Reset" %} -{% endblock head_title %} -{% block title %} - {% translate "Enter Password Reset Code" %} -{% endblock %} -{% block recipient %}{{ email }}{% endblock %} -{% block action_url %} - {% url 'account_confirm_password_reset_code' %} -{% endblock %} -{% block extra_tags %}email,verification{% endblock %} diff --git a/theme/templates/account/new/confirm_phone_verification_code.html b/theme/templates/account/new/confirm_phone_verification_code.html deleted file mode 100644 index e34f630..0000000 --- a/theme/templates/account/new/confirm_phone_verification_code.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "account/base_confirm_code.html" %} -{% load i18n %} -{% load allauth account %} -{% block head_title %} - {% translate "Phone Verification" %} -{% endblock head_title %} -{% block title %} - {% translate "Enter Phone Verification Code" %} -{% endblock %} -{% block recipient %}{{ phone }}{% endblock %} -{% block action_url %} - {% url 'account_verify_phone' %} -{% endblock %} -{% block extra_tags %}phone,verification{% endblock %} diff --git a/theme/templates/account/new/email.html b/theme/templates/account/new/email.html deleted file mode 100644 index 829d702..0000000 --- a/theme/templates/account/new/email.html +++ /dev/null @@ -1,83 +0,0 @@ -{% extends "account/base_manage_email.html" %} -{% load static allauth i18n %} -{% block head_title %} - {% trans "Email Addresses" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% trans "Email Addresses" %} - {% endelement %} - {% if emailaddresses %} - {% element p %} - {% trans 'The following email addresses are associated with your account:' %} - {% endelement %} - {% url 'account_email' as email_url %} - {% element form form=form action=email_url method="post" tags="email,list" %} - {% slot body %} - {% csrf_token %} - {% for radio in emailaddress_radios %} - {% with emailaddress=radio.emailaddress %} - {% element field type="radio" checked=radio.checked name="email" value=emailaddress.email id=radio.id %} - {% slot label %} - {{ emailaddress.email }} - {% if emailaddress.verified %} - {% element badge tags="success,email,verified" %} - {% translate "Verified" %} - {% endelement %} - {% else %} - {% element badge tags="warning,email,unverified" %} - {% translate "Unverified" %} - {% endelement %} - {% endif %} - {% if emailaddress.primary %} - {% element badge tags="email,primary" %} - {% translate "Primary" %} - {% endelement %} - {% endif %} - {% endslot %} - {% endelement %} - {% endwith %} - {% endfor %} - {% endslot %} - {% slot actions %} - {% element button type="submit" name="action_primary" %} - {% trans 'Make Primary' %} - {% endelement %} - {% element button tags="secondary" type="submit" name="action_send" %} - {% trans 'Re-send Verification' %} - {% endelement %} - {% element button tags="danger,delete" type="submit" name="action_remove" %} - {% trans 'Remove' %} - {% endelement %} - {% endslot %} - {% endelement %} - {% else %} - {% include "account/snippets/warn_no_email.html" %} - {% endif %} - {% if can_add_email %} - {% element h2 %} - {% trans "Add Email Address" %} - {% endelement %} - {% url 'account_email' as action_url %} - {% element form form=form method="post" action=action_url tags="email,add" %} - {% slot body %} - {% csrf_token %} - {% element fields form=form %} - {% endelement %} - {% endslot %} - {% slot actions %} - {% element button name="action_add" type="submit" %} - {% trans "Add Email" %} - {% endelement %} - {% endslot %} - {% endelement %} - {% endif %} -{% endblock content %} -{% block extra_body %} - - - -{% endblock extra_body %} diff --git a/theme/templates/account/new/email_change.html b/theme/templates/account/new/email_change.html deleted file mode 100644 index 0ee140c..0000000 --- a/theme/templates/account/new/email_change.html +++ /dev/null @@ -1,68 +0,0 @@ -{% extends "account/base_manage_email.html" %} -{% load i18n %} -{% load allauth %} -{% block head_title %} - {% trans "Email Address" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% trans "Email Address" %} - {% endelement %} - {% if not emailaddresses %} - {% include "account/snippets/warn_no_email.html" %} - {% endif %} - {% url 'account_email' as action_url %} - {% element form method="post" action=action_url %} - {% slot body %} - {% csrf_token %} - {% if current_emailaddress %} - {% element field id="current_email" disabled=True type="email" value=current_emailaddress.email %} - {% slot label %} - {% translate "Current email" %}: - {% endslot %} - {% endelement %} - {% endif %} - {% if new_emailaddress %} - {% element field id="new_email" value=new_emailaddress.email disabled=True type="email" %} - {% slot label %} - {% if not current_emailaddress %} - {% translate "Current email" %}: - {% else %} - {% translate "Changing to" %}: - {% endif %} - {% endslot %} - {% slot help_text %} - {% blocktranslate %}Your email address is still pending verification.{% endblocktranslate %} - {% element button form="pending-email" type="submit" name="action_send" tags="minor,secondary" %} - {% trans 'Re-send Verification' %} - {% endelement %} - {% if current_emailaddress %} - {% element button form="pending-email" type="submit" name="action_remove" tags="danger,minor" %} - {% trans 'Cancel Change' %} - {% endelement %} - {% endif %} - {% endslot %} - {% endelement %} - {% endif %} - {% element field id=form.email.auto_id name="email" value=form.email.value errors=form.email.errors type="email" %} - {% slot label %} - {% translate "Change to" %}: - {% endslot %} - {% endelement %} - {% endslot %} - {% slot actions %} - {% element button name="action_add" type="submit" %} - {% trans "Change Email" %} - {% endelement %} - {% endslot %} - {% endelement %} - {% if new_emailaddress %} - - {% endif %} -{% endblock content %} diff --git a/theme/templates/account/new/email_confirm.html b/theme/templates/account/new/email_confirm.html deleted file mode 100644 index d03e4a2..0000000 --- a/theme/templates/account/new/email_confirm.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "account/base_entrance.html" %} -{% load i18n %} -{% load account %} -{% load allauth %} -{% block head_title %} - {% trans "Confirm Email Address" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% trans "Confirm Email Address" %} - {% endelement %} - {% if confirmation %} - {% user_display confirmation.email_address.user as user_display %} - {% if can_confirm %} - {% element p %} - {% blocktrans with confirmation.email_address.email as email %}Please confirm that {{ email }} is an email address for user {{ user_display }}.{% endblocktrans %} - {% endelement %} - {% url 'account_confirm_email' confirmation.key as action_url %} - {% element form method="post" action=action_url %} - {% slot actions %} - {% csrf_token %} - {{ redirect_field }} - {% element button type="submit" %} - {% trans 'Confirm' %} - {% endelement %} - {% endslot %} - {% endelement %} - {% else %} - {% element p %} - {% blocktrans %}Unable to confirm {{ email }} because it is already confirmed by a different account.{% endblocktrans %} - {% endelement %} - {% endif %} - {% else %} - {% url 'account_email' as email_url %} - {% element p %} - {% blocktrans %}This email confirmation link expired or is invalid. Please issue a new email confirmation request.{% endblocktrans %} - {% endelement %} - {% endif %} -{% endblock content %} diff --git a/theme/templates/account/new/reauthenticate.html b/theme/templates/account/new/reauthenticate.html deleted file mode 100644 index d98c86a..0000000 --- a/theme/templates/account/new/reauthenticate.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "account/base_reauthenticate.html" %} -{% load allauth %} -{% load i18n %} -{% block reauthenticate_content %} - {% element p %} - {% blocktranslate %}Enter your password:{% endblocktranslate %} - {% endelement %} - {% url 'account_reauthenticate' as action_url %} - {% element form form=form method="post" action=action_url %} - {% slot body %} - {% csrf_token %} - {% element fields form=form unlabeled=True %} - {% endelement %} - {{ redirect_field }} - {% endslot %} - {% slot actions %} - {% element button type="submit" tags="primary,reauthenticate" %} - {% trans "Confirm" %} - {% endelement %} - {% endslot %} - {% endelement %} -{% endblock %} diff --git a/theme/templates/account/new/request_login_code.html b/theme/templates/account/new/request_login_code.html deleted file mode 100644 index 6ef3905..0000000 --- a/theme/templates/account/new/request_login_code.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "account/base_entrance.html" %} -{% load i18n %} -{% load allauth account %} -{% block head_title %} - {% translate "Sign In" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% translate "Send me a sign-in code" %} - {% endelement %} - {% element p %} - {% blocktranslate %}You will receive a special code for a password-free sign-in.{% endblocktranslate %} - {% endelement %} - {% url 'account_request_login_code' as login_url %} - {% element form form=form method="post" action=login_url tags="entrance,login" %} - {% slot body %} - {% csrf_token %} - {% element fields form=form unlabeled=True %} - {% endelement %} - {{ redirect_field }} - {% endslot %} - {% slot actions %} - {% element button type="submit" tags="prominent,login" %} - {% translate "Request Code" %} - {% endelement %} - {% endslot %} - {% endelement %} - {% url 'account_login' as login_url %} - {% element button href=login_url tags="link" %} - {% translate "Other sign-in options" %} - {% endelement %} -{% endblock content %} diff --git a/theme/templates/account/new/signup_by_passkey.html b/theme/templates/account/new/signup_by_passkey.html deleted file mode 100644 index 0863542..0000000 --- a/theme/templates/account/new/signup_by_passkey.html +++ /dev/null @@ -1,38 +0,0 @@ -{% extends "account/base_entrance.html" %} -{% load allauth i18n %} -{% block head_title %} - {% trans "Signup" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% trans "Passkey Sign Up" %} - {% endelement %} - {% setvar link %} - - {% endsetvar %} - {% setvar end_link %} - - {% endsetvar %} - {% element p %} - {% blocktranslate %}Already have an account? Then please {{ link }}sign in{{ end_link }}.{% endblocktranslate %} - {% endelement %} - {% url 'account_signup_by_passkey' as action_url %} - {% element form form=form method="post" action=action_url tags="entrance,signup" %} - {% slot body %} - {% csrf_token %} - {% element fields form=form unlabeled=True %} - {% endelement %} - {{ redirect_field }} - {% endslot %} - {% slot actions %} - {% element button tags="prominent,signup" type="submit" %} - {% trans "Sign Up" %} - {% endelement %} - {% endslot %} - {% endelement %} - {% element hr %} - {% endelement %} - {% element button href=signup_url tags="prominent,signup,outline,primary" %} - {% trans "Other options" %} - {% endelement %} -{% endblock content %} diff --git a/theme/templates/account/new/signup_closed.html b/theme/templates/account/new/signup_closed.html deleted file mode 100644 index 1d70eef..0000000 --- a/theme/templates/account/new/signup_closed.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "account/base_entrance.html" %} -{% load i18n %} -{% load allauth %} -{% block head_title %} - {% trans "Sign Up Closed" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% trans "Sign Up Closed" %} - {% endelement %} - {% element p %} - {% trans "We are sorry, but the sign up is currently closed." %} - {% endelement %} -{% endblock content %} diff --git a/theme/templates/account/new/verification_sent.html b/theme/templates/account/new/verification_sent.html deleted file mode 100644 index 2397367..0000000 --- a/theme/templates/account/new/verification_sent.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "account/base_entrance.html" %} -{% load i18n %} -{% load allauth %} -{% block head_title %} - {% trans "Verify Your Email Address" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% trans "Verify Your Email Address" %} - {% endelement %} - {% element p %} - {% blocktrans %}We have sent an email to you for verification. Follow the link provided to finalize the signup process. If you do not see the verification email in your main inbox, check your spam folder. Please contact us if you do not receive the verification email within a few minutes.{% endblocktrans %} - {% endelement %} -{% endblock content %} diff --git a/theme/templates/account/new/verified_email_required.html b/theme/templates/account/new/verified_email_required.html deleted file mode 100644 index 65d7d1f..0000000 --- a/theme/templates/account/new/verified_email_required.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "account/base_manage.html" %} -{% load i18n %} -{% load allauth %} -{% block head_title %} - {% trans "Verify Your Email Address" %} -{% endblock head_title %} -{% block content %} - {% element h1 %} - {% trans "Verify Your Email Address" %} - {% endelement %} - {% url 'account_email' as email_url %} - {% element p %} - {% blocktrans %}This part of the site requires us to verify that -you are who you claim to be. For this purpose, we require that you -verify ownership of your email address. {% endblocktrans %} - {% endelement %} - {% element p %} - {% blocktrans %}We have sent an email to you for -verification. Please click on the link inside that email. If you do not see the verification email in your main inbox, check your spam folder. Otherwise -contact us if you do not receive it within a few minutes.{% endblocktrans %} - {% endelement %} - {% element p %} - {% blocktrans %}Note: you can still change your email address.{% endblocktrans %} - {% endelement %} -{% endblock content %} diff --git a/theme/templates/account/reauthenticate.html b/theme/templates/account/reauthenticate.html new file mode 100644 index 0000000..cbcf250 --- /dev/null +++ b/theme/templates/account/reauthenticate.html @@ -0,0 +1,24 @@ +{% extends 'base.html' %} +{% load allauth i18n %} + +{% block head_title %}{% trans "Reauthenticate" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Enter your password:" %}

+ {% url 'account_reauthenticate' as action_url %} +
+ {% csrf_token %} + {{ form.non_field_errors }} + {% for field in form %} +
+ + {{ field }} + {{ field.errors }} +
+ {% endfor %} + {{ redirect_field }} + +
+
+{% endblock content %} diff --git a/theme/templates/account/request_login_code.html b/theme/templates/account/request_login_code.html new file mode 100644 index 0000000..873832b --- /dev/null +++ b/theme/templates/account/request_login_code.html @@ -0,0 +1,32 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth account %} + +{% block head_title %}{% trans "Sign In" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Send me a sign-in code" %}

+

+ {% trans "You will receive a special code for a password-free sign-in." %} +

+ {% url 'account_request_login_code' as login_url %} +
+ {% csrf_token %} + {{ form.non_field_errors }} + {% for field in form %} +
+ + {{ field }} + {{ field.errors }} +
+ {% endfor %} + {{ redirect_field }} + +
+ {% url 'account_login' as login_url %} +
+ {% trans "Other sign-in options" %} +
+
+{% endblock content %} diff --git a/theme/templates/account/signup_by_passkey.html b/theme/templates/account/signup_by_passkey.html new file mode 100644 index 0000000..adc9f39 --- /dev/null +++ b/theme/templates/account/signup_by_passkey.html @@ -0,0 +1,33 @@ +{% extends 'base.html' %} +{% load allauth i18n %} + +{% block head_title %}{% trans "Signup" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Passkey Sign Up" %}

+

+ {% blocktranslate %} + Already have an account? Then please {% trans "sign in" %}. + {% endblocktranslate %} +

+ {% url 'account_signup_by_passkey' as action_url %} +
+ {% csrf_token %} + {{ form.non_field_errors }} + {% for field in form %} +
+ + {{ field }} + {{ field.errors }} +
+ {% endfor %} + {{ redirect_field }} + +
+
+
+ {% trans "Other options" %} +
+
+{% endblock content %} diff --git a/theme/templates/account/signup_closed.html b/theme/templates/account/signup_closed.html new file mode 100644 index 0000000..a9bfa1c --- /dev/null +++ b/theme/templates/account/signup_closed.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth %} + +{% block head_title %}{% trans "Sign Up Closed" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Sign Up Closed" %}

+

+ {% trans "We are sorry, but the sign up is currently closed." %} +

+
+{% endblock content %} diff --git a/theme/templates/account/verification_sent.html b/theme/templates/account/verification_sent.html new file mode 100644 index 0000000..2d64c74 --- /dev/null +++ b/theme/templates/account/verification_sent.html @@ -0,0 +1,16 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth %} + +{% block head_title %}{% trans "Verify Your Email Address" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Verify Your Email Address" %}

+

+ {% blocktrans %} + We have sent an email to you for verification. Follow the link provided to finalize the signup process. If you do not see the verification email in your main inbox, check your spam folder. Please contact us if you do not receive the verification email within a few minutes. + {% endblocktrans %} +

+
+{% endblock content %} diff --git a/theme/templates/account/verified_email_required.html b/theme/templates/account/verified_email_required.html new file mode 100644 index 0000000..7b0cc40 --- /dev/null +++ b/theme/templates/account/verified_email_required.html @@ -0,0 +1,27 @@ +{% extends 'base.html' %} +{% load i18n %} +{% load allauth %} + +{% block head_title %}{% trans "Verify Your Email Address" %}{% endblock head_title %} + +{% block content %} +
+

{% trans "Verify Your Email Address" %}

+ {% url 'account_email' as email_url %} +

+ {% blocktrans %} + This part of the site requires us to verify that you are who you claim to be. For this purpose, we require that you verify ownership of your email address. + {% endblocktrans %} +

+

+ {% blocktrans %} + We have sent an email to you for verification. Please click on the link inside that email. If you do not see the verification email in your main inbox, check your spam folder. Otherwise contact us if you do not receive it within a few minutes. + {% endblocktrans %} +

+

+ {% blocktrans %} + Note: you can still change your email address. + {% endblocktrans %} +

+
+{% endblock content %}