From 4377c9e6012e6df731dc90c700f225c8d124884e Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Sun, 30 Jul 2017 16:50:06 +0200 Subject: [PATCH] add disclaimer in the browse backups dialog --- src/css/dialogs-browse-backups.css | 27 ++++++++++++++++------- src/templates/dialogs/browse-backups.html | 11 ++++++++- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/css/dialogs-browse-backups.css b/src/css/dialogs-browse-backups.css index 94ef0772..16b431d2 100644 --- a/src/css/dialogs-browse-backups.css +++ b/src/css/dialogs-browse-backups.css @@ -19,6 +19,10 @@ height: 10px; flex-grow: 1; background: #444; + + padding: 20px; + overflow: auto; + box-sizing: border-box; } .backups-step-actions { @@ -34,13 +38,20 @@ margin-top: -250px; } -.browse-backups .session-list, -.browse-backups .snapshot-list { - width: 100%; - padding: 20px; - overflow: auto; - height: 100%; - box-sizing: border-box; +.browse-backups .browse-backups-disclaimer { + display: flex; + margin-bottom: 20px; + align-items: center; +} + +.browse-backups .browse-backups-disclaimer-content { + padding: 0 20px; + font-size: 13px; +} + +.browse-backups .browse-backups-disclaimer > img { + border: 1px solid gold; + flex-shrink: 0; } .browse-backups .session-item { @@ -80,7 +91,7 @@ } .browse-backups .session-details-title { - font-weight: bold; + font-size: 13px; } .browse-backups .session-details-info { diff --git a/src/templates/dialogs/browse-backups.html b/src/templates/dialogs/browse-backups.html index 0ac09459..a66be2ea 100644 --- a/src/templates/dialogs/browse-backups.html +++ b/src/templates/dialogs/browse-backups.html @@ -5,13 +5,22 @@ X
-