diff --git a/containers/libreportal/frontend/css/backup.css b/containers/libreportal/frontend/css/backup.css index 124a51b..ea0fc4e 100755 --- a/containers/libreportal/frontend/css/backup.css +++ b/containers/libreportal/frontend/css/backup.css @@ -1219,6 +1219,74 @@ only backup-specific styling is the location pill colour, the ID chip, the deep-link highlight flash, and the inline tags. ============================================================ */ + +/* Tab shell — mirrors .services-section / .tasks-section so the + three app-detail tabs share one visual idiom: padding 0 here, + the title block provides its own 20px inset, the snapshots get + a recessed dark container of their own. */ +.backup-section { + display: flex; + flex-direction: column; + padding: 0; +} + +/* Header row — title left, action buttons right (Backup now / + Open backup center). Pinned at the top of the pane regardless of + scroll so the primary actions stay reachable when the snapshot + list grows. Same shape services-title uses for its Advanced + toggle. */ +.backup-title { + padding: 20px; + background: transparent; + border-bottom: 1px solid var(--border-color); + margin-bottom: 0; + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 16px; +} +.backup-title-main { flex: 1; min-width: 0; } +.backup-title h3 { + margin: 0 0 8px 0; + color: var(--text-primary, #fff); + font-size: 18px; + font-weight: 600; +} +.backup-title p { + margin: 0; + color: var(--text-secondary, #ccc); + font-size: 13px; +} +.backup-title-actions { + display: flex; + gap: 10px; + align-items: center; + flex-shrink: 0; +} + +/* Recessed dark panel wrapping the snapshot list — same recipe as + .tasks-container / .services-rows so all three tabs match. */ +.backup-snapshots-container { + padding: 16px; + margin: 16px; + background: rgba(var(--bg-rgb), 0.2); + border-radius: 8px; +} + +/* Status line above the rows reading "Latest backup 5m ago · N total + across M locations". Set in JS via #backup-app-card-status. */ +.backup-app-card-status { + color: var(--text-secondary, #ccc); + font-size: 13px; + display: flex; + align-items: center; + gap: 8px; + flex-wrap: wrap; +} +.backup-app-card-status .backup-card-hint { + color: rgba(var(--text-rgb), 0.5); +} + .backup-snapshot-rows { display: flex; flex-direction: column; diff --git a/containers/libreportal/frontend/html/app-content.html b/containers/libreportal/frontend/html/app-content.html index d451637..88335b0 100755 --- a/containers/libreportal/frontend/html/app-content.html +++ b/containers/libreportal/frontend/html/app-content.html @@ -79,12 +79,18 @@
-
-
Loading…
-
+
+
+

💾 Backups

+

Backups for this app across all configured locations.

+
+ +
+
+
Loading…
diff --git a/containers/libreportal/frontend/html/apps-unified-layout.html b/containers/libreportal/frontend/html/apps-unified-layout.html index ae3cc8d..5f3ef5d 100755 --- a/containers/libreportal/frontend/html/apps-unified-layout.html +++ b/containers/libreportal/frontend/html/apps-unified-layout.html @@ -180,15 +180,17 @@
-

💾 Backups

-

Backups for this app across all configured locations.

-
-
-
Loading…
-
+
+

💾 Backups

+

Backups for this app across all configured locations.

+
+ +
+
+
Loading…