Improve toolbar admin sections

This commit is contained in:
Hadi Nategh 2019-09-25 11:17:44 +02:00
parent 33682e4824
commit 9b4f6a8349
5 changed files with 14 additions and 7 deletions

View File

@ -709,8 +709,8 @@ var et2_toolbar = (function(){ "use strict"; return et2_DOMWidget.extend([et2_II
_admin_settings_dialog: function (_actions, _default_prefs)
{
var buttons = [
{text: egw.lang("Close"), id:"close"},
{text: egw.lang("Save"), id:"save"},
{text: egw.lang("Close"), id:"close"}
];
var self = this;
var sel_options = {actions:[]};
@ -767,7 +767,7 @@ var et2_toolbar = (function(){ "use strict"; return et2_DOMWidget.extend([et2_II
},
title: egw.lang('admin settings for %1', this.dom_id),
buttons: buttons,
minWidth: 500,
minWidth: 600,
minHeight: 300,
value:{content: content, sel_options: sel_options},
template: egw.webserverUrl+'/api/templates/default/toolbarAdminSettings.xet?1',

View File

@ -350,7 +350,7 @@ class calendar_uiviews extends calendar_ui
),
'weekend' => array(
'caption' => 'Weekend',
'icon' => 'weekend',
'icon' => '7_day_view',
'checkbox' => true,
'checked' => $this->cal_prefs['saved_states']['weekend'],
'group' => $group,

View File

@ -1543,3 +1543,5 @@ img.calendar_print_button, img.calendar_print_appicon {
.category_report_cats {height:80%;overflow-y: auto;display:block;}
#calendar-category_report_grid {display:block;max-height: 550px;overflow-y: auto;}
#toolbar-weekend {background-image: none !important}

View File

@ -1518,6 +1518,9 @@ img.calendar_print_appicon {
max-height: 550px;
overflow-y: auto;
}
#toolbar-weekend {
background-image: none !important;
}
/*generell*/
.egw_fw_content_browser_iframe img[src$="svg"] {
background-color: #828282 !important;

View File

@ -167,7 +167,6 @@ div.calendar_conflicts {
width: 22px;
height: 22px;
}
/* Loader - hide sizing behind overlay*/
#egw-loadin-prompt_calendar::before {
opacity: 1;
@ -1511,6 +1510,9 @@ img.calendar_print_appicon {
max-height: 550px;
overflow-y: auto;
}
#toolbar-weekend {
background-image: none !important;
}
/*generell*/
.egw_fw_content_browser_iframe img[src$="svg"] {
background-color: #828282 !important;