fixed visual black theme error
This commit is contained in:
commit
85037693b2
|
@ -910,7 +910,7 @@ if ($agents !== false) {
|
|||
echo ' onClick="if (!confirm(\' '.__('You are going to enable a cluster agent. Are you sure?').'\')) return false;">';
|
||||
}
|
||||
|
||||
echo html_print_image('images/lightbulb_off.png', true, ['alt' => __('Enable agent'), 'title' => __('Enable agent')]).'</a>';
|
||||
echo html_print_image('images/lightbulb_off.png', true, ['alt' => __('Enable agent'), 'title' => __('Enable agent'), 'class' => 'filter_none']).'</a>';
|
||||
} else {
|
||||
echo "<a href='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&
|
||||
disable_agent=".$agent['id_agente']."&group_id=$ag_group&recursion=$recursion&search=$search&offset=$offsetArg&sort_field=$sortField&sort=$sort&disabled=$disabled'";
|
||||
|
|
|
@ -1130,6 +1130,7 @@ foreach ($modules as $module) {
|
|||
[
|
||||
'alt' => __('Enable module'),
|
||||
'title' => __('Enable module'),
|
||||
'class' => 'filter_none',
|
||||
]
|
||||
).'</a>';
|
||||
} else {
|
||||
|
@ -1139,7 +1140,6 @@ foreach ($modules as $module) {
|
|||
[
|
||||
'alt' => __('Disable module'),
|
||||
'title' => __('Disable module'),
|
||||
'class' => 'invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
}
|
||||
|
|
|
@ -811,7 +811,7 @@ foreach ($simple_alerts as $alert) {
|
|||
1,
|
||||
'padding:0px',
|
||||
true,
|
||||
['class' => 'invert_filter']
|
||||
['class' => 'filter_none']
|
||||
);
|
||||
$data[4] .= html_print_input_hidden('enable_alert', 1, true);
|
||||
} else {
|
||||
|
@ -998,7 +998,7 @@ if (! $id_agente) {
|
|||
echo '"'.html_print_image(
|
||||
'images/lightbulb_off.png',
|
||||
true,
|
||||
false,
|
||||
['class' => 'filter_none'],
|
||||
true
|
||||
).'"';
|
||||
?>
|
||||
|
@ -1037,7 +1037,7 @@ if (! $id_agente) {
|
|||
echo '"'.html_print_image(
|
||||
'images/lightbulb_off.png',
|
||||
true,
|
||||
false,
|
||||
['class' => 'filter_none'],
|
||||
true
|
||||
).'"';
|
||||
?>
|
||||
|
|
|
@ -254,7 +254,7 @@ foreach ($extensions as $file => $extension) {
|
|||
if ($file != 'update_manager.php') {
|
||||
$table->cellclass[][10] = 'action_buttons';
|
||||
if (!$extension['enabled']) {
|
||||
$data[] = '<a title="'.__('Delete').'" href="index.php?sec=godmode/extensions&sec2=godmode/extensions&enterprise='.(int) $extension['enterprise'].'&delete='.$file.'" class="mn">'.html_print_image('images/cross.disabled.png', true).'</a>'.' <a title="'.__('Enable').'" href="index.php?sec=godmode/extensions&sec2=godmode/extensions&enterprise='.(int) $extension['enterprise'].'&enabled='.$file.'" class="mn">'.html_print_image('images/lightbulb_off.png', true).'</a>';
|
||||
$data[] = '<a title="'.__('Delete').'" href="index.php?sec=godmode/extensions&sec2=godmode/extensions&enterprise='.(int) $extension['enterprise'].'&delete='.$file.'" class="mn">'.html_print_image('images/cross.disabled.png', true, ['class' => 'filter_none']).'</a>'.' <a title="'.__('Enable').'" href="index.php?sec=godmode/extensions&sec2=godmode/extensions&enterprise='.(int) $extension['enterprise'].'&enabled='.$file.'" class="mn">'.html_print_image('images/lightbulb_off.png', true, ['class' => 'filter_none']).'</a>';
|
||||
} else {
|
||||
$data[] = '<a title="'.__('Delete').'" href="index.php?sec=godmode/extensions&sec2=godmode/extensions&enterprise='.(int) $extension['enterprise'].'&delete='.$file.'" class="mn">'.html_print_image('images/cross.png', true, ['class' => 'invert_filter']).'</a>'.' <a title="'.__('Disable').'" href="index.php?sec=godmode/extensions&sec2=godmode/extensions&enterprise='.(int) $extension['enterprise'].'&disabled='.$file.'" class="mn">'.html_print_image('images/lightbulb.png', true).'</a>';
|
||||
}
|
||||
|
|
|
@ -571,7 +571,7 @@ $table_remote->data['integria_test'] = $row;
|
|||
// Print.
|
||||
echo '<div class="center pdd_b_20px">';
|
||||
echo '<a target="_blank" rel="noopener noreferrer" href="http://integriaims.com">';
|
||||
html_print_image('images/integria_logo.png');
|
||||
html_print_image('images/integria_logo.svg');
|
||||
echo '</a>';
|
||||
echo '<br />';
|
||||
echo '<div clsas="integria_title">';
|
||||
|
|
|
@ -716,10 +716,12 @@ foreach ($info as $user_id => $user_info) {
|
|||
$toDoString = __('Disable');
|
||||
$toDoAction = '1';
|
||||
$toDoImage = 'images/lightbulb.png';
|
||||
$toDoClass = '';
|
||||
} else {
|
||||
$toDoString = __('Enable');
|
||||
$toDoAction = '0';
|
||||
$toDoImage = 'images/lightbulb_off.png';
|
||||
$toDoClass = 'filter_none';
|
||||
}
|
||||
|
||||
$data[6] = '<form method="POST" action="index.php?sec='.$sec.'&sec2=godmode/users/user_list&pure='.$pure.'" class="inline">';
|
||||
|
@ -742,7 +744,7 @@ foreach ($info as $user_id => $user_info) {
|
|||
[
|
||||
'data-title' => $toDoString,
|
||||
'data-use_title_for_force_title' => '1',
|
||||
'class' => 'forced_title no-padding',
|
||||
'class' => 'forced_title no-padding '.$toDoClass,
|
||||
]
|
||||
);
|
||||
$data[6] .= '</form>';
|
||||
|
|
|
@ -961,7 +961,10 @@ class DiscoveryTaskList extends HTML
|
|||
).'" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">'.html_print_image(
|
||||
'images/lightbulb_off.png',
|
||||
true,
|
||||
['title' => __('enable task')]
|
||||
[
|
||||
'title' => __('enable task'),
|
||||
'class' => 'filter_none',
|
||||
]
|
||||
).'</a>';
|
||||
} else if ($task['disabled'] == 0) {
|
||||
$data[9] .= '<a href="'.ui_get_full_url(
|
||||
|
|
|
@ -4315,18 +4315,28 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me
|
|||
}
|
||||
}
|
||||
|
||||
$skip_meta_tag = false;
|
||||
if ($url === '') {
|
||||
if ($proxy) {
|
||||
$url = '';
|
||||
} else {
|
||||
if ($proxy === false) {
|
||||
$url = $_SERVER['REQUEST_URI'];
|
||||
}
|
||||
} else if ($url === false) {
|
||||
if ($proxy) {
|
||||
$url = '';
|
||||
// Already inserted in request_uri.
|
||||
$skip_meta_tag = true;
|
||||
} else {
|
||||
// Only add the home url.
|
||||
// Redirect to main.
|
||||
$url = '?'.$_SERVER['QUERY_STRING'];
|
||||
}
|
||||
} else if (empty($url) === true) {
|
||||
if ($proxy === false) {
|
||||
$url = $config['homeurl_static'].'/';
|
||||
if ($metaconsole_root === true
|
||||
&& is_metaconsole()
|
||||
) {
|
||||
$url = $config['homeurl_static'].'/'.ENTERPRISE_DIR.'/meta/';
|
||||
}
|
||||
|
||||
$skip_meta_tag = true;
|
||||
} else {
|
||||
$url = '';
|
||||
}
|
||||
} else if (!strstr($url, '.php')) {
|
||||
if ($proxy) {
|
||||
|
@ -4354,8 +4364,11 @@ function ui_get_full_url($url='', $no_proxy=false, $add_name_php_file=false, $me
|
|||
$url = substr($url, 1);
|
||||
}
|
||||
|
||||
if (is_metaconsole() && $metaconsole_root) {
|
||||
$fullurl .= 'enterprise/meta/';
|
||||
if ($skip_meta_tag === false
|
||||
&& $metaconsole_root
|
||||
&& is_metaconsole()
|
||||
) {
|
||||
$fullurl .= ENTERPRISE_DIR.'/meta/';
|
||||
}
|
||||
|
||||
return $fullurl.$url;
|
||||
|
|
|
@ -1202,10 +1202,14 @@ a.pandora_pagination,
|
|||
.bg_ccc {
|
||||
background-color: #50505050 !important;
|
||||
}
|
||||
.filter_none {
|
||||
filter: brightness(0) contrast(50%) !important;
|
||||
}
|
||||
|
||||
input[type="image"] {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.databox_color {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
|
|
@ -198,7 +198,7 @@ $table->data[0][0] .= '<div class="label_select_parent">'.html_print_input_text(
|
|||
|
||||
$integria_logo = 'images/integria_logo_gray.png';
|
||||
if ($config['style'] === 'pandora_black') {
|
||||
$integria_logo = 'images/integria_logo.png';
|
||||
$integria_logo = 'images/integria_logo.svg';
|
||||
}
|
||||
|
||||
$table->data[0][2] = html_print_image($integria_logo, true, ['style' => 'width: 70%; float: right;'], false);
|
||||
|
|
|
@ -52,7 +52,7 @@ if ($alerts === false || $totalAlerts == 0 || !$searchAlerts) {
|
|||
$table->data = [];
|
||||
foreach ($alerts as $alert) {
|
||||
if ($alert['disabled']) {
|
||||
$disabledCell = html_print_image('images/lightbulb_off.png', true, ['title' => 'disable', 'alt' => 'disable']);
|
||||
$disabledCell = html_print_image('images/lightbulb_off.png', true, ['title' => 'disable', 'alt' => 'disable', 'class' => 'filter_none']);
|
||||
} else {
|
||||
$disabledCell = html_print_image('images/lightbulb.png', true, ['alt' => 'enable', 'title' => 'enable']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue