mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
tiddlywiki: Use inline SVG icons for app
Tests: - The icons appears as before in the app page in light/dark themes. Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
536c4bb30b
commit
72dd357d43
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block configuration %}
|
{% block configuration %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
@ -14,12 +15,12 @@
|
|||||||
<div class="btn-toolbar">
|
<div class="btn-toolbar">
|
||||||
<a href="{% url 'tiddlywiki:create' %}" class="btn btn-default"
|
<a href="{% url 'tiddlywiki:create' %}" class="btn btn-default"
|
||||||
role="button" title="{% trans 'Create Wiki' %}">
|
role="button" title="{% trans 'Create Wiki' %}">
|
||||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
{% icon 'plus' %}
|
||||||
{% trans 'Create Wiki' %}
|
{% trans 'Create Wiki' %}
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'tiddlywiki:upload' %}" class="btn btn-default"
|
<a href="{% url 'tiddlywiki:upload' %}" class="btn btn-default"
|
||||||
role="button" title="{% trans 'Upload Wiki' %}">
|
role="button" title="{% trans 'Upload Wiki' %}">
|
||||||
<span class="fa fa-upload" aria-hidden="true"></span>
|
{% icon 'upload' %}
|
||||||
{% trans 'Upload Wiki' %}
|
{% trans 'Upload Wiki' %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -41,14 +42,14 @@
|
|||||||
class="wiki-edit btn btn-default btn-sm secondary"
|
class="wiki-edit btn btn-default btn-sm secondary"
|
||||||
role="button"
|
role="button"
|
||||||
title="{% blocktrans %}Rename wiki {{ wiki }}{% endblocktrans %}">
|
title="{% blocktrans %}Rename wiki {{ wiki }}{% endblocktrans %}">
|
||||||
<span class="fa fa-pencil-square-o" aria-hidden="true"></span>
|
{% icon 'pencil-square-o' %}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="{% url 'tiddlywiki:delete' wiki %}"
|
<a href="{% url 'tiddlywiki:delete' wiki %}"
|
||||||
class="wiki-delete btn btn-default btn-sm secondary"
|
class="wiki-delete btn btn-default btn-sm secondary"
|
||||||
role="button"
|
role="button"
|
||||||
title="{% blocktrans %}Delete wiki {{ wiki }}{% endblocktrans %}">
|
title="{% blocktrans %}Delete wiki {{ wiki }}{% endblocktrans %}">
|
||||||
<span class="fa fa-trash-o" aria-hidden="true"></span>
|
{% icon 'trash-o' %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user