mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
calibre: 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
54b270d8f3
commit
1212504a10
@ -4,6 +4,7 @@
|
|||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block configuration %}
|
{% block configuration %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
@ -13,7 +14,7 @@
|
|||||||
<div class="btn-toolbar">
|
<div class="btn-toolbar">
|
||||||
<a href="{% url 'calibre:create-library' %}" class="btn btn-default"
|
<a href="{% url 'calibre:create-library' %}" class="btn btn-default"
|
||||||
role="button" title="{% trans 'Create Library' %}">
|
role="button" title="{% trans 'Create Library' %}">
|
||||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
{% icon 'plus' %}
|
||||||
{% trans 'Create Library' %}
|
{% trans 'Create Library' %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -35,7 +36,7 @@
|
|||||||
<a href="{% url 'calibre:delete-library' library %}"
|
<a href="{% url 'calibre:delete-library' library %}"
|
||||||
class="btn btn-default btn-sm secondary" role="button"
|
class="btn btn-default btn-sm secondary" role="button"
|
||||||
title="{% blocktrans %}Delete library {{ library }}{% endblocktrans %}">
|
title="{% blocktrans %}Delete library {{ library }}{% endblocktrans %}">
|
||||||
<span class="fa fa-trash-o" aria-hidden="true"></span>
|
{% icon 'trash-o' %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user