Merge branch 'ent-9662-second-round' into 'develop'
fixed styles See merge request artica/pandorafms!5612
This commit is contained in:
commit
3bc27c9fb6
|
@ -29,8 +29,9 @@ require_once __DIR__.'/../include/functions_html.php';
|
|||
|
||||
|
||||
if ($config['visual_animation']) {
|
||||
// form#login_form, div.login_data {
|
||||
echo '<style>
|
||||
div.container_login {
|
||||
div.container_login {
|
||||
animation: container_login 3s ease;
|
||||
}
|
||||
|
||||
|
@ -185,7 +186,7 @@ echo '</div>';
|
|||
|
||||
echo '<div class="container_login">';
|
||||
echo '<div class="login_page">';
|
||||
echo '<form method="post" action="'.ui_get_full_url('index.php'.$url).'" ><div class="login_logo_icon">';
|
||||
echo '<form method="post" id="login_form" action="'.ui_get_full_url('index.php'.$url).'" ><div class="login_logo_icon">';
|
||||
echo '<a href="'.$logo_link.'">';
|
||||
if (is_metaconsole() === true) {
|
||||
if (!isset($config['custom_logo_login'])) {
|
||||
|
@ -307,8 +308,9 @@ switch ($login_screen) {
|
|||
'',
|
||||
false,
|
||||
'',
|
||||
'autocomplete="off" placeholder="'.__('User').'"'
|
||||
'autocomplete="off" class="input" placeholder=" "'
|
||||
);
|
||||
echo '<label for="nick" class="placeholder">'.__('User').'</label>';
|
||||
echo '</div>';
|
||||
echo '<div class="login_pass">';
|
||||
html_print_input_text_extended(
|
||||
|
@ -320,20 +322,18 @@ switch ($login_screen) {
|
|||
'',
|
||||
false,
|
||||
'',
|
||||
'autocomplete="off" placeholder="'.__('Password').'"',
|
||||
'autocomplete="off" class="input" placeholder=" "',
|
||||
false,
|
||||
true
|
||||
);
|
||||
echo '<label for="pass" class="placeholder">'.__('Password').'</label>';
|
||||
echo '</div>';
|
||||
echo '<div class="login_button">';
|
||||
html_print_submit_button(
|
||||
__('Login'),
|
||||
__('Let's go'),
|
||||
'login_button',
|
||||
false,
|
||||
[
|
||||
'fixed_id' => 'submit-login_button',
|
||||
'icon' => 'signin',
|
||||
]
|
||||
['fixed_id' => 'submit-login_button']
|
||||
);
|
||||
echo '</div>';
|
||||
}
|
||||
|
@ -350,11 +350,32 @@ switch ($login_screen) {
|
|||
echo '<div>';
|
||||
|
||||
echo '</div>';
|
||||
html_print_input_text_extended('auth_code', '', 'auth_code', '', '', '', false, '', 'class="login login_password" placeholder="'.__('Authentication code').'"', false, true);
|
||||
html_print_input_text_extended(
|
||||
'auth_code',
|
||||
'',
|
||||
'auth_code',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
false,
|
||||
'',
|
||||
'class="login login_password input" placeholder=" "',
|
||||
false,
|
||||
true
|
||||
);
|
||||
echo '<label for="pass" class="placeholder">'.__('Authentication code').'</label>';
|
||||
echo '</div>';
|
||||
echo '<div class="login_button">';
|
||||
// html_print_submit_button(__('Check code').' >', 'login_button', false, 'class="next_login"');
|
||||
html_print_submit_button(__('Check code').' >', 'login_button', false, [ 'fixed_id' => 'submit-login_button', 'class' => 'next_login']);
|
||||
html_print_submit_button(
|
||||
__('Check code'),
|
||||
'login_button',
|
||||
false,
|
||||
[
|
||||
'fixed_id' => 'submit-login_button',
|
||||
'class' => 'next_login',
|
||||
]
|
||||
);
|
||||
echo '</div>';
|
||||
break;
|
||||
|
||||
|
@ -425,33 +446,8 @@ html_print_csrf_hidden();
|
|||
|
||||
echo '</form></div>';
|
||||
echo '<div class="login_data">';
|
||||
echo '<div class ="text_banner_login">';
|
||||
echo '<div><span class="span1">';
|
||||
if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
||||
if ($config['custom_title1_login']) {
|
||||
echo io_safe_output($config['custom_title1_login']);
|
||||
} else {
|
||||
echo __('WELCOME TO %s', get_product_name());
|
||||
}
|
||||
} else {
|
||||
echo __('WELCOME TO %s', get_product_name());
|
||||
}
|
||||
|
||||
echo '</span></div>';
|
||||
echo '<div><span class="span2">';
|
||||
if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
||||
if ($config['custom_title2_login']) {
|
||||
echo io_safe_output($config['custom_title2_login']);
|
||||
} else {
|
||||
echo __('NEXT GENERATION');
|
||||
}
|
||||
} else {
|
||||
echo __('NEXT GENERATION');
|
||||
}
|
||||
|
||||
echo '</span></div>';
|
||||
echo '</div>';
|
||||
echo '<div class ="img_banner_login">';
|
||||
echo '<div class ="img_banner_login">';
|
||||
if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
||||
if (empty($config['custom_splash_login']) === false && $config['custom_splash_login'] !== 'default') {
|
||||
html_print_image(
|
||||
|
@ -467,35 +463,61 @@ if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
|||
);
|
||||
} else {
|
||||
echo '
|
||||
<div class="loginimg-container">
|
||||
<div class="lineone"></div>
|
||||
<div class="linetwo"></div>
|
||||
<div class="linethree"></div>
|
||||
<div style="display:flex;">
|
||||
<div class="towerone"></div>
|
||||
<div class="towertwo"></div>
|
||||
<div class="towerthree"></div>
|
||||
<div class="towerfour"></div>
|
||||
<div class="loginimg-container">
|
||||
<div class="lineone"></div>
|
||||
<div class="linetwo"></div>
|
||||
<div class="linethree"></div>
|
||||
<div style="display:flex;">
|
||||
<div class="towerone"></div>
|
||||
<div class="towertwo"></div>
|
||||
<div class="towerthree"></div>
|
||||
<div class="towerfour"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
';
|
||||
}
|
||||
} else {
|
||||
echo '
|
||||
<div class="loginimg-container">
|
||||
<div class="lineone"></div>
|
||||
<div class="linetwo"></div>
|
||||
<div class="linethree"></div>
|
||||
<div style="display:flex;">
|
||||
<div class="towerone"></div>
|
||||
<div class="towertwo"></div>
|
||||
<div class="towerthree"></div>
|
||||
<div class="towerfour"></div>
|
||||
<div class="loginimg-container">
|
||||
<div class="lineone"></div>
|
||||
<div class="linetwo"></div>
|
||||
<div class="linethree"></div>
|
||||
<div style="display:flex;">
|
||||
<div class="towerone"></div>
|
||||
<div class="towertwo"></div>
|
||||
<div class="towerthree"></div>
|
||||
<div class="towerfour"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class ="text_banner_login">';
|
||||
// echo '<div><span class="span1">';
|
||||
// if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
||||
// if ($config['custom_title1_login']) {
|
||||
// echo io_safe_output($config['custom_title1_login']);
|
||||
// } else {
|
||||
// echo __('WELCOME TO %s', get_product_name());
|
||||
// }
|
||||
// } else {
|
||||
// echo __('WELCOME TO %s', get_product_name());
|
||||
// }
|
||||
// echo '</span></div>';
|
||||
echo '<div><span class="span2">';
|
||||
if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
||||
if ($config['custom_title2_login']) {
|
||||
echo io_safe_output($config['custom_title2_login']);
|
||||
} else {
|
||||
echo __('NEXT GENERATION');
|
||||
}
|
||||
} else {
|
||||
echo __('NEXT GENERATION');
|
||||
}
|
||||
|
||||
echo '</span></div>';
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
|
|
|
@ -1907,64 +1907,62 @@ if ($create_module) {
|
|||
);
|
||||
}
|
||||
|
||||
if ($update_module || $create_module) {
|
||||
if (is_error($id_agent_module) === true) {
|
||||
switch ($id_agent_module) {
|
||||
case ERR_EXIST:
|
||||
$msg = __('There was a problem adding module. Another module already exists with the same name.');
|
||||
break;
|
||||
if (is_error($id_agent_module) === true) {
|
||||
switch ($id_agent_module) {
|
||||
case ERR_EXIST:
|
||||
$msg = __('There was a problem adding module. Another module already exists with the same name.');
|
||||
break;
|
||||
|
||||
case ERR_INCOMPLETE:
|
||||
$msg = __('There was a problem adding module. Some required fields are missed : (name)');
|
||||
break;
|
||||
case ERR_INCOMPLETE:
|
||||
$msg = __('There was a problem adding module. Some required fields are missed : (name)');
|
||||
break;
|
||||
|
||||
case ERR_DB:
|
||||
case ERR_GENERIC:
|
||||
default:
|
||||
$msg = __('There was a problem adding module. Processing error');
|
||||
break;
|
||||
}
|
||||
case ERR_DB:
|
||||
case ERR_GENERIC:
|
||||
default:
|
||||
$msg = __('There was a problem adding module. Processing error');
|
||||
break;
|
||||
}
|
||||
|
||||
// I save the result of the action (insert or update).
|
||||
$success_action = $id_agent_module;
|
||||
// I save the result of the action (insert or update).
|
||||
$success_action = $id_agent_module;
|
||||
|
||||
$id_agent_module = false;
|
||||
ui_print_error_message($msg);
|
||||
$edit_module = true;
|
||||
$moduletype = $id_module;
|
||||
db_pandora_audit(
|
||||
AUDIT_LOG_AGENT_MANAGEMENT,
|
||||
"Fail to try added module '".io_safe_output($name)."' for agent ".io_safe_output($agent['alias'])
|
||||
);
|
||||
} else {
|
||||
if ($prediction_module === MODULE_PREDICTION_SYNTHETIC) {
|
||||
enterprise_hook(
|
||||
'modules_create_synthetic_operations',
|
||||
[
|
||||
$id_agent_module,
|
||||
$serialize_ops,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
// Update the module interval.
|
||||
cron_update_module_interval($id_agent_module, $cron_interval);
|
||||
|
||||
ui_print_success_message(__('Module added successfully'));
|
||||
$id_agent_module = false;
|
||||
$edit_module = false;
|
||||
|
||||
$info = '';
|
||||
|
||||
$agent = db_get_row('tagente', 'id_agente', $id_agente);
|
||||
db_pandora_audit(
|
||||
AUDIT_LOG_AGENT_MANAGEMENT,
|
||||
"Added module '".db_escape_string_sql($name)."' for agent ".io_safe_output($agent['alias']),
|
||||
false,
|
||||
true,
|
||||
io_json_mb_encode($values)
|
||||
$id_agent_module = false;
|
||||
ui_print_error_message($msg);
|
||||
$edit_module = true;
|
||||
$moduletype = $id_module;
|
||||
db_pandora_audit(
|
||||
AUDIT_LOG_AGENT_MANAGEMENT,
|
||||
"Fail to try added module '".io_safe_output($name)."' for agent ".io_safe_output($agent['alias'])
|
||||
);
|
||||
} else {
|
||||
if ($prediction_module === MODULE_PREDICTION_SYNTHETIC) {
|
||||
enterprise_hook(
|
||||
'modules_create_synthetic_operations',
|
||||
[
|
||||
$id_agent_module,
|
||||
$serialize_ops,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
// Update the module interval.
|
||||
cron_update_module_interval($id_agent_module, $cron_interval);
|
||||
|
||||
ui_print_success_message(__('Module added successfully'));
|
||||
$id_agent_module = false;
|
||||
$edit_module = false;
|
||||
|
||||
$info = '';
|
||||
|
||||
$agent = db_get_row('tagente', 'id_agente', $id_agente);
|
||||
db_pandora_audit(
|
||||
AUDIT_LOG_AGENT_MANAGEMENT,
|
||||
"Added module '".db_escape_string_sql($name)."' for agent ".io_safe_output($agent['alias']),
|
||||
false,
|
||||
true,
|
||||
io_json_mb_encode($values)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1117,7 +1117,7 @@ $modalCreateModule .= html_print_div(
|
|||
'class' => 'action-buttons-right-forced',
|
||||
'content' => html_print_submit_button(
|
||||
__('Create'),
|
||||
'create_module',
|
||||
'modal_button_create',
|
||||
false,
|
||||
[
|
||||
'icon' => 'next',
|
||||
|
@ -1142,7 +1142,6 @@ html_print_div(
|
|||
<script type="text/javascript">
|
||||
|
||||
function create_module_dialog(){
|
||||
console.log('Entra');
|
||||
$('#modal').dialog({
|
||||
title: '<?php echo __('Create Module'); ?>',
|
||||
resizable: true,
|
||||
|
|
|
@ -133,6 +133,7 @@ $table->data[1][1] = '<a href="javascript:">'.html_print_image(
|
|||
'id' => 'right',
|
||||
'title' => __('Add fields to select'),
|
||||
'style' => 'rotate: 180deg;',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
$table->data[1][1] .= '<br><br><br><br><a href="javascript:">'.html_print_image(
|
||||
|
@ -169,6 +170,7 @@ $table->data[1][2] .= '<a href="javascript:">'.html_print_image(
|
|||
[
|
||||
'onclick' => 'sortUpDown(\'up\');',
|
||||
'title' => __('Move up selected fields'),
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
$table->data[1][2] .= '<a href="javascript:">'.html_print_image(
|
||||
|
@ -177,6 +179,7 @@ $table->data[1][2] .= '<a href="javascript:">'.html_print_image(
|
|||
[
|
||||
'onclick' => 'sortUpDown(\'down\');',
|
||||
'title' => __('Move down selected fields'),
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).'</a>';
|
||||
$table->data[1][2] .= '</div></div>';
|
||||
|
|
|
@ -925,7 +925,7 @@ if ($tab == 'tree') {
|
|||
true,
|
||||
[
|
||||
'style' => '',
|
||||
'class' => 'bot',
|
||||
'class' => 'bot main_menu_icon invert_filter',
|
||||
'alt' => io_safe_input($group['nombre']),
|
||||
'title' => io_safe_input($group['nombre']),
|
||||
],
|
||||
|
|
|
@ -254,188 +254,187 @@ if ($config['history_db_enabled'] == 1) {
|
|||
|
||||
$table = new StdClass();
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
$table->class = 'filter-table-adv';
|
||||
$table->data = [];
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->size[0] = '50%';
|
||||
$table->size[1] = '50%';
|
||||
|
||||
$table->size[0] = '70%';
|
||||
$table->size[1] = '30%';
|
||||
|
||||
$table->data[1][0] = __('Max. days before delete events');
|
||||
$table->data[1][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['event_purge']->max,
|
||||
'name' => 'event_purge',
|
||||
'value' => $config['event_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['event_purge']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[0][0] = html_print_label_input_block(
|
||||
__('Max. days before delete events'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['event_purge']->max,
|
||||
'name' => 'event_purge',
|
||||
'value' => $config['event_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['event_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[2][0] = __('Max. days before delete traps');
|
||||
$table->data[2][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['trap_purge']->max,
|
||||
'name' => 'trap_purge',
|
||||
'value' => $config['trap_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['trap_purge']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[0][1] = html_print_label_input_block(
|
||||
__('Max. days before delete traps'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['trap_purge']->max,
|
||||
'name' => 'trap_purge',
|
||||
'value' => $config['trap_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['trap_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[3][0] = __('Max. days before delete audit events');
|
||||
$table->data[3][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['audit_purge']->max,
|
||||
'name' => 'audit_purge',
|
||||
'value' => $config['audit_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['audit_purge']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[1][0] = html_print_label_input_block(
|
||||
__('Max. days before delete audit events'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['audit_purge']->max,
|
||||
'name' => 'audit_purge',
|
||||
'value' => $config['audit_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['audit_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[4][0] = __('Max. days before delete string data');
|
||||
$table->data[4][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['string_purge']->max,
|
||||
'name' => 'string_purge',
|
||||
'value' => $config['string_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['string_purge']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[1][1] = html_print_label_input_block(
|
||||
__('Max. days before delete string data'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['string_purge']->max,
|
||||
'name' => 'string_purge',
|
||||
'value' => $config['string_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['string_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[5][0] = __('Max. days before delete GIS data');
|
||||
$table->data[5][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['gis_purge']->max,
|
||||
'name' => 'gis_purge',
|
||||
'value' => $config['gis_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['gis_purge']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[2][0] = html_print_label_input_block(
|
||||
__('Max. days before delete GIS data'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['gis_purge']->max,
|
||||
'name' => 'gis_purge',
|
||||
'value' => $config['gis_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['gis_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[6][0] = __('Max. days before purge');
|
||||
$table->data[6][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_purge']->max,
|
||||
'name' => 'days_purge',
|
||||
'value' => $config['days_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_purge']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[2][1] = html_print_label_input_block(
|
||||
__('Max. days before purge'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_purge']->max,
|
||||
'name' => 'days_purge',
|
||||
'value' => $config['days_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[7][0] = __('Max. days before compact data');
|
||||
$table->data[7][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_compact']->max,
|
||||
'name' => 'days_compact',
|
||||
'value' => $config['days_compact'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_compact']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[3][0] = html_print_label_input_block(
|
||||
__('Max. days before compact data'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_compact']->max,
|
||||
'name' => 'days_compact',
|
||||
'value' => $config['days_compact'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_compact']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[8][0] = __('Max. days before delete unknown modules');
|
||||
$table->data[8][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_delete_unknown']->max,
|
||||
'name' => 'days_delete_unknown',
|
||||
'value' => $config['days_delete_unknown'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_delete_unknown']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[3][1] = html_print_label_input_block(
|
||||
__('Max. days before delete unknown modules'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_delete_unknown']->max,
|
||||
'name' => 'days_delete_unknown',
|
||||
'value' => $config['days_delete_unknown'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_delete_unknown']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
$table->data[9][0] = __('Max. days before delete not initialized modules');
|
||||
$table->data[9][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_delete_not_initialized']->max,
|
||||
'name' => 'days_delete_not_initialized',
|
||||
'value' => $config['days_delete_not_initialized'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_delete_not_initialized']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[4][0] = html_print_label_input_block(
|
||||
__('Max. days before delete not initialized modules'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_delete_not_initialized']->max,
|
||||
'name' => 'days_delete_not_initialized',
|
||||
'value' => $config['days_delete_not_initialized'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_delete_not_initialized']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[10][0] = __('Max. days before delete autodisabled agents');
|
||||
$table->data[10][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_autodisable_deletion']->max,
|
||||
'name' => 'days_autodisable_deletion',
|
||||
'value' => $config['days_autodisable_deletion'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_autodisable_deletion']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table->data[4][1] = html_print_label_input_block(
|
||||
__('Max. days before delete autodisabled agents'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['days_autodisable_deletion']->max,
|
||||
'name' => 'days_autodisable_deletion',
|
||||
'value' => $config['days_autodisable_deletion'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['days_autodisable_deletion']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[11][0] = __('Retention period of past special days');
|
||||
$table->data[11][1] = html_print_input_text(
|
||||
'num_past_special_days',
|
||||
$config['num_past_special_days'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
);
|
||||
|
||||
$table->data[12][0] = __('Max. macro data fields');
|
||||
$table->data[12][1] = html_print_input_text(
|
||||
'max_macro_fields',
|
||||
$config['max_macro_fields'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
'onChange="change_macro_fields()"'
|
||||
);
|
||||
|
||||
if (enterprise_installed()) {
|
||||
$table->data[13][0] = __('Max. days before delete inventory data');
|
||||
$table->data[13][1] = html_print_input_text(
|
||||
'inventory_purge',
|
||||
$config['inventory_purge'],
|
||||
$table->data[5][0] = html_print_label_input_block(
|
||||
__('Retention period of past special days'),
|
||||
html_print_input_text(
|
||||
'num_past_special_days',
|
||||
$config['num_past_special_days'],
|
||||
'',
|
||||
5,
|
||||
false,
|
||||
5,
|
||||
true
|
||||
);
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
$table->data[5][1] = html_print_label_input_block(
|
||||
__('Max. macro data fields'),
|
||||
html_print_input_text(
|
||||
'max_macro_fields',
|
||||
$config['max_macro_fields'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
'onChange="change_macro_fields()"'
|
||||
)
|
||||
);
|
||||
|
||||
if ($config['history_db_enabled'] == 1) {
|
||||
if (! isset($config['history_db_connection'])
|
||||
|
@ -459,86 +458,94 @@ if ($config['history_db_enabled'] == 1) {
|
|||
|
||||
$table_historical = new StdClass();
|
||||
$table_historical->width = '100%';
|
||||
$table_historical->class = 'databox filters';
|
||||
$table_historical->class = 'filter-table-adv';
|
||||
$table_historical->data = [];
|
||||
$table_historical->style[0] = 'font-weight: bold';
|
||||
|
||||
$table_historical->size[0] = '70%';
|
||||
$table_historical->size[1] = '30%';
|
||||
$table_historical->size[0] = '50%';
|
||||
$table_historical->size[1] = '50%';
|
||||
|
||||
enterprise_hook('enterprise_warnings_history_days');
|
||||
|
||||
$table_historical->data[0][0] = __('Max. days before purge');
|
||||
$table_historical->data[0][1] = html_print_input_text(
|
||||
'historical_days_purge',
|
||||
$config_history['days_purge'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_historical->data[0][0] = html_print_label_input_block(
|
||||
__('Max. days before purge'),
|
||||
html_print_input_text(
|
||||
'historical_days_purge',
|
||||
$config_history['days_purge'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_historical->data[1][0] = __('Max. days before compact data');
|
||||
$table_historical->data[1][1] = html_print_input_text(
|
||||
'historical_days_compact',
|
||||
$config_history['days_compact'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_historical->data[0][1] = html_print_label_input_block(
|
||||
__('Max. days before compact data'),
|
||||
html_print_input_text(
|
||||
'historical_days_compact',
|
||||
$config_history['days_compact'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_historical->data[2][0] = __('Compact interpolation in hours (1 Fine-20 bad)');
|
||||
$table_historical->data[2][1] = html_print_input_text(
|
||||
'historical_step_compact',
|
||||
$config_history['step_compact'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_historical->data[1][0] = html_print_label_input_block(
|
||||
__('Compact interpolation in hours (1 Fine-20 bad)'),
|
||||
html_print_input_text(
|
||||
'historical_step_compact',
|
||||
$config_history['step_compact'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_historical->data[3][0] = __('Max. days before delete events');
|
||||
$table_historical->data[3][1] = html_print_input_text(
|
||||
'historical_event_purge',
|
||||
$config_history['event_purge'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_historical->data[1][1] = html_print_label_input_block(
|
||||
__('Max. days before delete events'),
|
||||
html_print_input_text(
|
||||
'historical_event_purge',
|
||||
$config_history['event_purge'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_historical->data[4][0] = __('Max. days before delete string data');
|
||||
$table_historical->data[4][1] = html_print_input_text(
|
||||
'historical_string_purge',
|
||||
$config_history['string_purge'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_historical->data[2][0] = html_print_label_input_block(
|
||||
__('Max. days before delete string data'),
|
||||
html_print_input_text(
|
||||
'historical_string_purge',
|
||||
$config_history['string_purge'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_historical->data[4][1] .= html_print_input_hidden(
|
||||
$table_historical->data[2][0] .= html_print_input_hidden(
|
||||
'historical_history_db_enabled',
|
||||
0,
|
||||
true
|
||||
);
|
||||
}
|
||||
|
||||
$table->data[] = [
|
||||
$table->data[6][0] = html_print_label_input_block(
|
||||
__('Max. days before delete old messages'),
|
||||
html_print_input_text(
|
||||
'delete_old_messages',
|
||||
$config['delete_old_messages'],
|
||||
'',
|
||||
5,
|
||||
false,
|
||||
5,
|
||||
true
|
||||
),
|
||||
];
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
$table->data[] = [
|
||||
$table->data[6][1] = html_print_label_input_block(
|
||||
__('Max. days before delete old network matrix data'),
|
||||
html_print_input(
|
||||
[
|
||||
|
@ -549,55 +556,71 @@ $table->data[] = [
|
|||
'value' => $config['delete_old_network_matrix'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['delete_old_network_matrix']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
),
|
||||
];
|
||||
)
|
||||
);
|
||||
|
||||
if (enterprise_installed()) {
|
||||
$table->data[7][0] = html_print_label_input_block(
|
||||
__('Max. days before delete inventory data'),
|
||||
html_print_input_text(
|
||||
'inventory_purge',
|
||||
$config['inventory_purge'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
$table_other = new stdClass();
|
||||
$table_other->width = '100%';
|
||||
$table_other->class = 'databox filters';
|
||||
$table_other->class = 'filter-table-adv';
|
||||
$table_other->data = [];
|
||||
$table_other->style[0] = 'font-weight: bold';
|
||||
|
||||
$table_other->size[0] = '70%';
|
||||
$table_other->size[1] = '30%';
|
||||
$i = 0;
|
||||
$table_other->data[$i][0] = __('Item limit for realtime reports');
|
||||
$table_other->data[$i++][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['report_limit']->max,
|
||||
'name' => 'report_limit',
|
||||
'value' => $config['report_limit'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['report_limit']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table_other->size[0] = '50%';
|
||||
$table_other->size[1] = '50%';
|
||||
|
||||
$table_other->data[0][0] = html_print_label_input_block(
|
||||
__('Item limit for realtime reports'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['report_limit']->max,
|
||||
'name' => 'report_limit',
|
||||
'value' => $config['report_limit'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['report_limit']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Limit of events per query');
|
||||
$table_other->data[$i++][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => 10000,
|
||||
'name' => 'events_per_query',
|
||||
'value' => $config['events_per_query'],
|
||||
'return' => true,
|
||||
'style' => 'width:50px',
|
||||
]
|
||||
$table_other->data[0][1] = html_print_label_input_block(
|
||||
__('Limit of events per query'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => 10000,
|
||||
'name' => 'events_per_query',
|
||||
'value' => $config['events_per_query'],
|
||||
'return' => true,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Compact interpolation in hours (1 Fine-20 bad)');
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'step_compact',
|
||||
$config['step_compact'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_other->data[1][0] = html_print_label_input_block(
|
||||
__('Compact interpolation in hours (1 Fine-20 bad)'),
|
||||
html_print_input_text(
|
||||
'step_compact',
|
||||
$config['step_compact'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$intervals = [];
|
||||
|
@ -610,140 +633,172 @@ $intervals[SECONDS_1WEEK] = __('Last week');
|
|||
$intervals[SECONDS_2WEEK] = __('2 weeks');
|
||||
$intervals[SECONDS_1MONTH] = __('Last month');
|
||||
|
||||
$table_other->data[$i][0] = __('Default hours for event view');
|
||||
$table_other->data[$i++][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['event_view_hr']->max,
|
||||
'name' => 'event_view_hr',
|
||||
'value' => $config['event_view_hr'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['event_view_hr']->min,
|
||||
'style' => 'width:43px',
|
||||
]
|
||||
$table_other->data[1][1] = html_print_label_input_block(
|
||||
__('Default hours for event view'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['event_view_hr']->max,
|
||||
'name' => 'event_view_hr',
|
||||
'value' => $config['event_view_hr'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['event_view_hr']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Use realtime statistics');
|
||||
$table_other->data[$i++][1] = html_print_checkbox_switch(
|
||||
'realtimestats',
|
||||
1,
|
||||
$config['realtimestats'],
|
||||
true
|
||||
$table_other->data[2][0] = html_print_label_input_block(
|
||||
__('Use realtime statistics'),
|
||||
html_print_checkbox_switch(
|
||||
'realtimestats',
|
||||
1,
|
||||
$config['realtimestats'],
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Batch statistics period (secs)');
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'stats_interval',
|
||||
$config['stats_interval'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_other->data[2][1] = html_print_label_input_block(
|
||||
__('Batch statistics period (secs)'),
|
||||
html_print_input_text(
|
||||
'stats_interval',
|
||||
$config['stats_interval'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Use agent access graph');
|
||||
$table_other->data[$i++][1] = html_print_checkbox_switch('agentaccess', 1, $config['agentaccess'], true, $disable_agentaccess);
|
||||
|
||||
$table_other->data[$i][0] = __('Max. recommended number of files in attachment directory');
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'num_files_attachment',
|
||||
$config['num_files_attachment'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_other->data[3][0] = html_print_label_input_block(
|
||||
__('Use agent access graph'),
|
||||
html_print_checkbox_switch(
|
||||
'agentaccess',
|
||||
1,
|
||||
$config['agentaccess'],
|
||||
true,
|
||||
$disable_agentaccess
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Delete not init modules');
|
||||
$table_other->data[$i++][1] = html_print_checkbox_switch('delete_notinit', 1, $config['delete_notinit'], true);
|
||||
|
||||
$table_other->data[$i][0] = __('Big Operation Step to purge old data');
|
||||
$table_other->data[$i++][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['big_operation_step_datos_purge']->max,
|
||||
'name' => 'big_operation_step_datos_purge',
|
||||
'value' => $config['big_operation_step_datos_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['big_operation_step_datos_purge']->min,
|
||||
'style' => 'width:50px',
|
||||
]
|
||||
$table_other->data[3][1] = html_print_label_input_block(
|
||||
__('Max. recommended number of files in attachment directory'),
|
||||
html_print_input_text(
|
||||
'num_files_attachment',
|
||||
$config['num_files_attachment'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
|
||||
$table_other->data[$i][0] = __('Small Operation Step to purge old data');
|
||||
$table_other->data[$i++][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['small_operation_step_datos_purge']->max,
|
||||
'name' => 'small_operation_step_datos_purge',
|
||||
'value' => $config['small_operation_step_datos_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['small_operation_step_datos_purge']->min,
|
||||
'style' => 'width:50px',
|
||||
]
|
||||
$table_other->data[4][0] = html_print_label_input_block(
|
||||
__('Delete not init modules'),
|
||||
html_print_checkbox_switch(
|
||||
'delete_notinit',
|
||||
1,
|
||||
$config['delete_notinit'],
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Graph container - Max. Items');
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'max_graph_container',
|
||||
$config['max_graph_container'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_other->data[4][1] = html_print_label_input_block(
|
||||
__('Big Operation Step to purge old data'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['big_operation_step_datos_purge']->max,
|
||||
'name' => 'big_operation_step_datos_purge',
|
||||
'value' => $config['big_operation_step_datos_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['big_operation_step_datos_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Events response max. execution');
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'max_execution_event_response',
|
||||
$config['max_execution_event_response'],
|
||||
'',
|
||||
5,
|
||||
5,
|
||||
true
|
||||
$table_other->data[5][0] = html_print_label_input_block(
|
||||
__('Small Operation Step to purge old data'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['small_operation_step_datos_purge']->max,
|
||||
'name' => 'small_operation_step_datos_purge',
|
||||
'value' => $config['small_operation_step_datos_purge'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['small_operation_step_datos_purge']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('Row limit in csv log');
|
||||
$table_other->data[$i++][1] = html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['row_limit_csv']->max,
|
||||
'name' => 'row_limit_csv',
|
||||
'value' => $config['row_limit_csv'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['row_limit_csv']->min,
|
||||
'style' => 'width:63px',
|
||||
]
|
||||
$table_other->data[5][1] = html_print_label_input_block(
|
||||
__('Graph container - Max. Items'),
|
||||
html_print_input_text(
|
||||
'max_graph_container',
|
||||
$config['max_graph_container'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('SNMP walk binary');
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'snmpwalk',
|
||||
$config['snmpwalk'],
|
||||
'',
|
||||
50,
|
||||
10,
|
||||
true
|
||||
$table_other->data[6][0] = html_print_label_input_block(
|
||||
__('Events response max. execution'),
|
||||
html_print_input_text(
|
||||
'max_execution_event_response',
|
||||
$config['max_execution_event_response'],
|
||||
'',
|
||||
false,
|
||||
5,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[6][1] = html_print_label_input_block(
|
||||
__('Row limit in csv log'),
|
||||
html_print_input(
|
||||
[
|
||||
'type' => 'number',
|
||||
'size' => 5,
|
||||
'max' => $performance_variables_control['row_limit_csv']->max,
|
||||
'name' => 'row_limit_csv',
|
||||
'value' => $config['row_limit_csv'],
|
||||
'return' => true,
|
||||
'min' => $performance_variables_control['row_limit_csv']->min,
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$table_other->data[7][0] = html_print_label_input_block(
|
||||
__('SNMP walk binary'),
|
||||
html_print_input_text(
|
||||
'snmpwalk',
|
||||
$config['snmpwalk'],
|
||||
'',
|
||||
false,
|
||||
10,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$tip = ui_print_help_tip(
|
||||
__('SNMP bulk walk is not able to request V1 SNMP, this option will be used instead (by default snmpwalk, slower).'),
|
||||
true
|
||||
);
|
||||
$table_other->data[$i][0] = __('SNMP walk binary (fallback)').$tip;
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'snmpwalk_fallback',
|
||||
$config['snmpwalk_fallback'],
|
||||
'',
|
||||
50,
|
||||
10,
|
||||
true
|
||||
|
||||
$table_other->data[7][1] = html_print_label_input_block(
|
||||
__('SNMP walk binary (fallback)').$tip,
|
||||
html_print_input_text(
|
||||
'snmpwalk_fallback',
|
||||
$config['snmpwalk_fallback'],
|
||||
'',
|
||||
false,
|
||||
10,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
$tip = ui_print_help_tip(
|
||||
|
@ -754,36 +809,40 @@ $tip = ui_print_help_tip(
|
|||
true
|
||||
);
|
||||
|
||||
$table_other->data[$i][0] = __('WMI binary');
|
||||
$table_other->data[$i++][1] = html_print_input_text(
|
||||
'wmiBinary',
|
||||
$config['wmiBinary'],
|
||||
'',
|
||||
50,
|
||||
50,
|
||||
true
|
||||
$table_other->data[8][0] = html_print_label_input_block(
|
||||
__('WMI binary'),
|
||||
html_print_input_text(
|
||||
'wmiBinary',
|
||||
$config['wmiBinary'],
|
||||
'',
|
||||
false,
|
||||
50,
|
||||
true
|
||||
)
|
||||
);
|
||||
|
||||
// Agent Wizard defaults.
|
||||
$defaultAgentWizardOptions = json_decode(io_safe_output($config['agent_wizard_defaults']));
|
||||
$tableSnmpWizard = new stdClass();
|
||||
$tableSnmpWizard->width = '100%';
|
||||
$tableSnmpWizard->class = 'databox filters';
|
||||
$tableSnmpWizard->class = 'filter-table-adv';
|
||||
$tableSnmpWizard->data = [];
|
||||
$tableSnmpWizard->style[0] = 'font-weight: bold';
|
||||
$tableSnmpWizard->style[2] = 'font-weight: bold';
|
||||
$tableSnmpWizard->size[0] = '30%';
|
||||
$tableSnmpWizard->size[2] = '30%';
|
||||
$tableSnmpWizard->size[0] = '50%';
|
||||
$tableSnmpWizard->size[1] = '50%';
|
||||
|
||||
$i = 0;
|
||||
$j = 0;
|
||||
foreach ($defaultAgentWizardOptions as $key => $value) {
|
||||
$tableSnmpWizard->data[$i][$j++] = $key;
|
||||
$tableSnmpWizard->data[$i][$j++] = html_print_checkbox_switch('agent_wizard_defaults_'.$key, 1, $value, true);
|
||||
if ($j >= 3) {
|
||||
$j = 0;
|
||||
$i++;
|
||||
if ($i > 1) {
|
||||
$i = 0;
|
||||
$j++;
|
||||
}
|
||||
|
||||
$tableSnmpWizard->data[$j][$i] = html_print_label_input_block(
|
||||
$key,
|
||||
html_print_checkbox_switch('agent_wizard_defaults_'.$key, 1, $value, true)
|
||||
);
|
||||
$i++;
|
||||
}
|
||||
|
||||
echo '<form id="form_setup" method="post">';
|
||||
|
@ -817,18 +876,14 @@ echo '</fieldset>';
|
|||
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||
html_print_input_hidden('update_config', 1);
|
||||
html_print_div(
|
||||
[
|
||||
'class' => 'action-buttons w100p',
|
||||
'content' => html_print_submit_button(
|
||||
__('Update'),
|
||||
'update_button',
|
||||
false,
|
||||
[ 'icon' => 'update' ],
|
||||
true
|
||||
),
|
||||
]
|
||||
$actionButtons = html_print_submit_button(
|
||||
__('Update'),
|
||||
'update_button',
|
||||
false,
|
||||
[ 'icon' => 'update' ],
|
||||
true
|
||||
);
|
||||
html_print_action_buttons($actionButtons, ['type' => 'form_action']);
|
||||
echo '</form>';
|
||||
?>
|
||||
|
||||
|
|
|
@ -1694,7 +1694,7 @@ $csvDividerInputs .= html_print_image(
|
|||
true,
|
||||
[
|
||||
'id' => 'select_csv_divider',
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
);
|
||||
|
||||
|
|
|
@ -1885,7 +1885,7 @@ if ($create_alert || $update_alert) {
|
|||
$table->cellpadding = 4;
|
||||
$table->cellspacing = 4;
|
||||
$table->width = '100%';
|
||||
$table->class = 'databox data';
|
||||
$table->class = 'info_table';
|
||||
$table->align = [];
|
||||
|
||||
$table->head[0] = '<span title="'.__('Position').'">'.__('P.').'</span>';
|
||||
|
@ -1983,7 +1983,7 @@ if ($create_alert || $update_alert) {
|
|||
[
|
||||
'alt' => __('Duplicate'),
|
||||
'title' => __('Duplicate'),
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
'class' => 'main_menu_icon',
|
||||
]
|
||||
),
|
||||
],
|
||||
|
@ -2001,7 +2001,7 @@ if ($create_alert || $update_alert) {
|
|||
[
|
||||
'alt' => __('Update'),
|
||||
'border' => 0,
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
'class' => 'main_menu_icon',
|
||||
]
|
||||
),
|
||||
],
|
||||
|
@ -2031,6 +2031,7 @@ if ($create_alert || $update_alert) {
|
|||
true,
|
||||
[
|
||||
'title' => __('Delete action'),
|
||||
'class' => 'main_menu_icon',
|
||||
]
|
||||
),
|
||||
'onClick' => 'delete_snmp_alert('.$row['id_as'].')',
|
||||
|
|
|
@ -392,6 +392,7 @@ if ($create_user === true) {
|
|||
$values['timezone'] = (string) get_parameter('timezone');
|
||||
$values['default_event_filter'] = (int) get_parameter('default_event_filter');
|
||||
$values['default_custom_view'] = (int) get_parameter('default_custom_view');
|
||||
$values['time_autorefresh'] = (int) get_parameter('time_autorefresh', 0);
|
||||
$dashboard = get_parameter('dashboard', '');
|
||||
$visual_console = get_parameter('visual_console', '');
|
||||
|
||||
|
@ -653,6 +654,7 @@ if ($update_user) {
|
|||
$values['default_event_filter'] = (int) get_parameter('default_event_filter');
|
||||
$values['default_custom_view'] = (int) get_parameter('default_custom_view');
|
||||
$values['show_tips_startup'] = (int) get_parameter_switch('show_tips_startup');
|
||||
$values['time_autorefresh'] = (int) get_parameter('time_autorefresh');
|
||||
// API Token information.
|
||||
$apiTokenRenewed = (bool) get_parameter('renewAPIToken');
|
||||
$values['api_token'] = ($apiTokenRenewed === true) ? api_token_generate() : users_get_API_token($values['id_user']);
|
||||
|
@ -1562,8 +1564,8 @@ $autorefresh_list_out['operation/visual_console/render_view'] = 'Visual console'
|
|||
$autorefresh_list_out['operation/events/events'] = 'Events';
|
||||
|
||||
|
||||
if (isset($autorefresh_list) === false) {
|
||||
$select = db_process_sql("SELECT autorefresh_white_list FROM tusuario WHERE id_user = '".$config['id_user']."'");
|
||||
if (isset($autorefresh_list) === false || empty($autorefresh_list) === true || empty($autorefresh_list[0]) === true) {
|
||||
$select = db_process_sql("SELECT autorefresh_white_list FROM tusuario WHERE id_user = '".$id."'");
|
||||
$autorefresh_list = json_decode($select[0]['autorefresh_white_list']);
|
||||
if ($autorefresh_list === null) {
|
||||
$autorefresh_list[0] = __('None');
|
||||
|
@ -1645,9 +1647,13 @@ if ($new_user === true) {
|
|||
html_print_input_hidden('json_profile', $json_profile);
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '</form>';
|
||||
|
||||
// User Profile definition table. (Only where user is not creating).
|
||||
if ($new_user === false && ((bool) check_acl($config['id_user'], 0, 'UM') === true)) {
|
||||
profile_print_profile_table($id, io_safe_output($json_profile), false, ($is_err === true));
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
$actionButtons = [];
|
||||
|
@ -1769,6 +1775,13 @@ if (is_metaconsole() === false) {
|
|||
});
|
||||
});
|
||||
|
||||
$("#button-uptbutton").click (function () {
|
||||
console.log('aaaaaaaaaaaaa');
|
||||
if($("#autorefresh_list option").length > 0) {
|
||||
$('#autorefresh_list option').prop('selected', true);
|
||||
}
|
||||
});
|
||||
|
||||
$("input#checkbox-double_auth").change(function(e) {
|
||||
e.preventDefault();
|
||||
if (this.checked) {
|
||||
|
|
|
@ -451,9 +451,9 @@ if ($delete_user === true) {
|
|||
}
|
||||
}
|
||||
|
||||
$filter_group = (int) get_parameter('filter_group', 0);
|
||||
$filter_search = get_parameter('filter_search', '');
|
||||
$search = (bool) get_parameter('search', false);
|
||||
$filter_group = (int) get_parameter('filter_group', 0);
|
||||
$filter_search = get_parameter('filter_search', '');
|
||||
$search = (bool) get_parameter('search', false);
|
||||
|
||||
if (($filter_group == 0) && ($filter_search == '')) {
|
||||
$search = false;
|
||||
|
@ -803,7 +803,6 @@ foreach ($info as $user_id => $user_info) {
|
|||
);
|
||||
}
|
||||
|
||||
$data[4] .= '<br/>';
|
||||
$data[4] .= '<br/>';
|
||||
|
||||
$total_profile++;
|
||||
|
|
|
@ -763,23 +763,3 @@ html_print_div(
|
|||
);
|
||||
|
||||
html_print_table($userManagementTable);
|
||||
// User Profile definition table. (Only where user is not creating).
|
||||
if ($new_user === false && ((bool) check_acl($config['id_user'], 0, 'UM') === true)) {
|
||||
profile_print_profile_table($id, io_safe_output($json_profile), false, ($is_err === true));
|
||||
}
|
||||
|
||||
?>
|
||||
<!--
|
||||
<script>
|
||||
paint_qrcode(
|
||||
"
|
||||
<?php
|
||||
// echo ui_get_full_url('mobile/index.php?page=agent&id='.$id_agente);
|
||||
?>
|
||||
",
|
||||
"#qr_code_agent_view",
|
||||
128,
|
||||
128
|
||||
);
|
||||
</script>
|
||||
-->
|
|
@ -835,7 +835,10 @@ class DiscoveryTaskList extends HTML
|
|||
$data[6] = html_print_image(
|
||||
'images/cluster@os.svg',
|
||||
true,
|
||||
['title' => __('Discovery Applications Microsoft SQL Server')]
|
||||
[
|
||||
'title' => __('Discovery Applications Microsoft SQL Server'),
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
).' ';
|
||||
$data[6] .= __('Discovery.App.Microsoft SQL Server');
|
||||
break;
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g>
|
||||
<circle cx="10" cy="10" r="10" fill="#3F3F3F"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 237 B |
|
@ -489,19 +489,17 @@ class TipsWindow
|
|||
]
|
||||
);
|
||||
echo '<div class="action-buttons w100p" style="width: 100%">';
|
||||
$buttonCreate = '<a href="index.php?sec=gsetup&sec2=godmode/setup/setup§ion=welcome_tips&view=create">';
|
||||
$buttonCreate .= html_print_submit_button(
|
||||
$buttonCreate = html_print_button(
|
||||
__('Create tip'),
|
||||
'create',
|
||||
false,
|
||||
'window.location.replace("index.php?sec=gsetup&sec2=godmode/setup/setup§ion=welcome_tips&view=create")',
|
||||
[
|
||||
'class' => 'sub',
|
||||
'icon' => 'create_file',
|
||||
''
|
||||
'icon' => 'plus',
|
||||
],
|
||||
true
|
||||
);
|
||||
$buttonCreate .= '</a>';
|
||||
html_print_action_buttons($buttonCreate);
|
||||
echo '</div>';
|
||||
} catch (Exception $e) {
|
||||
|
@ -839,7 +837,7 @@ class TipsWindow
|
|||
true,
|
||||
[
|
||||
'onclick' => 'deleteImage(this, \''.$value['id'].'\', \''.$namePath.'\')',
|
||||
'class' => 'remove-image',
|
||||
'class' => 'remove-image main_menu_icon',
|
||||
]
|
||||
);
|
||||
$outputImagesTip .= html_print_div(
|
||||
|
@ -929,7 +927,7 @@ class TipsWindow
|
|||
$inputImages
|
||||
);
|
||||
|
||||
echo '<form name="grupo" method="post" action="index.php?sec=gsetup&sec2=godmode/setup/setup§ion=welcome_tips&view=edit&action=edit&idTip='.$tip['id'].'" enctype="multipart/form-data">';
|
||||
echo '<form class="max_floating_element_size" name="grupo" method="post" action="index.php?sec=gsetup&sec2=godmode/setup/setup§ion=welcome_tips&view=edit&action=edit&idTip='.$tip['id'].'" enctype="multipart/form-data">';
|
||||
html_print_table($table);
|
||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||
$actionButtons = html_print_submit_button(
|
||||
|
|
|
@ -2623,7 +2623,7 @@ function events_print_event_table(
|
|||
$img,
|
||||
true,
|
||||
[
|
||||
'class' => 'image_status',
|
||||
'class' => 'image_status invert_filter main_menu_icon',
|
||||
'title' => $title,
|
||||
]
|
||||
);
|
||||
|
|
|
@ -192,7 +192,7 @@ function profile_print_profile_table($id, $json_profile=false, $return=false, $c
|
|||
$table->width = '100%';
|
||||
$table->class = 'info_table';
|
||||
|
||||
echo '<div id="edit_user_profiles" class="floating_form white_box">';
|
||||
echo '<div id="edit_user_profiles" class="max_floating_element_size white_box">';
|
||||
echo '<p class="subsection_header_title padding-lft-10">'.$title.'</p>';
|
||||
|
||||
$table->data = [];
|
||||
|
@ -312,12 +312,12 @@ function profile_print_profile_table($id, $json_profile=false, $return=false, $c
|
|||
true,
|
||||
[
|
||||
'onclick' => 'delete_profile(event, this)',
|
||||
'class' => 'invert_filter',
|
||||
'class' => 'main_menu_icon invert_filter',
|
||||
]
|
||||
);
|
||||
} else {
|
||||
$data['actions'] = '<form method="post" onsubmit="if (!confirm (\''.__('Are you sure?').'\')) return false">';
|
||||
$data['actions'] .= html_print_input_image('del', 'images/delete.svg', 1, 'width:40px; height: 28px', true);
|
||||
$data['actions'] .= html_print_input_image('del', 'images/delete.svg', 1, '', true, ['class' => 'main_menu_icon invert_filter']);
|
||||
$data['actions'] .= html_print_input_hidden('delete_profile', 1, true);
|
||||
$data['actions'] .= html_print_input_hidden('id_user_profile', $profile['id_up'], true);
|
||||
$data['actions'] .= html_print_input_hidden('id_user', $id, true);
|
||||
|
@ -391,7 +391,7 @@ function profile_print_profile_table($id, $json_profile=false, $return=false, $c
|
|||
|
||||
$data['last_hierarchy'] = html_print_checkbox('no_hierarchy', 1, false, true);
|
||||
|
||||
$data['last_actions'] = html_print_input_image('add', 'images/validate.svg', 1, 'width: 40px; height: 28px', true);
|
||||
$data['last_actions'] = html_print_input_image('add', 'images/validate.svg', 1, '', true, ['class' => 'main_menu_icon invert_filter']);
|
||||
$data['last_actions'] .= html_print_input_hidden('id', $id, true);
|
||||
$data['last_actions'] .= html_print_input_hidden('add_profile', 1, true);
|
||||
$data['last_actions'] .= '</form>';
|
||||
|
|
|
@ -730,7 +730,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin
|
|||
true,
|
||||
[
|
||||
'style' => $style,
|
||||
'class' => 'main_menu_icon '.$class,
|
||||
'class' => 'main_menu_icon invert_filter '.$class,
|
||||
'alt' => groups_get_name($id_group, true),
|
||||
'title' => groups_get_name($id_group, true),
|
||||
],
|
||||
|
@ -755,7 +755,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin
|
|||
true,
|
||||
[
|
||||
'style' => $style,
|
||||
'class' => 'main_menu_icon '.$class,
|
||||
'class' => 'main_menu_icon invert_filter '.$class,
|
||||
'alt' => groups_get_name($id_group, true),
|
||||
'title' => groups_get_name($id_group, true),
|
||||
],
|
||||
|
@ -862,7 +862,7 @@ function ui_print_os_icon(
|
|||
}
|
||||
|
||||
if (isset($options['class']) === false) {
|
||||
$options['class'] = 'main_menu_icon';
|
||||
$options['class'] = 'main_menu_icon invert_filter';
|
||||
}
|
||||
|
||||
$no_in_meta = (is_metaconsole() === false);
|
||||
|
@ -4374,34 +4374,6 @@ function ui_toggle(
|
|||
$rotateA = '90deg';
|
||||
$rotateB = '180deg';
|
||||
|
||||
if (empty($img_a) === false) {
|
||||
$image_a = html_print_image(
|
||||
$img_a,
|
||||
true,
|
||||
[
|
||||
'class' => 'mrgn_right_10px',
|
||||
'style' => 'rotate: '.$rotateA,
|
||||
],
|
||||
true
|
||||
);
|
||||
} else {
|
||||
$image_a = '';
|
||||
}
|
||||
|
||||
if (empty($img_b) === false) {
|
||||
$image_b = html_print_image(
|
||||
$img_b,
|
||||
true,
|
||||
[
|
||||
'class' => 'mrgn_right_10px',
|
||||
'style' => 'margin-right:10px; rotate: '.$rotateB,
|
||||
],
|
||||
true
|
||||
);
|
||||
} else {
|
||||
$image_b = '';
|
||||
}
|
||||
|
||||
// Options.
|
||||
$style = 'overflow:hidden;width: -webkit-fill-available;width: -moz-available;';
|
||||
$style = 'overflow:hidden;';
|
||||
|
@ -4458,7 +4430,7 @@ function ui_toggle(
|
|||
$original,
|
||||
true,
|
||||
[
|
||||
'class' => 'float-left main_menu_icon mrgn_right_10px',
|
||||
'class' => 'float-left main_menu_icon mrgn_right_10px invert_filter',
|
||||
'style' => 'object-fit: contain; margin-right:10px; rotate:'.$imageRotate,
|
||||
'title' => $title,
|
||||
'id' => 'image_'.$uniqid,
|
||||
|
@ -4490,7 +4462,7 @@ function ui_toggle(
|
|||
$original,
|
||||
true,
|
||||
[
|
||||
'class' => 'main_menu_icon mrgn_right_10px',
|
||||
'class' => 'main_menu_icon mrgn_right_10px invert_filter',
|
||||
'style' => 'object-fit: contain; float:right; margin-right:10px; rotate:'.$imageRotate,
|
||||
'title' => $title,
|
||||
'id' => 'image_'.$uniqid,
|
||||
|
|
|
@ -753,7 +753,6 @@ function flot_slicesbar_graph(
|
|||
'return_img_base_64' => true,
|
||||
'date_to' => $date_to,
|
||||
'server_id' => $server_id,
|
||||
'backgroundColor' => '#f6f7fb',
|
||||
];
|
||||
// TO-DO Cambiar esto para que se pase por POST, NO SE PUEDE PASAR POR GET.
|
||||
update_config_token($tokem_config, json_encode($graph_data));
|
||||
|
|
|
@ -972,6 +972,9 @@ function openSoundEventModal(settings) {
|
|||
width: 600,
|
||||
height: 600,
|
||||
open: function() {
|
||||
$(".ui-widget-overlay")
|
||||
.css("background", "black")
|
||||
.css("opacity", 0.5);
|
||||
$.ajax({
|
||||
method: "post",
|
||||
url: settings.url,
|
||||
|
|
|
@ -8,7 +8,7 @@ $(document).ready(function() {
|
|||
var div_image = document.createElement("div");
|
||||
$(div_image).attr("class", "action_image");
|
||||
$(div_image).append(
|
||||
`<input type="file" accept="image/png,image/jpeg,image/gif" class="input-file" name="file_${numberImages}" onchange="checkImage(this)"/>`
|
||||
`<input type="file" accept="image/png,image/jpeg,image/gif" class="input-file" name="file_${numberImages}" onchange="checkImage(this)" required/>`
|
||||
);
|
||||
$(div_image).append(
|
||||
`<input type="image" src="images/delete.svg" onclick="removeInputImage(this);" class="remove-image main_menu_icon" value="-"/>`
|
||||
|
|
|
@ -83,12 +83,13 @@ div#login_f {
|
|||
|
||||
/* --- Login page - header --- */
|
||||
div#header_login {
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
/* background-color: rgba(0, 0, 0, 0.6); */
|
||||
position: absolute;
|
||||
height: 30px;
|
||||
margin-top: 1.04%;
|
||||
margin-left: 1.04%;
|
||||
border-radius: 8px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
div#list_icon_docs_support {
|
||||
|
@ -138,26 +139,23 @@ li#li_margin_support {
|
|||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* --- Login page - form --- */
|
||||
div.container_login {
|
||||
margin-top: 13.89vw;
|
||||
/* margin-left: 19.95vw; */
|
||||
}
|
||||
|
||||
div.login_page {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 8px;
|
||||
width: 363px;
|
||||
height: auto;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
width: 40vw;
|
||||
min-width: 300px;
|
||||
height: 100vh;
|
||||
float: left;
|
||||
margin-left: 19.95vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1280px) {
|
||||
/* @media only screen and (max-width: 1280px) {
|
||||
div.login_page {
|
||||
margin-left: 9.95vw;
|
||||
}
|
||||
}
|
||||
} */
|
||||
|
||||
div.login_logo_icon {
|
||||
margin: 4.18% 5.51% 40px;
|
||||
|
@ -166,42 +164,51 @@ div.login_logo_icon {
|
|||
|
||||
div.login_logo_icon img {
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
div.login_double_auth_code,
|
||||
div.login_nick,
|
||||
div.login_pass {
|
||||
margin: 0 auto;
|
||||
width: 70%;
|
||||
width: 300px;
|
||||
height: 40px;
|
||||
margin-bottom: 20px;
|
||||
min-width: 260px;
|
||||
background-color: #fff;
|
||||
opacity: 0.77;
|
||||
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
div.login_nick input,
|
||||
div.login_pass input {
|
||||
background-color: #f6f7fb;
|
||||
background: transparent;
|
||||
border: 0px;
|
||||
color: #343434;
|
||||
border-radius: 3px;
|
||||
border-radius: 0px;
|
||||
border-bottom: 1px solid #c5c5c5;
|
||||
color: #fff;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
font-size: 10pt;
|
||||
padding: 0px 0px 0px 8%;
|
||||
font-size: 12pt;
|
||||
padding: 0px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 27px;
|
||||
background-position: right 10px bottom 50%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.login_pass > input#pass {
|
||||
background-image: url(../../images/enable.svg);
|
||||
}
|
||||
|
||||
input:not([type="image"]):focus,
|
||||
textarea:focus,
|
||||
select:focus {
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-bottom: 1px solid #e7e7e7;
|
||||
}
|
||||
|
||||
div.login_button button {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
@ -224,10 +231,15 @@ div.login_pass input:focus {
|
|||
outline: none;
|
||||
}
|
||||
|
||||
div.login_nick,
|
||||
div.login_pass {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.login_nick {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#show-hide-pass {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
|
@ -256,17 +268,11 @@ div.login_pass input:-webkit-autofill:active {
|
|||
width: 89%;
|
||||
}
|
||||
|
||||
div.login_nick input::-webkit-input-placeholder,
|
||||
div.login_pass input::-webkit-input-placeholder {
|
||||
color: #343434;
|
||||
}
|
||||
|
||||
div.login_button,
|
||||
div.login_button_saml {
|
||||
margin: 0 auto;
|
||||
width: 40%;
|
||||
width: 300px;
|
||||
height: 40px;
|
||||
min-width: 260px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
|
@ -304,7 +310,7 @@ div.login_button_saml input:hover {
|
|||
}
|
||||
|
||||
.login_back {
|
||||
margin-top: 60px !important;
|
||||
margin-top: 30px !important;
|
||||
}
|
||||
|
||||
.login_back input {
|
||||
|
@ -318,51 +324,40 @@ div.login_button_saml input:hover {
|
|||
}
|
||||
|
||||
div.login_data {
|
||||
max-width: 40.21vw;
|
||||
max-height: 21.82%;
|
||||
float: left;
|
||||
margin-left: 100px;
|
||||
margin-right: 0px;
|
||||
margin-top: 30px;
|
||||
padding-right: 0px;
|
||||
height: 100vh;
|
||||
padding-left: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
div.text_banner_login {
|
||||
width: 100%;
|
||||
margin-bottom: 60px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.text_banner_login span {
|
||||
width: 100%;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
span.span1 {
|
||||
font-size: 38px;
|
||||
letter-spacing: -0.38px;
|
||||
font-weight: bold;
|
||||
font-family: "lato-bolder";
|
||||
color: white;
|
||||
line-height: 49pt;
|
||||
}
|
||||
|
||||
span.span2 {
|
||||
font-size: 20px;
|
||||
letter-spacing: -0.26px;
|
||||
font-weight: 350;
|
||||
color: #c1ccdc;
|
||||
line-height: 32pt;
|
||||
}
|
||||
|
||||
div.img_banner_login {
|
||||
text-align: center;
|
||||
display: block;
|
||||
width: 700px;
|
||||
font-size: 80pt;
|
||||
line-height: 80pt;
|
||||
font-family: "lato-bolder";
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
div.img_banner_login img {
|
||||
max-width: 70%;
|
||||
min-width: 70%;
|
||||
max-height: 50%;
|
||||
min-height: 50%;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.reset_password {
|
||||
|
@ -380,7 +375,7 @@ div.img_banner_login img {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media all and (max-width: 1200px) {
|
||||
@media all and (max-width: 1266px) {
|
||||
span.span1 {
|
||||
font-size: 38px;
|
||||
letter-spacing: -0.38px;
|
||||
|
@ -389,11 +384,11 @@ div.img_banner_login img {
|
|||
line-height: 49pt;
|
||||
}
|
||||
span.span2 {
|
||||
font-size: 20px;
|
||||
letter-spacing: -0.26px;
|
||||
font-weight: 350;
|
||||
color: #c1ccdc;
|
||||
line-height: 32pt;
|
||||
width: 550px;
|
||||
font-size: 60pt;
|
||||
line-height: 60pt;
|
||||
font-family: "lato-bolder";
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -502,7 +497,8 @@ div.button_message_alert_form input {
|
|||
background-position: center center;
|
||||
width: 508px;
|
||||
height: 246px;
|
||||
margin-left: 1vw;
|
||||
transform: scale(0.8);
|
||||
margin-left: -50px;
|
||||
}
|
||||
|
||||
/* Horizontal lines */
|
||||
|
@ -708,13 +704,13 @@ div.login_pass input:-webkit-autofill,
|
|||
div.login_pass input:-webkit-autofill:hover,
|
||||
div.login_pass input:-webkit-autofill:focus,
|
||||
div.login_pass input:-webkit-autofill:active {
|
||||
background-color: #f6f7fb;
|
||||
-webkit-text-fill-color: #c5c5c5;
|
||||
border: 0px;
|
||||
border-radius: 3px;
|
||||
border-bottom: 1px solid #c5c5c5;
|
||||
border-radius: 0px;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
font-size: 10pt;
|
||||
padding: 0px 0px 0px 8%;
|
||||
font-size: 12pt;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 27px;
|
||||
background-position: right 10px bottom 50%;
|
||||
|
@ -728,26 +724,75 @@ div.login_pass input:-webkit-autofill:active {
|
|||
background-image: url("../../images/eye-closed-input.png");
|
||||
}
|
||||
|
||||
.content_alert {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
button.submitButton {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: row;
|
||||
min-width: 110px;
|
||||
height: 42px;
|
||||
height: 50px;
|
||||
font-size: 14px;
|
||||
font-family: "Pandora-Regular";
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
align-items: center;
|
||||
line-height: 24px;
|
||||
box-shadow: 0px 3px 6px #c7c7c7;
|
||||
color: #fff;
|
||||
border: 2px solid var(--primary-color);
|
||||
border-radius: 8px;
|
||||
border: 0px;
|
||||
border-radius: 15px;
|
||||
padding: 0 10px;
|
||||
cursor: pointer;
|
||||
z-index: 100;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.content_alert {
|
||||
margin: 0 !important;
|
||||
button.buttonButton:not(.secondary):not(.link):not(.mini),
|
||||
button.submitButton:not(.secondary):not(.link):not(.mini) {
|
||||
background: linear-gradient(90deg, #81b82f 0%, #1d7873 100%);
|
||||
}
|
||||
|
||||
button.submitButton:hover {
|
||||
background-position: 0 !important;
|
||||
}
|
||||
|
||||
button.submitButton > span {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 15pt;
|
||||
}
|
||||
|
||||
.input-container {
|
||||
height: 50px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.placeholder {
|
||||
color: #c5c5c5;
|
||||
top: 15px;
|
||||
left: 0px;
|
||||
font-size: 12pt;
|
||||
line-height: 14px;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
/* transform-origin: 0 100%; */
|
||||
/* transition: transform 2000ms, color 2000ms; */
|
||||
}
|
||||
|
||||
/* .input:focus ~ .placeholder,
|
||||
.input:not(:placeholder-shown) ~ .placeholder {
|
||||
transform: translateY(0px) scale(0.75);
|
||||
} */
|
||||
|
||||
.input:not(:placeholder-shown) ~ .placeholder {
|
||||
color: #c5c5c5;
|
||||
font-size: 9pt;
|
||||
top: -10px;
|
||||
}
|
||||
|
||||
.input:focus ~ .placeholder {
|
||||
color: #fff;
|
||||
font-size: 9pt;
|
||||
top: -10px;
|
||||
}
|
||||
|
|
|
@ -10553,6 +10553,18 @@ button div.cog.rotation {
|
|||
animation: rotation 4s infinite linear;
|
||||
}
|
||||
|
||||
div.status_dot {
|
||||
mask: url(../../images/status_dot.svg) no-repeat center / contain;
|
||||
-webkit-mask: url(../../images/status_dot.svg) no-repeat center / contain;
|
||||
}
|
||||
|
||||
.status_dot.ok {
|
||||
background-color: #82b92e;
|
||||
}
|
||||
|
||||
.status_dot.critical {
|
||||
background-color: #e63c52;
|
||||
}
|
||||
@keyframes rotation {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
|
|
|
@ -1525,3 +1525,12 @@ span.select2 {
|
|||
#tips_window_modal > div.window > div.description > #text_tip {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.agent_details_header span.subsection_header_title {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
pre code.hljs {
|
||||
background-color: #222222;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
|
@ -756,7 +756,7 @@ if (is_ajax() === true) {
|
|||
true,
|
||||
[
|
||||
'title' => __('New event'),
|
||||
'class' => 'forced-title main_menu_icon',
|
||||
'class' => 'forced-title invert_filter main_menu_icon',
|
||||
]
|
||||
);
|
||||
$state = 0;
|
||||
|
|
|
@ -1107,12 +1107,6 @@ $(document).ready (function () {
|
|||
});
|
||||
});
|
||||
|
||||
$("#submit-uptbutton").click (function () {
|
||||
if($("#autorefresh_list option").length > 0) {
|
||||
$('#autorefresh_list option').prop('selected', true);
|
||||
}
|
||||
});
|
||||
|
||||
check_default_block_size()
|
||||
$("#checkbox-default_block_size").change(function() {
|
||||
check_default_block_size();
|
||||
|
|
|
@ -71,7 +71,7 @@ try {
|
|||
[
|
||||
'id' => $tableId,
|
||||
'class' => 'info_table',
|
||||
'style' => 'width: 100%',
|
||||
'style' => 'width: 99%',
|
||||
'columns' => $columns,
|
||||
'column_names' => $column_names,
|
||||
'ajax_url' => $model->ajaxController,
|
||||
|
|
Loading…
Reference in New Issue