From faac8cdd9c2a2367e0af3335213dadc0faabb4d9 Mon Sep 17 00:00:00 2001 From: Joseph Nuthalapati Date: Fri, 26 Jul 2019 17:30:21 +0530 Subject: [PATCH] backups: Make backup location tables collapsible Signed-off-by: Joseph Nuthalapati [sunil@medhas.org Fix incorrectly removed tag in ] Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- plinth/modules/backups/templates/backups_repository.inc | 7 ++++--- static/themes/default/css/plinth.css | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/plinth/modules/backups/templates/backups_repository.inc b/plinth/modules/backups/templates/backups_repository.inc index 6b4752884..94a733b52 100644 --- a/plinth/modules/backups/templates/backups_repository.inc +++ b/plinth/modules/backups/templates/backups_repository.inc @@ -21,10 +21,11 @@ - + - + {% if repository.mounted %} {% for archive in repository.archives %} diff --git a/static/themes/default/css/plinth.css b/static/themes/default/css/plinth.css index d0a9106f5..7f00054cf 100644 --- a/static/themes/default/css/plinth.css +++ b/static/themes/default/css/plinth.css @@ -235,12 +235,12 @@ footer { margin-left: 5px; } -.collapsible-button .fa:before, -.no-js .collapsible-button.collapsed .fa:before { +.collapsible-button .fa-chevron-right:before, +.no-js .collapsible-button.collapsed .fa-chevron-right:before { content: "\f078"; } -.collapsible-button.collapsed .fa:before { +.collapsible-button.collapsed .fa-chevron-right:before { content: "\f054"; }
+ {% if repository.error %}