bepasty: Use inline SVG icons

Tests:

- All the icons appear as before in both light/dark themes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2026-03-11 23:02:59 -07:00 committed by James Valleroy
parent cc716e20e4
commit 54b270d8f3
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -5,6 +5,7 @@
{% load bootstrap %}
{% load i18n %}
{% load plinth_extras %}
{% block configuration %}
{{ block.super }}
@ -14,7 +15,7 @@
<div class="btn-toolbar">
<a href="{% url 'bepasty:add' %}" class="btn btn-default"
role="button" title="{% trans 'Add password' %}">
<span class="fa fa-plus" aria-hidden="true"></span>
{% icon 'plus' %}
{% trans 'Add password' %}
</a>
</div>
@ -43,8 +44,10 @@
<form class="form form-inline" method="post"
action="{% url 'bepasty:remove' password.password %}">
{% csrf_token %}
<button class="password-remove btn btn-sm btn-default fa fa-trash-o"
type="submit"></button>
<button class="password-remove btn btn-sm btn-default"
type="submit">
{% icon 'trash-o' %}
</button>
</form>
</td>
</tr>