mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
dynamicdns: 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
941b586cb9
commit
7c07126fe9
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block extra_content %}
|
{% block extra_content %}
|
||||||
<h3>{% trans "Domains" %}</h3>
|
<h3>{% trans "Domains" %}</h3>
|
||||||
@ -12,7 +13,7 @@
|
|||||||
<div class="btn-toolbar">
|
<div class="btn-toolbar">
|
||||||
<a href="{% url 'dynamicdns:domain-add' %}" class="btn btn-primary"
|
<a href="{% url 'dynamicdns:domain-add' %}" class="btn btn-primary"
|
||||||
role="button" title="{% trans 'Add Domain' %}">
|
role="button" title="{% trans 'Add Domain' %}">
|
||||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
{% icon 'plus' %}
|
||||||
{% trans 'Add Domain' %}
|
{% trans 'Add Domain' %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -72,14 +73,14 @@
|
|||||||
title="{% blocktrans trimmed with domain=domain.domain %}
|
title="{% blocktrans trimmed with domain=domain.domain %}
|
||||||
Edit domain {{ domain }}
|
Edit domain {{ domain }}
|
||||||
{% endblocktrans %}">
|
{% endblocktrans %}">
|
||||||
<span class="fa fa-pencil-square-o" aria-hidden="true"></span>
|
{% icon 'pencil-square-o' %}
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url 'dynamicdns:domain-delete' domain.domain %}"
|
<a href="{% url 'dynamicdns:domain-delete' domain.domain %}"
|
||||||
class="btn btn-default btn-sm domain-delete" role="button"
|
class="btn btn-default btn-sm domain-delete" role="button"
|
||||||
title="{% blocktrans trimmed with domain=domain.main %}
|
title="{% blocktrans trimmed with domain=domain.main %}
|
||||||
Delete domain {{ domain }}
|
Delete domain {{ domain }}
|
||||||
{% endblocktrans %}">
|
{% endblocktrans %}">
|
||||||
<span class="fa fa-trash" aria-hidden="true"></span>
|
{% icon 'trash' %}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user