Replace "usb" icons with "user-key" for WebAuthn buttons; refine button styles and layouts across templates

This commit is contained in:
2026-07-14 00:31:22 +02:00
parent bf86654e72
commit 1dd2e5099f
8 changed files with 54 additions and 56 deletions

View File

@@ -19,7 +19,7 @@
{% endslot %}
{% slot actions %}
{# type="button": the webauthn script takes over the click and posts the form itself. #}
{% element button id="mfa_webauthn_add" type="button" icon="usb" %}
{% element button id="mfa_webauthn_add" type="button" icon="user-key" %}
{% trans "Add" %}
{% endelement %}
{% endslot %}

View File

@@ -66,7 +66,7 @@
{% endelement %}
{% endif %}
{% url 'mfa_add_webauthn' as add_url %}
{% element button href=add_url icon="usb" %}
{% element button href=add_url icon="user-key" %}
{% translate "Add" %}
{% endelement %}
{% endblock %}