mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-25 09:21:10 +00:00
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:
parent
5533ac419a
commit
fbdd0c269d
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user