Skip to content
Snippets Groups Projects
Commit 0c91f07f authored by Julian's avatar Julian
Browse files

Use colored waves on password reset button

parent c70e167e
No related branches found
No related tags found
1 merge request!905Resolve "Improve mobile design of login page"
Pipeline #53758 passed
...@@ -942,13 +942,9 @@ $person-logo-size: 20vh; ...@@ -942,13 +942,9 @@ $person-logo-size: 20vh;
.login-card-action { .login-card-action {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
row-gap: 10px; row-gap: 0.7rem;
& *:last-child { & *:last-child {
grid-column: -2; grid-column: -2;
text-align: center; text-align: center;
} }
} }
p.action-margin>a, p.action-margin>button {
margin-bottom: 10px;
}
{% load i18n socialaccount %} {% load i18n socialaccount %}
<p class="action-margin"> <p>
{% get_providers as socialaccount_providers %} {% get_providers as socialaccount_providers %}
{% if socialaccount_providers %} {% if socialaccount_providers %}
{% for provider in socialaccount_providers %} {% for provider in socialaccount_providers %}
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{% for brand in provider.get_brands %} {% for brand in provider.get_brands %}
<a title="{{brand.name}}" <a title="{{brand.name}}"
class="socialaccount_provider {{provider.id}} {{brand.id}} class="socialaccount_provider {{provider.id}} {{brand.id}}
btn-large waves-effect waves-light primary-color" btn-large waves-effect waves-light primary-color margin-bottom"
href="{% provider_login_url provider.id openid=brand.openid_url process=process %}"> href="{% provider_login_url provider.id openid=brand.openid_url process=process %}">
{% blocktrans with name=brand.name %} {% blocktrans with name=brand.name %}
Login with {{ name }} Login with {{ name }}
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<a title="{{provider.name}}" class="socialaccount_provider {{provider.id}} <a title="{{provider.name}}" class="socialaccount_provider {{provider.id}}
btn hundred-percent waves-effect waves-light primary-color" btn hundred-percent waves-effect waves-light primary-color margin-bottom"
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}"> href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}">
{% blocktrans with name=provider.name %} {% blocktrans with name=provider.name %}
Login with {{ name }} Login with {{ name }}
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<i class="material-icons right">send</i> <i class="material-icons right">send</i>
</button> </button>
{% if request.site.preferences.auth__allow_password_change and wizard.steps.current == "auth" %} {% if request.site.preferences.auth__allow_password_change and wizard.steps.current == "auth" %}
<a href="{% url "account_reset_password" %}" class="btn-flat right waves-effect waves-light"> <a href="{% url "account_reset_password" %}" class="btn-flat right waves-effect waves-red">
{% trans "Reset password" %} {% trans "Reset password" %}
</a> </a>
{% endif %} {% endif %}
...@@ -109,9 +109,10 @@ ...@@ -109,9 +109,10 @@
<div class="card-title">{% trans "Device currently not available?" %}</div> <div class="card-title">{% trans "Device currently not available?" %}</div>
{% if other_devices %} {% if other_devices %}
<p>{% trans "Or, alternatively, use one of your backup phones:" %}</p> <p>{% trans "Or, alternatively, use one of your backup phones:" %}</p>
<p class="action-margin"> <p>
{% for other in other_devices %} {% for other in other_devices %}
<button name="challenge_device" value="{{ other.persistent_id }}" class="btn" type="submit"> <button name="challenge_device" value="{{ other.persistent_id }}" class="btn margin-bottom"
type="submit">
{{ other|device_action }} {{ other|device_action }}
</button> </button>
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment