From bd5b1730bce345c7a836cf6b13148e0cc5014e22 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 12 Mar 2026 12:14:55 -0700 Subject: [PATCH] backups: 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/backups/templates/backups.html | 9 ++++---- .../backups_add_remote_repository.html | 3 ++- .../backups/templates/backups_repository.html | 21 +++++++++---------- .../backups/templates/backups_upload.html | 3 ++- .../backups/templates/verify_ssh_hostkey.html | 3 ++- static/themes/default/css/main.css | 2 +- 6 files changed, 22 insertions(+), 19 deletions(-) diff --git a/plinth/modules/backups/templates/backups.html b/plinth/modules/backups/templates/backups.html index 2a7aa5965..cf5393a4d 100644 --- a/plinth/modules/backups/templates/backups.html +++ b/plinth/modules/backups/templates/backups.html @@ -5,6 +5,7 @@ {% load i18n %} {% load static %} +{% load plinth_extras %} {% block page_head %} - + {% icon 'plus' %} {% trans 'Create Backup' %} - + {% icon 'upload' %} {% trans 'Upload and Restore' %} - + {% icon 'plus' %} {% trans 'Add Backup Location' %} - + {% icon 'plus' %} {% trans 'Add Remote Backup Location' %} diff --git a/plinth/modules/backups/templates/backups_add_remote_repository.html b/plinth/modules/backups/templates/backups_add_remote_repository.html index 83a7d7770..dc2a327a2 100644 --- a/plinth/modules/backups/templates/backups_add_remote_repository.html +++ b/plinth/modules/backups/templates/backups_add_remote_repository.html @@ -6,6 +6,7 @@ {% load bootstrap %} {% load i18n %} {% load static %} +{% load plinth_extras %} {% block page_js %}