ikiwiki: 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:
Sunil Mohan Adapa 2026-03-11 22:37:13 -07:00 committed by James Valleroy
parent acd5477b11
commit 165828934e
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -5,6 +5,7 @@
{% load bootstrap %}
{% load i18n %}
{% load plinth_extras %}
{% block configuration %}
{{ block.super }}
@ -14,7 +15,7 @@
<div class="btn-toolbar">
<a href="{% url 'ikiwiki:create' %}" class="btn btn-default"
role="button" title="{% trans 'Create Wiki or Blog' %}">
<span class="fa fa-plus" aria-hidden="true"></span>
{% icon 'plus' %}
{% trans 'Create Wiki or Blog' %}
</a>
</div>
@ -36,8 +37,7 @@
class="btn btn-default btn-sm secondary"
role="button"
title="{% blocktrans with site=site.1 %}Delete site {{ site }}{% endblocktrans %}">
<span class="fa fa-trash-o"
aria-hidden="true"></span>
{% icon 'trash-o' %}
</a>
</div>
{% endfor %}