From 713cba76f05dd9293868440073bb5f039a79fc67 Mon Sep 17 00:00:00 2001 From: librelad Date: Thu, 28 May 2026 01:36:00 +0100 Subject: [PATCH] ux(backup): match per-app Backups tab action buttons to the config Save style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Backup now" and "Open backup center" looked off compared to the rest of the app page — the secondary link sat underlined with a trailing arrow glyph instead of a real button, and neither carried an icon. Re-skins both to use the .btn .btn-primary / .btn .btn-secondary pattern the config Save / Reset buttons use, so the three action surfaces on an app page read as one family. Backup now .btn .btn-primary + upload-cloud SVG (16x16) Open backup center .btn .btn-secondary + external-link SVG (16x16) The "Open backup center" link is now SPA-routed (preventDefault + call navigateToRoute) so clicking it doesn't trigger a full page reload — same behaviour as the deep-link cells in the global Snapshots table. href is still /backup so cmd/ctrl-click and right-click → open-in-new-tab still work the natural way. Applied to both apps-unified-layout.html and the legacy app-content.html since the existing app-page surface lives in both templates. Signed-off-by: librelad --- .../libreportal/frontend/html/app-content.html | 18 ++++++++++++++++-- .../frontend/html/apps-unified-layout.html | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/containers/libreportal/frontend/html/app-content.html b/containers/libreportal/frontend/html/app-content.html index 88335b0..991c74f 100755 --- a/containers/libreportal/frontend/html/app-content.html +++ b/containers/libreportal/frontend/html/app-content.html @@ -85,8 +85,22 @@

Backups for this app across all configured locations.

- - Open backup center → + + + + Open backup center +
diff --git a/containers/libreportal/frontend/html/apps-unified-layout.html b/containers/libreportal/frontend/html/apps-unified-layout.html index 5f3ef5d..e1812df 100755 --- a/containers/libreportal/frontend/html/apps-unified-layout.html +++ b/containers/libreportal/frontend/html/apps-unified-layout.html @@ -185,8 +185,22 @@

Backups for this app across all configured locations.

- - Open backup center → + + + + Open backup center +