mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Use inline SVG icons for system and help section page
Tests: - All the icons appear as before. - They change colors in light/dark mode. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
d02154e2f0
commit
aed23630fb
27 files changed
+258
-4
No files matched your search
@@ -10,7 +10,7 @@
|
||||
<a href="{{ item.url }}">
|
||||
<div class="card-icon">
|
||||
{% if 'fa-' in item.icon %}
|
||||
<span class="fa {{ item.icon }}"></span>
|
||||
{% icon item.icon|slice:"3:" class='card-icon' %}
|
||||
{% else %}
|
||||
{% if item.app_id %}
|
||||
{% icon item.app_id|add:'/icons/'|add:item.icon|add:'.svg' class='card-icon' %}
|
||||
|
||||
Reference in new issue
Block a user