mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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 i18n %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block page_head %}
|
{% block page_head %}
|
||||||
<link type="text/css" rel="stylesheet"
|
<link type="text/css" rel="stylesheet"
|
||||||
@ -57,13 +58,15 @@
|
|||||||
<td class="share-operations">
|
<td class="share-operations">
|
||||||
<a class="share-edit btn btn-sm btn-default"
|
<a class="share-edit btn btn-sm btn-default"
|
||||||
href="{% url 'sharing:edit' share.name %}">
|
href="{% url 'sharing:edit' share.name %}">
|
||||||
<span class="fa fa-pencil-square-o" aria-hidden="true"></span>
|
{% icon 'pencil-square-o' %}
|
||||||
</a>
|
</a>
|
||||||
<form class="form" method="post"
|
<form class="form" method="post"
|
||||||
action="{% url 'sharing:remove' share.name %}">
|
action="{% url 'sharing:remove' share.name %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button class="share-remove btn btn-sm btn-default fa fa-trash-o"
|
<button class="share-remove btn btn-sm btn-default"
|
||||||
type="submit"></button>
|
type="submit">
|
||||||
|
{% icon 'trash-o' %}
|
||||||
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user