From 62dad9336b92fd3cc27353d1920a8f9e99396fe1 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 13 Nov 2024 16:30:57 -0800 Subject: [PATCH] ui: Use Bootstrap 5 styling for all alerts - Ensure that .sr-only is replaced with newer classes. - Ensure that icons are present for all alerts. - Use flex-box for display of icons on the left center of the alert. - .close has been renamed to .btn-close. - × is no longer required for close buttons. Tests: - Visually verify all the changes by triggering them with code changes. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- .../backups_add_remote_repository.html | 20 ++-- .../backups/templates/backups_upload.html | 18 ++-- .../backups/templates/verify_ssh_hostkey.html | 8 +- .../templates/diagnostics_app.html | 10 +- .../templates/diagnostics_full.html | 10 +- plinth/modules/help/templates/help_about.html | 42 +++++--- plinth/modules/help/templates/statuslog.html | 20 ++-- .../kiwix/templates/kiwix-add-package.html | 14 ++- .../templates/matrix-synapse-pre-setup.html | 17 +++- .../templates/matrix-synapse.html | 22 +++-- plinth/modules/names/templates/names.html | 10 +- .../networks/templates/connection_show.html | 95 +++++++++++-------- .../templates/connections_fields.html | 13 ++- plinth/modules/nextcloud/__init__.py | 12 ++- .../templates/pagekite_custom_services.html | 19 ++-- plinth/modules/power/templates/power.html | 16 +++- .../power/templates/power_restart.html | 16 +++- .../power/templates/power_shutdown.html | 16 +++- .../templates/snapshot_not_supported.html | 18 ++-- .../templates/backports-firstboot.html | 16 +++- .../templates/upgrades_configure.html | 20 ++-- .../users/templates/users_firstboot.html | 14 ++- plinth/templates/app.html | 14 ++- plinth/templates/internal-zone.html | 48 ++++++---- plinth/templates/messages.html | 31 ++++-- plinth/templates/setup.html | 44 +++++---- 26 files changed, 390 insertions(+), 193 deletions(-) diff --git a/plinth/modules/backups/templates/backups_add_remote_repository.html b/plinth/modules/backups/templates/backups_add_remote_repository.html index 9065216f0..f2c0eacab 100644 --- a/plinth/modules/backups/templates/backups_add_remote_repository.html +++ b/plinth/modules/backups/templates/backups_add_remote_repository.html @@ -15,13 +15,19 @@ {{ form|bootstrap }} -