diff --git a/src/web/pages/resources/common.css b/src/web/pages/resources/common.css index ac72eba92..3c0a531f1 100644 --- a/src/web/pages/resources/common.css +++ b/src/web/pages/resources/common.css @@ -214,11 +214,6 @@ button, a.button { text-align: center; margin: 0.5rem 0; - &:enabled:hover { - opacity: 0.8; - cursor: pointer; - } - &:disabled { color: lightgray; background-color: gray; @@ -226,6 +221,11 @@ button, a.button { &:not(:disabled) { transition: linear color, background-color 0.1s; + + &:hover { + opacity: 0.8; + cursor: pointer; + } } &:visited { diff --git a/src/web/pages/templates/account.html.j2 b/src/web/pages/templates/account.html.j2 index 5cee286e9..f2a95e59b 100644 --- a/src/web/pages/templates/account.html.j2 +++ b/src/web/pages/templates/account.html.j2 @@ -25,7 +25,7 @@ Your account Your account has no associated email address. {% endif %} {% if email_requirement.may_change() %} - Change your email\ + Change your email {% endif %}
{% endif %} diff --git a/src/web/pages/templates/change_password.html.j2 b/src/web/pages/templates/change_password.html.j2 index 8065dcfab..fbbe51683 100644 --- a/src/web/pages/templates/change_password.html.j2 +++ b/src/web/pages/templates/change_password.html.j2 @@ -20,7 +20,7 @@ Change your password {% when ChangePasswordBody::Success %}- Your password has been changed successfully. Back + Your password has been changed successfully.
{% endmatch %} diff --git a/src/web/pages/templates/error.html.j2 b/src/web/pages/templates/error.html.j2 index 4f38adc72..783963a1e 100644 --- a/src/web/pages/templates/error.html.j2 +++ b/src/web/pages/templates/error.html.j2 @@ -37,6 +37,7 @@ {% endif %}{{ error }}
+ Back to account settings
diff --git a/src/web/pages/templates/login.html.j2 b/src/web/pages/templates/login.html.j2
index 9f118e0bc..6017b6119 100644
--- a/src/web/pages/templates/login.html.j2
+++ b/src/web/pages/templates/login.html.j2
@@ -44,6 +44,9 @@ Log in
+ {% if let Some(error) = login_error %}
+ {{ error }}
+ {% endif %}
To reset your password, contact your homeserver's administrator.
+ Back to account settings {% endmatch %} {%- endblock -%}