Merge branch 'ent-7697-varios-bugs-visuales-en-modal-de-configuracion-de-widget-metaconsola' into 'develop'
Fix widgets style bugs See merge request artica/pandorafms!4272
This commit is contained in:
commit
f78d2e8a4b
|
@ -1935,7 +1935,7 @@ function html_print_extended_select_for_time(
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
// Use the no_meta parameter because this image is only in the base console.
|
// Use the no_meta parameter because this image is only in the base console.
|
||||||
echo '<div id="'.$uniq_name.'_default" class="wauto inline_line">';
|
echo '<div id="'.$uniq_name.'_default" class="wauto inline_flex">';
|
||||||
html_print_select(
|
html_print_select(
|
||||||
$fields,
|
$fields,
|
||||||
$uniq_name.'_select',
|
$uniq_name.'_select',
|
||||||
|
@ -4814,7 +4814,11 @@ function html_print_input($data, $wrapper='div', $input_only=false)
|
||||||
((isset($data['size']) === true) ? $data['size'] : false),
|
((isset($data['size']) === true) ? $data['size'] : false),
|
||||||
((isset($data['return']) === true) ? $data['return'] : false),
|
((isset($data['return']) === true) ? $data['return'] : false),
|
||||||
((isset($data['style']) === true) ? $data['selected'] : false),
|
((isset($data['style']) === true) ? $data['selected'] : false),
|
||||||
((isset($data['unique']) === true) ? $data['unique'] : false)
|
((isset($data['unique']) === true) ? $data['unique'] : false),
|
||||||
|
((isset($data['class']) === true) ? $data['class'] : ''),
|
||||||
|
((isset($data['readonly']) === true) ? $data['readonly'] : false),
|
||||||
|
((isset($data['custom_fields']) === true) ? $data['custom_fields'] : false),
|
||||||
|
((isset($data['style_icon']) === true) ? $data['style_icon'] : '')
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -5738,7 +5738,7 @@ function ui_print_agent_autocomplete_input($parameters)
|
||||||
}
|
}
|
||||||
|
|
||||||
$attrs = [];
|
$attrs = [];
|
||||||
$attrs['style'] = 'background: url('.$icon_image.') no-repeat right; '.$text_color.'';
|
$attrs['style'] = 'padding-right: 20px; background: url('.$icon_image.') no-repeat right; '.$text_color.'';
|
||||||
|
|
||||||
if (!$disabled_javascript_on_blur_function) {
|
if (!$disabled_javascript_on_blur_function) {
|
||||||
$attrs['onblur'] = $javascript_on_blur_function_name.'()';
|
$attrs['onblur'] = $javascript_on_blur_function_name.'()';
|
||||||
|
|
|
@ -354,6 +354,7 @@ class CustomGraphWidget extends Widget
|
||||||
'value' => $values['period'],
|
'value' => $values['period'],
|
||||||
'nothing' => __('None'),
|
'nothing' => __('None'),
|
||||||
'nothing_value' => 0,
|
'nothing_value' => 0,
|
||||||
|
'style_icon' => 'flex-grow: 0',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -325,6 +325,8 @@ class GraphModuleHistogramWidget extends Widget
|
||||||
'value' => $values['period'],
|
'value' => $values['period'],
|
||||||
'nothing' => __('None'),
|
'nothing' => __('None'),
|
||||||
'nothing_value' => 0,
|
'nothing_value' => 0,
|
||||||
|
'style_icon' => 'flex-grow: 0',
|
||||||
|
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -310,6 +310,7 @@ class SingleGraphWidget extends Widget
|
||||||
'value' => $values['period'],
|
'value' => $values['period'],
|
||||||
'nothing' => __('None'),
|
'nothing' => __('None'),
|
||||||
'nothing_value' => 0,
|
'nothing_value' => 0,
|
||||||
|
'style_icon' => 'flex-grow: 0',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -335,6 +335,7 @@ class SLAPercentWidget extends Widget
|
||||||
'value' => $values['period'],
|
'value' => $values['period'],
|
||||||
'nothing' => __('None'),
|
'nothing' => __('None'),
|
||||||
'nothing_value' => 0,
|
'nothing_value' => 0,
|
||||||
|
'style_icon' => 'flex-grow: 0',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -240,6 +240,7 @@ class TopNWidget extends Widget
|
||||||
'value' => $values['period'],
|
'value' => $values['period'],
|
||||||
'nothing' => __('None'),
|
'nothing' => __('None'),
|
||||||
'nothing_value' => 0,
|
'nothing_value' => 0,
|
||||||
|
'style_icon' => 'flex-grow: 0',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue