mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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 bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block configuration %}
|
{% block configuration %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
@ -14,7 +15,7 @@
|
|||||||
<div class="btn-toolbar">
|
<div class="btn-toolbar">
|
||||||
<a href="{% url 'bepasty:add' %}" class="btn btn-default"
|
<a href="{% url 'bepasty:add' %}" class="btn btn-default"
|
||||||
role="button" title="{% trans 'Add password' %}">
|
role="button" title="{% trans 'Add password' %}">
|
||||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
{% icon 'plus' %}
|
||||||
{% trans 'Add password' %}
|
{% trans 'Add password' %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -43,8 +44,10 @@
|
|||||||
<form class="form form-inline" method="post"
|
<form class="form form-inline" method="post"
|
||||||
action="{% url 'bepasty:remove' password.password %}">
|
action="{% url 'bepasty:remove' password.password %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button class="password-remove btn btn-sm btn-default fa fa-trash-o"
|
<button class="password-remove btn btn-sm btn-default"
|
||||||
type="submit"></button>
|
type="submit">
|
||||||
|
{% icon 'trash-o' %}
|
||||||
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user