mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
pagekite: 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
cc13bbb0e3
commit
6bb6969eef
@ -6,6 +6,7 @@
|
|||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block configuration %}
|
{% block configuration %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
@ -15,7 +16,7 @@
|
|||||||
<div class="btn-toolbar">
|
<div class="btn-toolbar">
|
||||||
<a href="{% url 'pagekite:add-custom-service' %}" class="btn btn-default"
|
<a href="{% url 'pagekite:add-custom-service' %}" class="btn btn-default"
|
||||||
role="button" title="{% trans 'Add Custom Service' %}">
|
role="button" title="{% trans 'Add Custom Service' %}">
|
||||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
{% icon 'plus' %}
|
||||||
{% trans 'Add Custom Service' %}
|
{% trans 'Add Custom Service' %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -45,7 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-default"
|
<button type="submit" class="btn btn-default"
|
||||||
title="{% trans "Delete this service" %}">
|
title="{% trans "Delete this service" %}">
|
||||||
<span class="fa fa-trash-o" aria-hidden="true"></span>
|
{% icon 'trash-o' %}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,13 +6,14 @@
|
|||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h3>{% trans 'Add custom PageKite service' %}</h3>
|
<h3>{% trans 'Add custom PageKite service' %}</h3>
|
||||||
|
|
||||||
<div class="alert alert-warning d-flex align-items-center" role="alert">
|
<div class="alert alert-warning d-flex align-items-center" role="alert">
|
||||||
<div class="me-2">
|
<div class="me-2">
|
||||||
<span class="fa fa-exclamation-triangle" aria-hidden="true"></span>
|
{% icon 'exclamation-triangle' %}
|
||||||
<span class="visually-hidden">{% trans "Caution:" %}</span>
|
<span class="visually-hidden">{% trans "Caution:" %}</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user