From 69cc27557e94f0e9e104e651e6385e01c4a0b621 Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Tue, 17 Oct 2017 02:08:48 +0200 Subject: [PATCH] Add templates for backup database errors --- src/css/dialogs-browse-backups.css | 12 ++++++++++-- src/templates/dialogs/browse-backups.html | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/css/dialogs-browse-backups.css b/src/css/dialogs-browse-backups.css index f617065e..4d6f3a16 100644 --- a/src/css/dialogs-browse-backups.css +++ b/src/css/dialogs-browse-backups.css @@ -56,8 +56,7 @@ height: 90px; } -.browse-backups .session-list-empty, -.browse-backups .snapshot-list-empty { +.browse-backups .centered-message { position: absolute; left: 50%; width: 200px; @@ -68,9 +67,18 @@ font-size: 16px; text-align: center; border: 1px solid; +} + +.browse-backups .session-list-empty, +.browse-backups .snapshot-list-empty { color: #bbb; } +.browse-backups .session-list-error, +.browse-backups .snapshot-list-error { + color: white; +} + .browse-backups .session-item { /* Transition duration should be kept in sync with SelectSession.DELETE_TRANSITION_DURATION */ transition: all 500ms; diff --git a/src/templates/dialogs/browse-backups.html b/src/templates/dialogs/browse-backups.html index 4181097b..1b991b6e 100644 --- a/src/templates/dialogs/browse-backups.html +++ b/src/templates/dialogs/browse-backups.html @@ -28,7 +28,11 @@ + + + +