mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
ui: Use inline SVG icons for app toolbar
Tests: - The icons appears as before in toolbar in 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
80730bc9b3
commit
a951b5f606
@ -3,6 +3,7 @@
|
|||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block toolbar %}
|
{% block toolbar %}
|
||||||
|
|
||||||
@ -15,9 +16,9 @@
|
|||||||
<a target="_blank" rel="noopener noreferrer"
|
<a target="_blank" rel="noopener noreferrer"
|
||||||
class="btn btn-default button-secondary button-donate" role="button"
|
class="btn btn-default button-secondary button-donate" role="button"
|
||||||
href="{{ app_info.donation_url }}">
|
href="{{ app_info.donation_url }}">
|
||||||
<span class="fa fa-heart"></span>
|
{% icon 'heart' %}
|
||||||
{% trans "Donate" %}
|
{% trans "Donate" %}
|
||||||
<span class="fa fa-external-link"></span>
|
{% icon 'external-link' %}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -27,7 +28,7 @@
|
|||||||
<button type="button" class="btn btn-default dropdown-toggle"
|
<button type="button" class="btn btn-default dropdown-toggle"
|
||||||
data-bs-toggle="dropdown" aria-haspopup="true"
|
data-bs-toggle="dropdown" aria-haspopup="true"
|
||||||
aria-expanded="false" id="id_extra_actions_button">
|
aria-expanded="false" id="id_extra_actions_button">
|
||||||
<span class="fa fa-cog" aria-hidden="true"></span>
|
{% icon 'cog' %}
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu" aria-labelledby="id_extra_actions_button">
|
<div class="dropdown-menu" aria-labelledby="id_extra_actions_button">
|
||||||
{% if has_diagnostics %}
|
{% if has_diagnostics %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user