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