mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-25 09:21:10 +00:00
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:
parent
cc716e20e4
commit
54b270d8f3
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user