From ab9bbce1ed48924f7830af2d04577173c6772e34 Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Tue, 17 Oct 2017 02:08:48 +0200 Subject: [PATCH 1/3] 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 f617065eb..4d6f3a167 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 4181097bc..1b991b6ef 100644 --- a/src/templates/dialogs/browse-backups.html +++ b/src/templates/dialogs/browse-backups.html @@ -28,7 +28,11 @@

+ + + +