From cef967de8e71d9600bc821fce68d31dba471595b Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Wed, 16 Jun 2021 14:06:05 +0200 Subject: [PATCH] related to #1265 edit guest user popin done properly --- admin/themes/default/template/user_list.tpl | 20 ++++++++++++++------ admin/themes/roma/theme.css | 4 ++++ include/config_default.inc.php | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl index 16f6ba991..d6c842cbe 100644 --- a/admin/themes/default/template/user_list.tpl +++ b/admin/themes/default/template/user_list.tpl @@ -767,7 +767,7 @@ update_selection_content();
-
+
{'Update'|@translate} {'Close'|@translate} {'User updated'|@translate} @@ -1231,6 +1231,10 @@ update_selection_content(); font-size:1em; } +#guest-msg { + max-width: 835px; +} + .UserListPopIn{ position: fixed; z-index: 100; @@ -1251,7 +1255,7 @@ update_selection_content(); text-align:left; padding:20px; display:flex; - width:870px + width:840px } .summary-properties-update-container { @@ -1279,11 +1283,16 @@ update_selection_content(); padding: 0 20px } -.update-container { +.UserListPopInContainer .update-container { padding-right:20px; padding-top:30px; } +.GuestUserListPopInContainer .update-container { + padding-right:20px; + padding-top:20px; +} + .preferences-container { width:250px; padding-left:20px; @@ -1646,11 +1655,10 @@ update_selection_content(); top: 50%; transform:translate(-50%, -48%); text-align:left; - padding:10px; display:flex; background-color:white; - padding:30px; - width:1020px; + padding:20px; + width:840px; flex-direction:column; border-radius:15px; } diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 954713a31..fac41d664 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -728,6 +728,10 @@ input:focus + .slider { visibility: hidden; } +.GuestUserListPopInContainer{ + background-color:#444 !important; +} + /*Edit user popin*/ .user_form_popin .ui-slider-horizontal .ui-slider-handle{ diff --git a/include/config_default.inc.php b/include/config_default.inc.php index b7cc9ca4c..15b5558f2 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -436,7 +436,7 @@ $conf['session_gc_probability'] = 1; // number of photos beyond which individual photos are added in the // lounge, a temporary zone where photos wait before being "launched". // 50k photos by default. -$conf['lounge_activate_threshold'] = 50000; +$conf['lounge_activate_threshold'] = 1; // Lounge is automatically emptied (photos are being pushed to their // albums) when the oldest one reaches this duration. Lounge can be emptied