sharing: 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 23:11:18 -07:00 committed by James Valleroy
parent 5533ac419a
commit fbdd0c269d
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -5,6 +5,7 @@
{% load i18n %}
{% load static %}
{% load plinth_extras %}
{% block page_head %}
<link type="text/css" rel="stylesheet"
@ -57,13 +58,15 @@
<td class="share-operations">
<a class="share-edit btn btn-sm btn-default"
href="{% url 'sharing:edit' share.name %}">
<span class="fa fa-pencil-square-o" aria-hidden="true"></span>
{% icon 'pencil-square-o' %}
</a>
<form class="form" method="post"
action="{% url 'sharing:remove' share.name %}">
{% csrf_token %}
<button class="share-remove btn btn-sm btn-default fa fa-trash-o"
type="submit"></button>
<button class="share-remove btn btn-sm btn-default"
type="submit">
{% icon 'trash-o' %}
</button>
</form>
</td>
</tr>