From 941b586cb9b3e57b4240a779c015223b5ff037f1 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 11 Mar 2026 22:16:02 -0700 Subject: [PATCH] wireguard: Use inline SVG icons Tests: - All the icons appear as before in both light/dark themes. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/wireguard/templates/wireguard.html | 7 ++++--- .../modules/wireguard/templates/wireguard_show_client.html | 5 +++-- .../modules/wireguard/templates/wireguard_show_server.html | 5 +++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/plinth/modules/wireguard/templates/wireguard.html b/plinth/modules/wireguard/templates/wireguard.html index 2e474ed34..e100f5dfc 100644 --- a/plinth/modules/wireguard/templates/wireguard.html +++ b/plinth/modules/wireguard/templates/wireguard.html @@ -5,6 +5,7 @@ {% load bootstrap %} {% load i18n %} +{% load plinth_extras %} {% block configuration %}

{% trans "As a Server" %}

@@ -87,7 +88,7 @@ - + {% icon 'plus' %} {% trans "Add Allowed Client" %} @@ -98,7 +99,7 @@ {% csrf_token %} @@ -151,7 +152,7 @@ - + {% icon 'plus' %} {% trans "Add Connection to Server" %} diff --git a/plinth/modules/wireguard/templates/wireguard_show_client.html b/plinth/modules/wireguard/templates/wireguard_show_client.html index 0cb0c5d5e..3f979116e 100644 --- a/plinth/modules/wireguard/templates/wireguard_show_client.html +++ b/plinth/modules/wireguard/templates/wireguard_show_client.html @@ -4,6 +4,7 @@ {% endcomment %} {% load i18n %} +{% load plinth_extras %} {% block content %} @@ -72,12 +73,12 @@ diff --git a/plinth/modules/wireguard/templates/wireguard_show_server.html b/plinth/modules/wireguard/templates/wireguard_show_server.html index f0f306c95..8bfe0fe78 100644 --- a/plinth/modules/wireguard/templates/wireguard_show_server.html +++ b/plinth/modules/wireguard/templates/wireguard_show_server.html @@ -4,6 +4,7 @@ {% endcomment %} {% load i18n %} +{% load plinth_extras %} {% block content %} @@ -80,12 +81,12 @@