diff --git a/frontend/styles.css b/frontend/styles.css index f77e093f..93861e46 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -31,7 +31,7 @@ } h2 { @apply text-slate dark:text-white; - @apply text-4xl; + @apply text-3xl; @apply my-5; } h3 { diff --git a/templates/account/login.html b/templates/account/login.html index edaafb79..939bc9b9 100644 --- a/templates/account/login.html +++ b/templates/account/login.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load i18n %} @@ -6,57 +6,54 @@ {% load account socialaccount %} {% load static %} -{% block head_title %}{% trans "Log In" %}{% endblock %} +{% block head_title %} + {% trans 'Log In' %} +{% endblock %} -{% block body_id %}id="authpages"{% endblock %} +{% block body_id %} + id="authpages" +{% endblock %} {% block content %} -
-
{% if contributor_account_redirect_message %} - + {% endif %} +

{% trans 'Log In' %}

+

+ {% blocktrans %}If you have not created an account yet, please + sign up first.{% endblocktrans %}

-
{% get_providers as socialaccount_providers %} {% if socialaccount_providers %} {% blocktrans with site.name as site_name %} -

Log in with one of your existing third party accounts

+

Log in with one of your existing third party accounts

{% endblocktrans %}
-
- {% include "socialaccount/snippets/provider_list.html" with process="login" %} + {% include 'socialaccount/snippets/provider_list.html' with process='login' %}
- {% include "socialaccount/snippets/login_extra.html" %} - + {% include 'socialaccount/snippets/login_extra.html' %}
- {% endif %}
-

- Or Log In with Email Last Log In -

+

Or Log In with Email Last Log In

- {% endblock %} diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html index 04d18518..15fad42c 100644 --- a/templates/account/password_reset.html +++ b/templates/account/password_reset.html @@ -1,37 +1,39 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load i18n %} {% load account %} -{% block head_title %}{% trans "Password Reset" %}{% endblock %} +{% block head_title %} + {% trans 'Password Reset' %} +{% endblock %} {% block content %} -
-

{% trans "Password Reset" %}

+

{% trans 'Password Reset' %}

{% if user.is_authenticated %} - {% include "account/snippets/already_logged_in.html" %} + {% include 'account/snippets/already_logged_in.html' %} {% endif %} -

{% trans "Forgot your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}

+

+ {% trans "Forgot your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %} +

- {% csrf_token %} -
- {{ form.as_p }} + {% csrf_token %} +
+ {{ form.as_p }} -
- -
+
+
+
-

{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}

+

+ {% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %} +

diff --git a/templates/account/password_reset_done.html b/templates/account/password_reset_done.html index c6bf1216..7b79634d 100644 --- a/templates/account/password_reset_done.html +++ b/templates/account/password_reset_done.html @@ -1,21 +1,25 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load i18n %} {% load account %} -{% block head_title %}{% trans "Password Reset" %}{% endblock %} +{% block head_title %} + {% trans 'Password Reset' %} +{% endblock %} {% block content %}
-

{% trans "Password Reset" %}

+

{% trans 'Password Reset' %}

{% if user.is_authenticated %} - {% include "account/snippets/already_logged_in.html" %} + {% include 'account/snippets/already_logged_in.html' %} {% endif %} -

{% blocktrans %}We have sent you an e-mail. If you have not received it please check your spam folder. Otherwise contact us if you do not receive it in a few minutes.{% endblocktrans %}

+

+ {% blocktrans %}We have sent you an e-mail. If you have not received it please check your spam folder. Otherwise contact us if you do not receive it in a few minutes.{% endblocktrans %} +

diff --git a/templates/account/password_reset_from_key.html b/templates/account/password_reset_from_key.html index 6cbc49c2..e2a2d93f 100644 --- a/templates/account/password_reset_from_key.html +++ b/templates/account/password_reset_from_key.html @@ -1,55 +1,61 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load i18n %} -{% block head_title %}{% trans "Change Password" %}{% endblock %} +{% block head_title %} + {% trans 'Change Password' %} +{% endblock %} {% block content %}
-

{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}

+

+ {% if token_fail %} + {% trans 'Bad Token' %} + {% else %} + {% trans 'Change Password' %} + {% endif %} +

{% if token_fail %} - {% url 'account_reset_password' as passwd_reset_url %} -

{% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset.{% endblocktrans %}

+ {% url 'account_reset_password' as passwd_reset_url %} +

+ {% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset.{% endblocktrans %} +

{% else %} -
- {% csrf_token %} + + {% csrf_token %} -
- - {% if form.non_field_errors %} - {% for error in form.non_field_errors %} -
- {{ error }} -
+
+ + {% if form.non_field_errors %} + {% for error in form.non_field_errors %} +
{{ error }}
+ {% endfor %} + {% endif %} + + {% for field in form.visible_fields %} + {% if field.errors %} + {% for error in field.errors %} +
{{ error }}
{% endfor %} {% endif %} - - {% for field in form.visible_fields %} - {% if field.errors %} - {% for error in field.errors %} -
{{ error }}
- {% endfor %} +
+ + {% if field.help_text %} + {{ field.help_text }} {% endif %} -
- - {% if field.help_text %} - {{ field.help_text }} - {% endif %} -
- {% endfor %} - -
-
+ {% endfor %} + +
+
- +
+ {% endif %}
diff --git a/templates/account/password_reset_from_key_done.html b/templates/account/password_reset_from_key_done.html index 2a58ab87..5735dd60 100644 --- a/templates/account/password_reset_from_key_done.html +++ b/templates/account/password_reset_from_key_done.html @@ -1,15 +1,19 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load account socialaccount i18n %} -{% block head_title %}{% trans "Change Password" %}{% endblock %} +{% block head_title %} + {% trans 'Change Password' %} +{% endblock %} {% block content %}
-

{% trans "Change Password" %}

+

{% trans 'Change Password' %}

{% url 'account_login' as login_url %} -

{% blocktrans %}Your password is now changed. Log in with your new password.{% endblocktrans %}

+

+ {% blocktrans %}Your password is now changed. Log in with your new password.{% endblocktrans %} +

diff --git a/templates/account/signup.html b/templates/account/signup.html index 0ce3937e..a3d5151d 100755 --- a/templates/account/signup.html +++ b/templates/account/signup.html @@ -1,179 +1,139 @@ -{% extends "base.html" %} +{% extends 'base.html' %} {% load i18n %} {% load widget_tweaks %} {% load account socialaccount %} -{% block head_title %}{% trans "Sign Up" %}{% endblock %} +{% block head_title %} + {% trans 'Sign Up' %} +{% endblock %} -{% block body_id %}id="authpages"{% endblock %} +{% block body_id %} + id="authpages" +{% endblock %} {% block content %} + - .dark .disabledLink { - border: 1px solid transparent !important; - pointer-events: none; - background-color: rgb(5 26 38 / var(--tw-bg-opacity)) !important; - color: rgb(23 42 52 / var(--tw-bg-opacity)) !important; - } - - -
-
-
-

{% trans "Sign Up" %}

-

- {% blocktrans %}Already have an account? Then please - log in.{% endblocktrans %} -

-