From 63c1b798db06a080bcc6834140806636879065ac Mon Sep 17 00:00:00 2001 From: pero1203 Date: Thu, 20 Jan 2022 07:45:24 +0100 Subject: [PATCH] Redesign - dodan class z jezikom v body, popravek angleskega gumba za mape --- admin/survey/index.php | 18 +++++++++--------- public/css/admin_new.css | 4 ++++ .../pages/my_surveys/top_filters.scss | 11 +++++------ 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/admin/survey/index.php b/admin/survey/index.php index 05bef851d..103e7dc2f 100644 --- a/admin/survey/index.php +++ b/admin/survey/index.php @@ -173,20 +173,20 @@ } + /**************** BODY ****************/ + // za css - barve ozadja if (isset($_GET['anketa'])) - $cssBodyClass = ' body_anketa'; + $cssBodyClass = 'body_anketa'; else if (isset($_GET['a']) && $_GET['a'] == 'knjiznica' ) - $cssBodyClass = ' body_library'; + $cssBodyClass = 'body_library'; else - $cssBodyClass = ' body_folders'; - - $sql = sisplet_query("SELECT email FROM users WHERE id='$global_user_id'"); - $row = mysqli_fetch_assoc($sql); + $cssBodyClass = 'body_folders'; + + // Class za jezik + $langBodyClass = ($lang['id'] != "1") ? 'eng' : 'slo'; - - /**************** BODY ****************/ - echo ''."\n"; + echo ''."\n"; // Google analytics if($site_domain == 'www.1ka.si'){ diff --git a/public/css/admin_new.css b/public/css/admin_new.css index eeada8515..0c84b1829 100644 --- a/public/css/admin_new.css +++ b/public/css/admin_new.css @@ -11327,6 +11327,10 @@ div .table-horizontal-scroll-wrapper2 table { color: #777777; } +body.eng #survey_list .filters #folderSwitch { + width: 120px; +} + /* Seznam anket pri mojih anketah */ diff --git a/resources/sass/admin_new/pages/my_surveys/top_filters.scss b/resources/sass/admin_new/pages/my_surveys/top_filters.scss index e47055bf3..2dd028f02 100644 --- a/resources/sass/admin_new/pages/my_surveys/top_filters.scss +++ b/resources/sass/admin_new/pages/my_surveys/top_filters.scss @@ -391,11 +391,6 @@ } } } - - // Gumb za mape - #folderSwitch{ - - } } &.advanced_search{ @@ -465,4 +460,8 @@ } } } -} \ No newline at end of file +} + +body.eng #survey_list .filters #folderSwitch{ + width: 120px; +}