mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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']) {
|
if ($config['visual_animation']) {
|
||||||
|
// form#login_form, div.login_data {
|
||||||
echo '<style>
|
echo '<style>
|
||||||
div.container_login {
|
div.container_login {
|
||||||
animation: container_login 3s ease;
|
animation: container_login 3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -185,7 +186,7 @@ echo '</div>';
|
|||||||
|
|
||||||
echo '<div class="container_login">';
|
echo '<div class="container_login">';
|
||||||
echo '<div class="login_page">';
|
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.'">';
|
echo '<a href="'.$logo_link.'">';
|
||||||
if (is_metaconsole() === true) {
|
if (is_metaconsole() === true) {
|
||||||
if (!isset($config['custom_logo_login'])) {
|
if (!isset($config['custom_logo_login'])) {
|
||||||
@ -307,8 +308,9 @@ switch ($login_screen) {
|
|||||||
'',
|
'',
|
||||||
false,
|
false,
|
||||||
'',
|
'',
|
||||||
'autocomplete="off" placeholder="'.__('User').'"'
|
'autocomplete="off" class="input" placeholder=" "'
|
||||||
);
|
);
|
||||||
|
echo '<label for="nick" class="placeholder">'.__('User').'</label>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div class="login_pass">';
|
echo '<div class="login_pass">';
|
||||||
html_print_input_text_extended(
|
html_print_input_text_extended(
|
||||||
@ -320,20 +322,18 @@ switch ($login_screen) {
|
|||||||
'',
|
'',
|
||||||
false,
|
false,
|
||||||
'',
|
'',
|
||||||
'autocomplete="off" placeholder="'.__('Password').'"',
|
'autocomplete="off" class="input" placeholder=" "',
|
||||||
false,
|
false,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
echo '<label for="pass" class="placeholder">'.__('Password').'</label>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div class="login_button">';
|
echo '<div class="login_button">';
|
||||||
html_print_submit_button(
|
html_print_submit_button(
|
||||||
__('Login'),
|
__('Let's go'),
|
||||||
'login_button',
|
'login_button',
|
||||||
false,
|
false,
|
||||||
[
|
['fixed_id' => 'submit-login_button']
|
||||||
'fixed_id' => 'submit-login_button',
|
|
||||||
'icon' => 'signin',
|
|
||||||
]
|
|
||||||
);
|
);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
@ -350,11 +350,32 @@ switch ($login_screen) {
|
|||||||
echo '<div>';
|
echo '<div>';
|
||||||
|
|
||||||
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>';
|
||||||
echo '<div class="login_button">';
|
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, '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>';
|
echo '</div>';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -425,33 +446,8 @@ html_print_csrf_hidden();
|
|||||||
|
|
||||||
echo '</form></div>';
|
echo '</form></div>';
|
||||||
echo '<div class="login_data">';
|
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 class ="img_banner_login">';
|
||||||
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">';
|
|
||||||
if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
||||||
if (empty($config['custom_splash_login']) === false && $config['custom_splash_login'] !== 'default') {
|
if (empty($config['custom_splash_login']) === false && $config['custom_splash_login'] !== 'default') {
|
||||||
html_print_image(
|
html_print_image(
|
||||||
@ -467,35 +463,61 @@ if (file_exists(ENTERPRISE_DIR.'/load_enterprise.php')) {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
echo '
|
echo '
|
||||||
<div class="loginimg-container">
|
<div class="loginimg-container">
|
||||||
<div class="lineone"></div>
|
<div class="lineone"></div>
|
||||||
<div class="linetwo"></div>
|
<div class="linetwo"></div>
|
||||||
<div class="linethree"></div>
|
<div class="linethree"></div>
|
||||||
<div style="display:flex;">
|
<div style="display:flex;">
|
||||||
<div class="towerone"></div>
|
<div class="towerone"></div>
|
||||||
<div class="towertwo"></div>
|
<div class="towertwo"></div>
|
||||||
<div class="towerthree"></div>
|
<div class="towerthree"></div>
|
||||||
<div class="towerfour"></div>
|
<div class="towerfour"></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
';
|
||||||
';
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo '
|
echo '
|
||||||
<div class="loginimg-container">
|
<div class="loginimg-container">
|
||||||
<div class="lineone"></div>
|
<div class="lineone"></div>
|
||||||
<div class="linetwo"></div>
|
<div class="linetwo"></div>
|
||||||
<div class="linethree"></div>
|
<div class="linethree"></div>
|
||||||
<div style="display:flex;">
|
<div style="display:flex;">
|
||||||
<div class="towerone"></div>
|
<div class="towerone"></div>
|
||||||
<div class="towertwo"></div>
|
<div class="towertwo"></div>
|
||||||
<div class="towerthree"></div>
|
<div class="towerthree"></div>
|
||||||
<div class="towerfour"></div>
|
<div class="towerfour"></div>
|
||||||
|
</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>';
|
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) {
|
||||||
if (is_error($id_agent_module) === true) {
|
switch ($id_agent_module) {
|
||||||
switch ($id_agent_module) {
|
case ERR_EXIST:
|
||||||
case ERR_EXIST:
|
$msg = __('There was a problem adding module. Another module already exists with the same name.');
|
||||||
$msg = __('There was a problem adding module. Another module already exists with the same name.');
|
break;
|
||||||
break;
|
|
||||||
|
|
||||||
case ERR_INCOMPLETE:
|
case ERR_INCOMPLETE:
|
||||||
$msg = __('There was a problem adding module. Some required fields are missed : (name)');
|
$msg = __('There was a problem adding module. Some required fields are missed : (name)');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ERR_DB:
|
case ERR_DB:
|
||||||
case ERR_GENERIC:
|
case ERR_GENERIC:
|
||||||
default:
|
default:
|
||||||
$msg = __('There was a problem adding module. Processing error');
|
$msg = __('There was a problem adding module. Processing error');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// I save the result of the action (insert or update).
|
// I save the result of the action (insert or update).
|
||||||
$success_action = $id_agent_module;
|
$success_action = $id_agent_module;
|
||||||
|
|
||||||
$id_agent_module = false;
|
$id_agent_module = false;
|
||||||
ui_print_error_message($msg);
|
ui_print_error_message($msg);
|
||||||
$edit_module = true;
|
$edit_module = true;
|
||||||
$moduletype = $id_module;
|
$moduletype = $id_module;
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_AGENT_MANAGEMENT,
|
AUDIT_LOG_AGENT_MANAGEMENT,
|
||||||
"Fail to try added module '".io_safe_output($name)."' for agent ".io_safe_output($agent['alias'])
|
"Fail to try added module '".io_safe_output($name)."' for agent ".io_safe_output($agent['alias'])
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
if ($prediction_module === MODULE_PREDICTION_SYNTHETIC) {
|
if ($prediction_module === MODULE_PREDICTION_SYNTHETIC) {
|
||||||
enterprise_hook(
|
enterprise_hook(
|
||||||
'modules_create_synthetic_operations',
|
'modules_create_synthetic_operations',
|
||||||
[
|
[
|
||||||
$id_agent_module,
|
$id_agent_module,
|
||||||
$serialize_ops,
|
$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)
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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',
|
'class' => 'action-buttons-right-forced',
|
||||||
'content' => html_print_submit_button(
|
'content' => html_print_submit_button(
|
||||||
__('Create'),
|
__('Create'),
|
||||||
'create_module',
|
'modal_button_create',
|
||||||
false,
|
false,
|
||||||
[
|
[
|
||||||
'icon' => 'next',
|
'icon' => 'next',
|
||||||
@ -1142,7 +1142,6 @@ html_print_div(
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function create_module_dialog(){
|
function create_module_dialog(){
|
||||||
console.log('Entra');
|
|
||||||
$('#modal').dialog({
|
$('#modal').dialog({
|
||||||
title: '<?php echo __('Create Module'); ?>',
|
title: '<?php echo __('Create Module'); ?>',
|
||||||
resizable: true,
|
resizable: true,
|
||||||
|
@ -133,6 +133,7 @@ $table->data[1][1] = '<a href="javascript:">'.html_print_image(
|
|||||||
'id' => 'right',
|
'id' => 'right',
|
||||||
'title' => __('Add fields to select'),
|
'title' => __('Add fields to select'),
|
||||||
'style' => 'rotate: 180deg;',
|
'style' => 'rotate: 180deg;',
|
||||||
|
'class' => 'main_menu_icon invert_filter',
|
||||||
]
|
]
|
||||||
).'</a>';
|
).'</a>';
|
||||||
$table->data[1][1] .= '<br><br><br><br><a href="javascript:">'.html_print_image(
|
$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\');',
|
'onclick' => 'sortUpDown(\'up\');',
|
||||||
'title' => __('Move up selected fields'),
|
'title' => __('Move up selected fields'),
|
||||||
|
'class' => 'main_menu_icon invert_filter',
|
||||||
]
|
]
|
||||||
).'</a>';
|
).'</a>';
|
||||||
$table->data[1][2] .= '<a href="javascript:">'.html_print_image(
|
$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\');',
|
'onclick' => 'sortUpDown(\'down\');',
|
||||||
'title' => __('Move down selected fields'),
|
'title' => __('Move down selected fields'),
|
||||||
|
'class' => 'main_menu_icon invert_filter',
|
||||||
]
|
]
|
||||||
).'</a>';
|
).'</a>';
|
||||||
$table->data[1][2] .= '</div></div>';
|
$table->data[1][2] .= '</div></div>';
|
||||||
|
@ -925,7 +925,7 @@ if ($tab == 'tree') {
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'style' => '',
|
'style' => '',
|
||||||
'class' => 'bot',
|
'class' => 'bot main_menu_icon invert_filter',
|
||||||
'alt' => io_safe_input($group['nombre']),
|
'alt' => io_safe_input($group['nombre']),
|
||||||
'title' => 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 = new StdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = 'databox filters';
|
$table->class = 'filter-table-adv';
|
||||||
$table->data = [];
|
$table->data = [];
|
||||||
$table->style[0] = 'font-weight: bold';
|
$table->size[0] = '50%';
|
||||||
|
$table->size[1] = '50%';
|
||||||
|
|
||||||
$table->size[0] = '70%';
|
$table->data[0][0] = html_print_label_input_block(
|
||||||
$table->size[1] = '30%';
|
__('Max. days before delete events'),
|
||||||
|
html_print_input(
|
||||||
$table->data[1][0] = __('Max. days before delete events');
|
[
|
||||||
$table->data[1][1] = html_print_input(
|
'type' => 'number',
|
||||||
[
|
'size' => 5,
|
||||||
'type' => 'number',
|
'max' => $performance_variables_control['event_purge']->max,
|
||||||
'size' => 5,
|
'name' => 'event_purge',
|
||||||
'max' => $performance_variables_control['event_purge']->max,
|
'value' => $config['event_purge'],
|
||||||
'name' => 'event_purge',
|
'return' => true,
|
||||||
'value' => $config['event_purge'],
|
'min' => $performance_variables_control['event_purge']->min,
|
||||||
'return' => true,
|
]
|
||||||
'min' => $performance_variables_control['event_purge']->min,
|
)
|
||||||
'style' => 'width:43px',
|
|
||||||
]
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[2][0] = __('Max. days before delete traps');
|
$table->data[0][1] = html_print_label_input_block(
|
||||||
$table->data[2][1] = html_print_input(
|
__('Max. days before delete traps'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['trap_purge']->max,
|
'size' => 5,
|
||||||
'name' => 'trap_purge',
|
'max' => $performance_variables_control['trap_purge']->max,
|
||||||
'value' => $config['trap_purge'],
|
'name' => 'trap_purge',
|
||||||
'return' => true,
|
'value' => $config['trap_purge'],
|
||||||
'min' => $performance_variables_control['trap_purge']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['trap_purge']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[3][0] = __('Max. days before delete audit events');
|
$table->data[1][0] = html_print_label_input_block(
|
||||||
$table->data[3][1] = html_print_input(
|
__('Max. days before delete audit events'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['audit_purge']->max,
|
'size' => 5,
|
||||||
'name' => 'audit_purge',
|
'max' => $performance_variables_control['audit_purge']->max,
|
||||||
'value' => $config['audit_purge'],
|
'name' => 'audit_purge',
|
||||||
'return' => true,
|
'value' => $config['audit_purge'],
|
||||||
'min' => $performance_variables_control['audit_purge']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['audit_purge']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[4][0] = __('Max. days before delete string data');
|
$table->data[1][1] = html_print_label_input_block(
|
||||||
$table->data[4][1] = html_print_input(
|
__('Max. days before delete string data'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['string_purge']->max,
|
'size' => 5,
|
||||||
'name' => 'string_purge',
|
'max' => $performance_variables_control['string_purge']->max,
|
||||||
'value' => $config['string_purge'],
|
'name' => 'string_purge',
|
||||||
'return' => true,
|
'value' => $config['string_purge'],
|
||||||
'min' => $performance_variables_control['string_purge']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['string_purge']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[5][0] = __('Max. days before delete GIS data');
|
$table->data[2][0] = html_print_label_input_block(
|
||||||
$table->data[5][1] = html_print_input(
|
__('Max. days before delete GIS data'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['gis_purge']->max,
|
'size' => 5,
|
||||||
'name' => 'gis_purge',
|
'max' => $performance_variables_control['gis_purge']->max,
|
||||||
'value' => $config['gis_purge'],
|
'name' => 'gis_purge',
|
||||||
'return' => true,
|
'value' => $config['gis_purge'],
|
||||||
'min' => $performance_variables_control['gis_purge']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['gis_purge']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[6][0] = __('Max. days before purge');
|
$table->data[2][1] = html_print_label_input_block(
|
||||||
$table->data[6][1] = html_print_input(
|
__('Max. days before purge'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['days_purge']->max,
|
'size' => 5,
|
||||||
'name' => 'days_purge',
|
'max' => $performance_variables_control['days_purge']->max,
|
||||||
'value' => $config['days_purge'],
|
'name' => 'days_purge',
|
||||||
'return' => true,
|
'value' => $config['days_purge'],
|
||||||
'min' => $performance_variables_control['days_purge']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['days_purge']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[7][0] = __('Max. days before compact data');
|
$table->data[3][0] = html_print_label_input_block(
|
||||||
$table->data[7][1] = html_print_input(
|
__('Max. days before compact data'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['days_compact']->max,
|
'size' => 5,
|
||||||
'name' => 'days_compact',
|
'max' => $performance_variables_control['days_compact']->max,
|
||||||
'value' => $config['days_compact'],
|
'name' => 'days_compact',
|
||||||
'return' => true,
|
'value' => $config['days_compact'],
|
||||||
'min' => $performance_variables_control['days_compact']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['days_compact']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[8][0] = __('Max. days before delete unknown modules');
|
$table->data[3][1] = html_print_label_input_block(
|
||||||
$table->data[8][1] = html_print_input(
|
__('Max. days before delete unknown modules'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['days_delete_unknown']->max,
|
'size' => 5,
|
||||||
'name' => 'days_delete_unknown',
|
'max' => $performance_variables_control['days_delete_unknown']->max,
|
||||||
'value' => $config['days_delete_unknown'],
|
'name' => 'days_delete_unknown',
|
||||||
'return' => true,
|
'value' => $config['days_delete_unknown'],
|
||||||
'min' => $performance_variables_control['days_delete_unknown']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['days_delete_unknown']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$table->data[4][0] = html_print_label_input_block(
|
||||||
$table->data[9][0] = __('Max. days before delete not initialized modules');
|
__('Max. days before delete not initialized modules'),
|
||||||
$table->data[9][1] = html_print_input(
|
html_print_input(
|
||||||
[
|
[
|
||||||
'type' => 'number',
|
'type' => 'number',
|
||||||
'size' => 5,
|
'size' => 5,
|
||||||
'max' => $performance_variables_control['days_delete_not_initialized']->max,
|
'max' => $performance_variables_control['days_delete_not_initialized']->max,
|
||||||
'name' => 'days_delete_not_initialized',
|
'name' => 'days_delete_not_initialized',
|
||||||
'value' => $config['days_delete_not_initialized'],
|
'value' => $config['days_delete_not_initialized'],
|
||||||
'return' => true,
|
'return' => true,
|
||||||
'min' => $performance_variables_control['days_delete_not_initialized']->min,
|
'min' => $performance_variables_control['days_delete_not_initialized']->min,
|
||||||
'style' => 'width:43px',
|
]
|
||||||
]
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[10][0] = __('Max. days before delete autodisabled agents');
|
$table->data[4][1] = html_print_label_input_block(
|
||||||
$table->data[10][1] = html_print_input(
|
__('Max. days before delete autodisabled agents'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['days_autodisable_deletion']->max,
|
'size' => 5,
|
||||||
'name' => 'days_autodisable_deletion',
|
'max' => $performance_variables_control['days_autodisable_deletion']->max,
|
||||||
'value' => $config['days_autodisable_deletion'],
|
'name' => 'days_autodisable_deletion',
|
||||||
'return' => true,
|
'value' => $config['days_autodisable_deletion'],
|
||||||
'min' => $performance_variables_control['days_autodisable_deletion']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['days_autodisable_deletion']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[11][0] = __('Retention period of past special days');
|
$table->data[5][0] = html_print_label_input_block(
|
||||||
$table->data[11][1] = html_print_input_text(
|
__('Retention period of past special days'),
|
||||||
'num_past_special_days',
|
html_print_input_text(
|
||||||
$config['num_past_special_days'],
|
'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'],
|
|
||||||
'',
|
'',
|
||||||
5,
|
false,
|
||||||
5,
|
5,
|
||||||
true
|
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 ($config['history_db_enabled'] == 1) {
|
||||||
if (! isset($config['history_db_connection'])
|
if (! isset($config['history_db_connection'])
|
||||||
@ -459,86 +458,94 @@ if ($config['history_db_enabled'] == 1) {
|
|||||||
|
|
||||||
$table_historical = new StdClass();
|
$table_historical = new StdClass();
|
||||||
$table_historical->width = '100%';
|
$table_historical->width = '100%';
|
||||||
$table_historical->class = 'databox filters';
|
$table_historical->class = 'filter-table-adv';
|
||||||
$table_historical->data = [];
|
$table_historical->data = [];
|
||||||
$table_historical->style[0] = 'font-weight: bold';
|
|
||||||
|
|
||||||
$table_historical->size[0] = '70%';
|
$table_historical->size[0] = '50%';
|
||||||
$table_historical->size[1] = '30%';
|
$table_historical->size[1] = '50%';
|
||||||
|
|
||||||
enterprise_hook('enterprise_warnings_history_days');
|
enterprise_hook('enterprise_warnings_history_days');
|
||||||
|
|
||||||
$table_historical->data[0][0] = __('Max. days before purge');
|
$table_historical->data[0][0] = html_print_label_input_block(
|
||||||
$table_historical->data[0][1] = html_print_input_text(
|
__('Max. days before purge'),
|
||||||
'historical_days_purge',
|
html_print_input_text(
|
||||||
$config_history['days_purge'],
|
'historical_days_purge',
|
||||||
'',
|
$config_history['days_purge'],
|
||||||
5,
|
'',
|
||||||
5,
|
false,
|
||||||
true
|
5,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_historical->data[1][0] = __('Max. days before compact data');
|
$table_historical->data[0][1] = html_print_label_input_block(
|
||||||
$table_historical->data[1][1] = html_print_input_text(
|
__('Max. days before compact data'),
|
||||||
'historical_days_compact',
|
html_print_input_text(
|
||||||
$config_history['days_compact'],
|
'historical_days_compact',
|
||||||
'',
|
$config_history['days_compact'],
|
||||||
5,
|
'',
|
||||||
5,
|
false,
|
||||||
true
|
5,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_historical->data[2][0] = __('Compact interpolation in hours (1 Fine-20 bad)');
|
$table_historical->data[1][0] = html_print_label_input_block(
|
||||||
$table_historical->data[2][1] = html_print_input_text(
|
__('Compact interpolation in hours (1 Fine-20 bad)'),
|
||||||
'historical_step_compact',
|
html_print_input_text(
|
||||||
$config_history['step_compact'],
|
'historical_step_compact',
|
||||||
'',
|
$config_history['step_compact'],
|
||||||
5,
|
'',
|
||||||
5,
|
false,
|
||||||
true
|
5,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_historical->data[3][0] = __('Max. days before delete events');
|
$table_historical->data[1][1] = html_print_label_input_block(
|
||||||
$table_historical->data[3][1] = html_print_input_text(
|
__('Max. days before delete events'),
|
||||||
'historical_event_purge',
|
html_print_input_text(
|
||||||
$config_history['event_purge'],
|
'historical_event_purge',
|
||||||
'',
|
$config_history['event_purge'],
|
||||||
5,
|
'',
|
||||||
5,
|
false,
|
||||||
true
|
5,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_historical->data[4][0] = __('Max. days before delete string data');
|
$table_historical->data[2][0] = html_print_label_input_block(
|
||||||
$table_historical->data[4][1] = html_print_input_text(
|
__('Max. days before delete string data'),
|
||||||
'historical_string_purge',
|
html_print_input_text(
|
||||||
$config_history['string_purge'],
|
'historical_string_purge',
|
||||||
'',
|
$config_history['string_purge'],
|
||||||
5,
|
'',
|
||||||
5,
|
5,
|
||||||
true
|
5,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_historical->data[4][1] .= html_print_input_hidden(
|
$table_historical->data[2][0] .= html_print_input_hidden(
|
||||||
'historical_history_db_enabled',
|
'historical_history_db_enabled',
|
||||||
0,
|
0,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$table->data[] = [
|
$table->data[6][0] = html_print_label_input_block(
|
||||||
__('Max. days before delete old messages'),
|
__('Max. days before delete old messages'),
|
||||||
html_print_input_text(
|
html_print_input_text(
|
||||||
'delete_old_messages',
|
'delete_old_messages',
|
||||||
$config['delete_old_messages'],
|
$config['delete_old_messages'],
|
||||||
'',
|
'',
|
||||||
5,
|
false,
|
||||||
5,
|
5,
|
||||||
true
|
true
|
||||||
),
|
)
|
||||||
];
|
);
|
||||||
|
|
||||||
|
$table->data[6][1] = html_print_label_input_block(
|
||||||
$table->data[] = [
|
|
||||||
__('Max. days before delete old network matrix data'),
|
__('Max. days before delete old network matrix data'),
|
||||||
html_print_input(
|
html_print_input(
|
||||||
[
|
[
|
||||||
@ -549,55 +556,71 @@ $table->data[] = [
|
|||||||
'value' => $config['delete_old_network_matrix'],
|
'value' => $config['delete_old_network_matrix'],
|
||||||
'return' => true,
|
'return' => true,
|
||||||
'min' => $performance_variables_control['delete_old_network_matrix']->min,
|
'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 = new stdClass();
|
||||||
$table_other->width = '100%';
|
$table_other->width = '100%';
|
||||||
$table_other->class = 'databox filters';
|
$table_other->class = 'filter-table-adv';
|
||||||
$table_other->data = [];
|
$table_other->data = [];
|
||||||
$table_other->style[0] = 'font-weight: bold';
|
|
||||||
|
|
||||||
$table_other->size[0] = '70%';
|
$table_other->size[0] = '50%';
|
||||||
$table_other->size[1] = '30%';
|
$table_other->size[1] = '50%';
|
||||||
$i = 0;
|
|
||||||
$table_other->data[$i][0] = __('Item limit for realtime reports');
|
$table_other->data[0][0] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input(
|
__('Item limit for realtime reports'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['report_limit']->max,
|
'size' => 5,
|
||||||
'name' => 'report_limit',
|
'max' => $performance_variables_control['report_limit']->max,
|
||||||
'value' => $config['report_limit'],
|
'name' => 'report_limit',
|
||||||
'return' => true,
|
'value' => $config['report_limit'],
|
||||||
'min' => $performance_variables_control['report_limit']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['report_limit']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('Limit of events per query');
|
$table_other->data[0][1] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input(
|
__('Limit of events per query'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => 10000,
|
'size' => 5,
|
||||||
'name' => 'events_per_query',
|
'max' => 10000,
|
||||||
'value' => $config['events_per_query'],
|
'name' => 'events_per_query',
|
||||||
'return' => true,
|
'value' => $config['events_per_query'],
|
||||||
'style' => 'width:50px',
|
'return' => true,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('Compact interpolation in hours (1 Fine-20 bad)');
|
$table_other->data[1][0] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
__('Compact interpolation in hours (1 Fine-20 bad)'),
|
||||||
'step_compact',
|
html_print_input_text(
|
||||||
$config['step_compact'],
|
'step_compact',
|
||||||
'',
|
$config['step_compact'],
|
||||||
5,
|
'',
|
||||||
5,
|
false,
|
||||||
true
|
5,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$intervals = [];
|
$intervals = [];
|
||||||
@ -610,140 +633,172 @@ $intervals[SECONDS_1WEEK] = __('Last week');
|
|||||||
$intervals[SECONDS_2WEEK] = __('2 weeks');
|
$intervals[SECONDS_2WEEK] = __('2 weeks');
|
||||||
$intervals[SECONDS_1MONTH] = __('Last month');
|
$intervals[SECONDS_1MONTH] = __('Last month');
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('Default hours for event view');
|
$table_other->data[1][1] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input(
|
__('Default hours for event view'),
|
||||||
[
|
html_print_input(
|
||||||
'type' => 'number',
|
[
|
||||||
'size' => 5,
|
'type' => 'number',
|
||||||
'max' => $performance_variables_control['event_view_hr']->max,
|
'size' => 5,
|
||||||
'name' => 'event_view_hr',
|
'max' => $performance_variables_control['event_view_hr']->max,
|
||||||
'value' => $config['event_view_hr'],
|
'name' => 'event_view_hr',
|
||||||
'return' => true,
|
'value' => $config['event_view_hr'],
|
||||||
'min' => $performance_variables_control['event_view_hr']->min,
|
'return' => true,
|
||||||
'style' => 'width:43px',
|
'min' => $performance_variables_control['event_view_hr']->min,
|
||||||
]
|
]
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('Use realtime statistics');
|
$table_other->data[2][0] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_checkbox_switch(
|
__('Use realtime statistics'),
|
||||||
'realtimestats',
|
html_print_checkbox_switch(
|
||||||
1,
|
'realtimestats',
|
||||||
$config['realtimestats'],
|
1,
|
||||||
true
|
$config['realtimestats'],
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('Batch statistics period (secs)');
|
$table_other->data[2][1] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
__('Batch statistics period (secs)'),
|
||||||
'stats_interval',
|
html_print_input_text(
|
||||||
$config['stats_interval'],
|
'stats_interval',
|
||||||
'',
|
$config['stats_interval'],
|
||||||
5,
|
'',
|
||||||
5,
|
false,
|
||||||
true
|
5,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('Use agent access graph');
|
$table_other->data[3][0] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_checkbox_switch('agentaccess', 1, $config['agentaccess'], true, $disable_agentaccess);
|
__('Use agent access graph'),
|
||||||
|
html_print_checkbox_switch(
|
||||||
$table_other->data[$i][0] = __('Max. recommended number of files in attachment directory');
|
'agentaccess',
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
1,
|
||||||
'num_files_attachment',
|
$config['agentaccess'],
|
||||||
$config['num_files_attachment'],
|
true,
|
||||||
'',
|
$disable_agentaccess
|
||||||
5,
|
)
|
||||||
5,
|
|
||||||
true
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('Delete not init modules');
|
$table_other->data[3][1] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_checkbox_switch('delete_notinit', 1, $config['delete_notinit'], true);
|
__('Max. recommended number of files in attachment directory'),
|
||||||
|
html_print_input_text(
|
||||||
$table_other->data[$i][0] = __('Big Operation Step to purge old data');
|
'num_files_attachment',
|
||||||
$table_other->data[$i++][1] = html_print_input(
|
$config['num_files_attachment'],
|
||||||
[
|
'',
|
||||||
'type' => 'number',
|
false,
|
||||||
'size' => 5,
|
5,
|
||||||
'max' => $performance_variables_control['big_operation_step_datos_purge']->max,
|
true
|
||||||
'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[4][0] = html_print_label_input_block(
|
||||||
|
__('Delete not init modules'),
|
||||||
$table_other->data[$i][0] = __('Small Operation Step to purge old data');
|
html_print_checkbox_switch(
|
||||||
$table_other->data[$i++][1] = html_print_input(
|
'delete_notinit',
|
||||||
[
|
1,
|
||||||
'type' => 'number',
|
$config['delete_notinit'],
|
||||||
'size' => 5,
|
true
|
||||||
'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[$i][0] = __('Graph container - Max. Items');
|
$table_other->data[4][1] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
__('Big Operation Step to purge old data'),
|
||||||
'max_graph_container',
|
html_print_input(
|
||||||
$config['max_graph_container'],
|
[
|
||||||
'',
|
'type' => 'number',
|
||||||
5,
|
'size' => 5,
|
||||||
5,
|
'max' => $performance_variables_control['big_operation_step_datos_purge']->max,
|
||||||
true
|
'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[5][0] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
__('Small Operation Step to purge old data'),
|
||||||
'max_execution_event_response',
|
html_print_input(
|
||||||
$config['max_execution_event_response'],
|
[
|
||||||
'',
|
'type' => 'number',
|
||||||
5,
|
'size' => 5,
|
||||||
5,
|
'max' => $performance_variables_control['small_operation_step_datos_purge']->max,
|
||||||
true
|
'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[5][1] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input(
|
__('Graph container - Max. Items'),
|
||||||
[
|
html_print_input_text(
|
||||||
'type' => 'number',
|
'max_graph_container',
|
||||||
'size' => 5,
|
$config['max_graph_container'],
|
||||||
'max' => $performance_variables_control['row_limit_csv']->max,
|
'',
|
||||||
'name' => 'row_limit_csv',
|
false,
|
||||||
'value' => $config['row_limit_csv'],
|
5,
|
||||||
'return' => true,
|
true
|
||||||
'min' => $performance_variables_control['row_limit_csv']->min,
|
)
|
||||||
'style' => 'width:63px',
|
|
||||||
]
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('SNMP walk binary');
|
$table_other->data[6][0] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
__('Events response max. execution'),
|
||||||
'snmpwalk',
|
html_print_input_text(
|
||||||
$config['snmpwalk'],
|
'max_execution_event_response',
|
||||||
'',
|
$config['max_execution_event_response'],
|
||||||
50,
|
'',
|
||||||
10,
|
false,
|
||||||
true
|
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(
|
$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).'),
|
__('SNMP bulk walk is not able to request V1 SNMP, this option will be used instead (by default snmpwalk, slower).'),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$table_other->data[$i][0] = __('SNMP walk binary (fallback)').$tip;
|
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
$table_other->data[7][1] = html_print_label_input_block(
|
||||||
'snmpwalk_fallback',
|
__('SNMP walk binary (fallback)').$tip,
|
||||||
$config['snmpwalk_fallback'],
|
html_print_input_text(
|
||||||
'',
|
'snmpwalk_fallback',
|
||||||
50,
|
$config['snmpwalk_fallback'],
|
||||||
10,
|
'',
|
||||||
true
|
false,
|
||||||
|
10,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$tip = ui_print_help_tip(
|
$tip = ui_print_help_tip(
|
||||||
@ -754,36 +809,40 @@ $tip = ui_print_help_tip(
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$table_other->data[$i][0] = __('WMI binary');
|
$table_other->data[8][0] = html_print_label_input_block(
|
||||||
$table_other->data[$i++][1] = html_print_input_text(
|
__('WMI binary'),
|
||||||
'wmiBinary',
|
html_print_input_text(
|
||||||
$config['wmiBinary'],
|
'wmiBinary',
|
||||||
'',
|
$config['wmiBinary'],
|
||||||
50,
|
'',
|
||||||
50,
|
false,
|
||||||
true
|
50,
|
||||||
|
true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Agent Wizard defaults.
|
// Agent Wizard defaults.
|
||||||
$defaultAgentWizardOptions = json_decode(io_safe_output($config['agent_wizard_defaults']));
|
$defaultAgentWizardOptions = json_decode(io_safe_output($config['agent_wizard_defaults']));
|
||||||
$tableSnmpWizard = new stdClass();
|
$tableSnmpWizard = new stdClass();
|
||||||
$tableSnmpWizard->width = '100%';
|
$tableSnmpWizard->width = '100%';
|
||||||
$tableSnmpWizard->class = 'databox filters';
|
$tableSnmpWizard->class = 'filter-table-adv';
|
||||||
$tableSnmpWizard->data = [];
|
$tableSnmpWizard->data = [];
|
||||||
$tableSnmpWizard->style[0] = 'font-weight: bold';
|
$tableSnmpWizard->size[0] = '50%';
|
||||||
$tableSnmpWizard->style[2] = 'font-weight: bold';
|
$tableSnmpWizard->size[1] = '50%';
|
||||||
$tableSnmpWizard->size[0] = '30%';
|
|
||||||
$tableSnmpWizard->size[2] = '30%';
|
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$j = 0;
|
$j = 0;
|
||||||
foreach ($defaultAgentWizardOptions as $key => $value) {
|
foreach ($defaultAgentWizardOptions as $key => $value) {
|
||||||
$tableSnmpWizard->data[$i][$j++] = $key;
|
if ($i > 1) {
|
||||||
$tableSnmpWizard->data[$i][$j++] = html_print_checkbox_switch('agent_wizard_defaults_'.$key, 1, $value, true);
|
$i = 0;
|
||||||
if ($j >= 3) {
|
$j++;
|
||||||
$j = 0;
|
|
||||||
$i++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$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">';
|
echo '<form id="form_setup" method="post">';
|
||||||
@ -817,18 +876,14 @@ echo '</fieldset>';
|
|||||||
|
|
||||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||||
html_print_input_hidden('update_config', 1);
|
html_print_input_hidden('update_config', 1);
|
||||||
html_print_div(
|
$actionButtons = html_print_submit_button(
|
||||||
[
|
__('Update'),
|
||||||
'class' => 'action-buttons w100p',
|
'update_button',
|
||||||
'content' => html_print_submit_button(
|
false,
|
||||||
__('Update'),
|
[ 'icon' => 'update' ],
|
||||||
'update_button',
|
true
|
||||||
false,
|
|
||||||
[ 'icon' => 'update' ],
|
|
||||||
true
|
|
||||||
),
|
|
||||||
]
|
|
||||||
);
|
);
|
||||||
|
html_print_action_buttons($actionButtons, ['type' => 'form_action']);
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -1694,7 +1694,7 @@ $csvDividerInputs .= html_print_image(
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'id' => 'select_csv_divider',
|
'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->cellpadding = 4;
|
||||||
$table->cellspacing = 4;
|
$table->cellspacing = 4;
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = 'databox data';
|
$table->class = 'info_table';
|
||||||
$table->align = [];
|
$table->align = [];
|
||||||
|
|
||||||
$table->head[0] = '<span title="'.__('Position').'">'.__('P.').'</span>';
|
$table->head[0] = '<span title="'.__('Position').'">'.__('P.').'</span>';
|
||||||
@ -1983,7 +1983,7 @@ if ($create_alert || $update_alert) {
|
|||||||
[
|
[
|
||||||
'alt' => __('Duplicate'),
|
'alt' => __('Duplicate'),
|
||||||
'title' => __('Duplicate'),
|
'title' => __('Duplicate'),
|
||||||
'class' => 'main_menu_icon invert_filter',
|
'class' => 'main_menu_icon',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -2001,7 +2001,7 @@ if ($create_alert || $update_alert) {
|
|||||||
[
|
[
|
||||||
'alt' => __('Update'),
|
'alt' => __('Update'),
|
||||||
'border' => 0,
|
'border' => 0,
|
||||||
'class' => 'main_menu_icon invert_filter',
|
'class' => 'main_menu_icon',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -2031,6 +2031,7 @@ if ($create_alert || $update_alert) {
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Delete action'),
|
'title' => __('Delete action'),
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
'onClick' => 'delete_snmp_alert('.$row['id_as'].')',
|
'onClick' => 'delete_snmp_alert('.$row['id_as'].')',
|
||||||
|
@ -392,6 +392,7 @@ if ($create_user === true) {
|
|||||||
$values['timezone'] = (string) get_parameter('timezone');
|
$values['timezone'] = (string) get_parameter('timezone');
|
||||||
$values['default_event_filter'] = (int) get_parameter('default_event_filter');
|
$values['default_event_filter'] = (int) get_parameter('default_event_filter');
|
||||||
$values['default_custom_view'] = (int) get_parameter('default_custom_view');
|
$values['default_custom_view'] = (int) get_parameter('default_custom_view');
|
||||||
|
$values['time_autorefresh'] = (int) get_parameter('time_autorefresh', 0);
|
||||||
$dashboard = get_parameter('dashboard', '');
|
$dashboard = get_parameter('dashboard', '');
|
||||||
$visual_console = get_parameter('visual_console', '');
|
$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_event_filter'] = (int) get_parameter('default_event_filter');
|
||||||
$values['default_custom_view'] = (int) get_parameter('default_custom_view');
|
$values['default_custom_view'] = (int) get_parameter('default_custom_view');
|
||||||
$values['show_tips_startup'] = (int) get_parameter_switch('show_tips_startup');
|
$values['show_tips_startup'] = (int) get_parameter_switch('show_tips_startup');
|
||||||
|
$values['time_autorefresh'] = (int) get_parameter('time_autorefresh');
|
||||||
// API Token information.
|
// API Token information.
|
||||||
$apiTokenRenewed = (bool) get_parameter('renewAPIToken');
|
$apiTokenRenewed = (bool) get_parameter('renewAPIToken');
|
||||||
$values['api_token'] = ($apiTokenRenewed === true) ? api_token_generate() : users_get_API_token($values['id_user']);
|
$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';
|
$autorefresh_list_out['operation/events/events'] = 'Events';
|
||||||
|
|
||||||
|
|
||||||
if (isset($autorefresh_list) === false) {
|
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 = '".$config['id_user']."'");
|
$select = db_process_sql("SELECT autorefresh_white_list FROM tusuario WHERE id_user = '".$id."'");
|
||||||
$autorefresh_list = json_decode($select[0]['autorefresh_white_list']);
|
$autorefresh_list = json_decode($select[0]['autorefresh_white_list']);
|
||||||
if ($autorefresh_list === null) {
|
if ($autorefresh_list === null) {
|
||||||
$autorefresh_list[0] = __('None');
|
$autorefresh_list[0] = __('None');
|
||||||
@ -1645,9 +1647,13 @@ if ($new_user === true) {
|
|||||||
html_print_input_hidden('json_profile', $json_profile);
|
html_print_input_hidden('json_profile', $json_profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</div>';
|
|
||||||
|
|
||||||
echo '</form>';
|
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>';
|
echo '</div>';
|
||||||
|
|
||||||
$actionButtons = [];
|
$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) {
|
$("input#checkbox-double_auth").change(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
|
@ -451,9 +451,9 @@ if ($delete_user === true) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$filter_group = (int) get_parameter('filter_group', 0);
|
$filter_group = (int) get_parameter('filter_group', 0);
|
||||||
$filter_search = get_parameter('filter_search', '');
|
$filter_search = get_parameter('filter_search', '');
|
||||||
$search = (bool) get_parameter('search', false);
|
$search = (bool) get_parameter('search', false);
|
||||||
|
|
||||||
if (($filter_group == 0) && ($filter_search == '')) {
|
if (($filter_group == 0) && ($filter_search == '')) {
|
||||||
$search = false;
|
$search = false;
|
||||||
@ -803,7 +803,6 @@ foreach ($info as $user_id => $user_info) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[4] .= '<br/>';
|
|
||||||
$data[4] .= '<br/>';
|
$data[4] .= '<br/>';
|
||||||
|
|
||||||
$total_profile++;
|
$total_profile++;
|
||||||
|
@ -763,23 +763,3 @@ html_print_div(
|
|||||||
);
|
);
|
||||||
|
|
||||||
html_print_table($userManagementTable);
|
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(
|
$data[6] = html_print_image(
|
||||||
'images/cluster@os.svg',
|
'images/cluster@os.svg',
|
||||||
true,
|
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');
|
$data[6] .= __('Discovery.App.Microsoft SQL Server');
|
||||||
break;
|
break;
|
||||||
|
6
pandora_console/images/status_dot.svg
Normal file
6
pandora_console/images/status_dot.svg
Normal file
@ -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%">';
|
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_button(
|
||||||
$buttonCreate .= html_print_submit_button(
|
|
||||||
__('Create tip'),
|
__('Create tip'),
|
||||||
'create',
|
'create',
|
||||||
false,
|
false,
|
||||||
|
'window.location.replace("index.php?sec=gsetup&sec2=godmode/setup/setup§ion=welcome_tips&view=create")',
|
||||||
[
|
[
|
||||||
'class' => 'sub',
|
'class' => 'sub',
|
||||||
'icon' => 'create_file',
|
'icon' => 'plus',
|
||||||
''
|
|
||||||
],
|
],
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$buttonCreate .= '</a>';
|
|
||||||
html_print_action_buttons($buttonCreate);
|
html_print_action_buttons($buttonCreate);
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
@ -839,7 +837,7 @@ class TipsWindow
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'onclick' => 'deleteImage(this, \''.$value['id'].'\', \''.$namePath.'\')',
|
'onclick' => 'deleteImage(this, \''.$value['id'].'\', \''.$namePath.'\')',
|
||||||
'class' => 'remove-image',
|
'class' => 'remove-image main_menu_icon',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$outputImagesTip .= html_print_div(
|
$outputImagesTip .= html_print_div(
|
||||||
@ -929,7 +927,7 @@ class TipsWindow
|
|||||||
$inputImages
|
$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);
|
html_print_table($table);
|
||||||
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
echo '<div class="action-buttons" style="width: '.$table->width.'">';
|
||||||
$actionButtons = html_print_submit_button(
|
$actionButtons = html_print_submit_button(
|
||||||
|
@ -2623,7 +2623,7 @@ function events_print_event_table(
|
|||||||
$img,
|
$img,
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'class' => 'image_status',
|
'class' => 'image_status invert_filter main_menu_icon',
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
@ -192,7 +192,7 @@ function profile_print_profile_table($id, $json_profile=false, $return=false, $c
|
|||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = 'info_table';
|
$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>';
|
echo '<p class="subsection_header_title padding-lft-10">'.$title.'</p>';
|
||||||
|
|
||||||
$table->data = [];
|
$table->data = [];
|
||||||
@ -312,12 +312,12 @@ function profile_print_profile_table($id, $json_profile=false, $return=false, $c
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'onclick' => 'delete_profile(event, this)',
|
'onclick' => 'delete_profile(event, this)',
|
||||||
'class' => 'invert_filter',
|
'class' => 'main_menu_icon invert_filter',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$data['actions'] = '<form method="post" onsubmit="if (!confirm (\''.__('Are you sure?').'\')) return false">';
|
$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('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_profile', $profile['id_up'], true);
|
||||||
$data['actions'] .= html_print_input_hidden('id_user', $id, 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_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('id', $id, true);
|
||||||
$data['last_actions'] .= html_print_input_hidden('add_profile', 1, true);
|
$data['last_actions'] .= html_print_input_hidden('add_profile', 1, true);
|
||||||
$data['last_actions'] .= '</form>';
|
$data['last_actions'] .= '</form>';
|
||||||
|
@ -730,7 +730,7 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin
|
|||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'style' => $style,
|
'style' => $style,
|
||||||
'class' => 'main_menu_icon '.$class,
|
'class' => 'main_menu_icon invert_filter '.$class,
|
||||||
'alt' => groups_get_name($id_group, true),
|
'alt' => groups_get_name($id_group, true),
|
||||||
'title' => 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,
|
true,
|
||||||
[
|
[
|
||||||
'style' => $style,
|
'style' => $style,
|
||||||
'class' => 'main_menu_icon '.$class,
|
'class' => 'main_menu_icon invert_filter '.$class,
|
||||||
'alt' => groups_get_name($id_group, true),
|
'alt' => groups_get_name($id_group, true),
|
||||||
'title' => 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) {
|
if (isset($options['class']) === false) {
|
||||||
$options['class'] = 'main_menu_icon';
|
$options['class'] = 'main_menu_icon invert_filter';
|
||||||
}
|
}
|
||||||
|
|
||||||
$no_in_meta = (is_metaconsole() === false);
|
$no_in_meta = (is_metaconsole() === false);
|
||||||
@ -4374,34 +4374,6 @@ function ui_toggle(
|
|||||||
$rotateA = '90deg';
|
$rotateA = '90deg';
|
||||||
$rotateB = '180deg';
|
$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.
|
// Options.
|
||||||
$style = 'overflow:hidden;width: -webkit-fill-available;width: -moz-available;';
|
$style = 'overflow:hidden;width: -webkit-fill-available;width: -moz-available;';
|
||||||
$style = 'overflow:hidden;';
|
$style = 'overflow:hidden;';
|
||||||
@ -4458,7 +4430,7 @@ function ui_toggle(
|
|||||||
$original,
|
$original,
|
||||||
true,
|
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,
|
'style' => 'object-fit: contain; margin-right:10px; rotate:'.$imageRotate,
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
'id' => 'image_'.$uniqid,
|
'id' => 'image_'.$uniqid,
|
||||||
@ -4490,7 +4462,7 @@ function ui_toggle(
|
|||||||
$original,
|
$original,
|
||||||
true,
|
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,
|
'style' => 'object-fit: contain; float:right; margin-right:10px; rotate:'.$imageRotate,
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
'id' => 'image_'.$uniqid,
|
'id' => 'image_'.$uniqid,
|
||||||
|
@ -753,7 +753,6 @@ function flot_slicesbar_graph(
|
|||||||
'return_img_base_64' => true,
|
'return_img_base_64' => true,
|
||||||
'date_to' => $date_to,
|
'date_to' => $date_to,
|
||||||
'server_id' => $server_id,
|
'server_id' => $server_id,
|
||||||
'backgroundColor' => '#f6f7fb',
|
|
||||||
];
|
];
|
||||||
// TO-DO Cambiar esto para que se pase por POST, NO SE PUEDE PASAR POR GET.
|
// 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));
|
update_config_token($tokem_config, json_encode($graph_data));
|
||||||
|
@ -972,6 +972,9 @@ function openSoundEventModal(settings) {
|
|||||||
width: 600,
|
width: 600,
|
||||||
height: 600,
|
height: 600,
|
||||||
open: function() {
|
open: function() {
|
||||||
|
$(".ui-widget-overlay")
|
||||||
|
.css("background", "black")
|
||||||
|
.css("opacity", 0.5);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: "post",
|
method: "post",
|
||||||
url: settings.url,
|
url: settings.url,
|
||||||
|
@ -8,7 +8,7 @@ $(document).ready(function() {
|
|||||||
var div_image = document.createElement("div");
|
var div_image = document.createElement("div");
|
||||||
$(div_image).attr("class", "action_image");
|
$(div_image).attr("class", "action_image");
|
||||||
$(div_image).append(
|
$(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(
|
$(div_image).append(
|
||||||
`<input type="image" src="images/delete.svg" onclick="removeInputImage(this);" class="remove-image main_menu_icon" value="-"/>`
|
`<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 --- */
|
/* --- Login page - header --- */
|
||||||
div#header_login {
|
div#header_login {
|
||||||
background-color: rgba(0, 0, 0, 0.6);
|
/* background-color: rgba(0, 0, 0, 0.6); */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin-top: 1.04%;
|
margin-top: 1.04%;
|
||||||
margin-left: 1.04%;
|
margin-left: 1.04%;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#list_icon_docs_support {
|
div#list_icon_docs_support {
|
||||||
@ -138,26 +139,23 @@ li#li_margin_support {
|
|||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Login page - form --- */
|
|
||||||
div.container_login {
|
|
||||||
margin-top: 13.89vw;
|
|
||||||
/* margin-left: 19.95vw; */
|
|
||||||
}
|
|
||||||
|
|
||||||
div.login_page {
|
div.login_page {
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
border-radius: 8px;
|
width: 40vw;
|
||||||
width: 363px;
|
min-width: 300px;
|
||||||
height: auto;
|
height: 100vh;
|
||||||
float: left;
|
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 {
|
div.login_page {
|
||||||
margin-left: 9.95vw;
|
margin-left: 9.95vw;
|
||||||
}
|
}
|
||||||
}
|
} */
|
||||||
|
|
||||||
div.login_logo_icon {
|
div.login_logo_icon {
|
||||||
margin: 4.18% 5.51% 40px;
|
margin: 4.18% 5.51% 40px;
|
||||||
@ -166,42 +164,51 @@ div.login_logo_icon {
|
|||||||
|
|
||||||
div.login_logo_icon img {
|
div.login_logo_icon img {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 100%;
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.login_double_auth_code,
|
div.login_double_auth_code,
|
||||||
div.login_nick,
|
div.login_nick,
|
||||||
div.login_pass {
|
div.login_pass {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 70%;
|
width: 300px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
min-width: 260px;
|
|
||||||
background-color: #fff;
|
|
||||||
opacity: 0.77;
|
|
||||||
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
|
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.login_nick input,
|
div.login_nick input,
|
||||||
div.login_pass input {
|
div.login_pass input {
|
||||||
background-color: #f6f7fb;
|
background: transparent;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
color: #343434;
|
border-radius: 0px;
|
||||||
border-radius: 3px;
|
border-bottom: 1px solid #c5c5c5;
|
||||||
|
color: #fff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
font-size: 10pt;
|
font-size: 12pt;
|
||||||
padding: 0px 0px 0px 8%;
|
padding: 0px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 27px;
|
background-size: 27px;
|
||||||
background-position: right 10px bottom 50%;
|
background-position: right 10px bottom 50%;
|
||||||
box-sizing: border-box;
|
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 {
|
div.login_button button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40px;
|
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -224,10 +231,15 @@ div.login_pass input:focus {
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.login_nick,
|
||||||
div.login_pass {
|
div.login_pass {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.login_nick {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
#show-hide-pass {
|
#show-hide-pass {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
@ -256,17 +268,11 @@ div.login_pass input:-webkit-autofill:active {
|
|||||||
width: 89%;
|
width: 89%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.login_nick input::-webkit-input-placeholder,
|
|
||||||
div.login_pass input::-webkit-input-placeholder {
|
|
||||||
color: #343434;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.login_button,
|
div.login_button,
|
||||||
div.login_button_saml {
|
div.login_button_saml {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 40%;
|
width: 300px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
min-width: 260px;
|
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -304,7 +310,7 @@ div.login_button_saml input:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login_back {
|
.login_back {
|
||||||
margin-top: 60px !important;
|
margin-top: 30px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login_back input {
|
.login_back input {
|
||||||
@ -318,51 +324,40 @@ div.login_button_saml input:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div.login_data {
|
div.login_data {
|
||||||
max-width: 40.21vw;
|
height: 100vh;
|
||||||
max-height: 21.82%;
|
padding-left: 40px;
|
||||||
float: left;
|
display: flex;
|
||||||
margin-left: 100px;
|
flex-direction: column;
|
||||||
margin-right: 0px;
|
flex-wrap: nowrap;
|
||||||
margin-top: 30px;
|
justify-content: center;
|
||||||
padding-right: 0px;
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.text_banner_login {
|
div.text_banner_login {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 60px;
|
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
margin-top: 40px;
|
||||||
}
|
|
||||||
|
|
||||||
div.text_banner_login span {
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
span.span1 {
|
span.span1 {
|
||||||
font-size: 38px;
|
font-size: 38px;
|
||||||
letter-spacing: -0.38px;
|
letter-spacing: -0.38px;
|
||||||
font-weight: bold;
|
font-family: "lato-bolder";
|
||||||
color: white;
|
color: white;
|
||||||
line-height: 49pt;
|
line-height: 49pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.span2 {
|
span.span2 {
|
||||||
font-size: 20px;
|
display: block;
|
||||||
letter-spacing: -0.26px;
|
width: 700px;
|
||||||
font-weight: 350;
|
font-size: 80pt;
|
||||||
color: #c1ccdc;
|
line-height: 80pt;
|
||||||
line-height: 32pt;
|
font-family: "lato-bolder";
|
||||||
}
|
color: #fff;
|
||||||
|
|
||||||
div.img_banner_login {
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.img_banner_login img {
|
div.img_banner_login img {
|
||||||
max-width: 70%;
|
width: 80%;
|
||||||
min-width: 70%;
|
|
||||||
max-height: 50%;
|
|
||||||
min-height: 50%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.reset_password {
|
.reset_password {
|
||||||
@ -380,7 +375,7 @@ div.img_banner_login img {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 1200px) {
|
@media all and (max-width: 1266px) {
|
||||||
span.span1 {
|
span.span1 {
|
||||||
font-size: 38px;
|
font-size: 38px;
|
||||||
letter-spacing: -0.38px;
|
letter-spacing: -0.38px;
|
||||||
@ -389,11 +384,11 @@ div.img_banner_login img {
|
|||||||
line-height: 49pt;
|
line-height: 49pt;
|
||||||
}
|
}
|
||||||
span.span2 {
|
span.span2 {
|
||||||
font-size: 20px;
|
width: 550px;
|
||||||
letter-spacing: -0.26px;
|
font-size: 60pt;
|
||||||
font-weight: 350;
|
line-height: 60pt;
|
||||||
color: #c1ccdc;
|
font-family: "lato-bolder";
|
||||||
line-height: 32pt;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -502,7 +497,8 @@ div.button_message_alert_form input {
|
|||||||
background-position: center center;
|
background-position: center center;
|
||||||
width: 508px;
|
width: 508px;
|
||||||
height: 246px;
|
height: 246px;
|
||||||
margin-left: 1vw;
|
transform: scale(0.8);
|
||||||
|
margin-left: -50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Horizontal lines */
|
/* 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:hover,
|
||||||
div.login_pass input:-webkit-autofill:focus,
|
div.login_pass input:-webkit-autofill:focus,
|
||||||
div.login_pass input:-webkit-autofill:active {
|
div.login_pass input:-webkit-autofill:active {
|
||||||
background-color: #f6f7fb;
|
-webkit-text-fill-color: #c5c5c5;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
border-radius: 3px;
|
border-bottom: 1px solid #c5c5c5;
|
||||||
|
border-radius: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
font-size: 10pt;
|
font-size: 12pt;
|
||||||
padding: 0px 0px 0px 8%;
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 27px;
|
background-size: 27px;
|
||||||
background-position: right 10px bottom 50%;
|
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");
|
background-image: url("../../images/eye-closed-input.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content_alert {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
button.submitButton {
|
button.submitButton {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
min-width: 110px;
|
min-width: 110px;
|
||||||
height: 42px;
|
height: 50px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: "Pandora-Regular";
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
box-shadow: 0px 3px 6px #c7c7c7;
|
box-shadow: 0px 3px 6px #c7c7c7;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 2px solid var(--primary-color);
|
border: 0px;
|
||||||
border-radius: 8px;
|
border-radius: 15px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content_alert {
|
button.buttonButton:not(.secondary):not(.link):not(.mini),
|
||||||
margin: 0 !important;
|
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;
|
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 {
|
@keyframes rotation {
|
||||||
from {
|
from {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
|
@ -1525,3 +1525,12 @@ span.select2 {
|
|||||||
#tips_window_modal > div.window > div.description > #text_tip {
|
#tips_window_modal > div.window > div.description > #text_tip {
|
||||||
color: white !important;
|
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,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('New event'),
|
'title' => __('New event'),
|
||||||
'class' => 'forced-title main_menu_icon',
|
'class' => 'forced-title invert_filter main_menu_icon',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
$state = 0;
|
$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()
|
check_default_block_size()
|
||||||
$("#checkbox-default_block_size").change(function() {
|
$("#checkbox-default_block_size").change(function() {
|
||||||
check_default_block_size();
|
check_default_block_size();
|
||||||
|
@ -71,7 +71,7 @@ try {
|
|||||||
[
|
[
|
||||||
'id' => $tableId,
|
'id' => $tableId,
|
||||||
'class' => 'info_table',
|
'class' => 'info_table',
|
||||||
'style' => 'width: 100%',
|
'style' => 'width: 99%',
|
||||||
'columns' => $columns,
|
'columns' => $columns,
|
||||||
'column_names' => $column_names,
|
'column_names' => $column_names,
|
||||||
'ajax_url' => $model->ajaxController,
|
'ajax_url' => $model->ajaxController,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user