mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
13088-Fix button styles in Custom reports & Go back button onclick
This commit is contained in:
parent
6cbe76f02f
commit
d92471f068
@ -319,7 +319,7 @@ $ActionButtons[] = html_print_button(
|
|||||||
__('Go back'),
|
__('Go back'),
|
||||||
'back',
|
'back',
|
||||||
false,
|
false,
|
||||||
"window.location.href = 'index.php?sec=reporting&sec2=godmode/reporting/graphs'",
|
'history.go(-1)',
|
||||||
[
|
[
|
||||||
'class' => 'sub ok submitButton',
|
'class' => 'sub ok submitButton',
|
||||||
'icon' => 'back',
|
'icon' => 'back',
|
||||||
|
@ -2860,20 +2860,32 @@ if (is_metaconsole() === true) {
|
|||||||
|
|
||||||
if (!empty($style_button_create_custom_graph)) {
|
if (!empty($style_button_create_custom_graph)) {
|
||||||
$style_create = [
|
$style_create = [
|
||||||
'mode' => 'link',
|
'mode' => 'mini',
|
||||||
|
'icon' => 'next',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
'style' => 'display:none',
|
'style' => 'display:none',
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$style_create = [ 'mode' => 'link' ];
|
$style_create = [
|
||||||
|
'mode' => 'mini',
|
||||||
|
'icon' => 'next',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($style_button_edit_custom_graph)) {
|
if (!empty($style_button_edit_custom_graph)) {
|
||||||
$style_edit = [
|
$style_edit = [
|
||||||
'mode' => 'link',
|
'mode' => 'mini',
|
||||||
|
'icon' => 'update',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
'style' => 'display:none',
|
'style' => 'display:none',
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$style_edit = [ 'mode' => 'link' ];
|
$style_edit = [
|
||||||
|
'mode' => 'mini',
|
||||||
|
'icon' => 'update',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
html_print_button(
|
html_print_button(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user