mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
templates: Use SVG icons for apps page and shortcuts
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
a931bf3fc5
commit
b6325073c5
3 files changed
+13
-8
No files matched your search
@@ -42,7 +42,7 @@
|
||||
{% if 'fa-' in item.icon %}
|
||||
<span class="fa {{ item.icon }}"></span>
|
||||
{% else %}
|
||||
<img src="{% static 'theme/icons/' %}{{ item.icon }}.png"/>
|
||||
<img src="{% static 'theme/icons/' %}{{ item.icon }}.svg"/>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="card-description">{{ item.short_description}}</div>
|
||||
@@ -68,7 +68,7 @@
|
||||
{% if 'fa-' in item.icon %}
|
||||
<span class="fa {{ item.icon }}"></span>
|
||||
{% else %}
|
||||
<img src="{% static 'theme/icons/' %}{{ item.icon }}.png"/>
|
||||
<img src="{% static 'theme/icons/' %}{{ item.icon }}.svg"/>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="card-description">{{ item.short_description}}</div>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
{% if "custom" in shortcut.icon %}
|
||||
<img src="{{ shortcut.icon }}"/>
|
||||
{% else %}
|
||||
<img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.png"/>
|
||||
<img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.svg"/>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="card-description">
|
||||
|
||||
Reference in new issue
Block a user