fixed visual error
This commit is contained in:
parent
48b299ba67
commit
9dd17acb57
pandora_console
godmode
events
reporting
include
operation
pandora_plugins/message_app_connectors/.vscode
|
@ -201,7 +201,7 @@ if ($event_response_id == 0) {
|
||||||
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events§ion=responses&mode=list&action=create_response&pure='.$config['pure'].'">';
|
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events§ion=responses&mode=list&action=create_response&pure='.$config['pure'].'">';
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
if (!defined('METACONSOLE')) {
|
if (!defined('METACONSOLE')) {
|
||||||
echo '<div class="w100p right">';
|
echo '<div class="w100p right_align">';
|
||||||
} else {
|
} else {
|
||||||
echo '<div class="w100p right">';
|
echo '<div class="w100p right">';
|
||||||
}
|
}
|
||||||
|
@ -213,7 +213,7 @@ if ($event_response_id == 0) {
|
||||||
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events§ion=responses&mode=list&action=update_response&pure='.$config['pure'].'">';
|
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events§ion=responses&mode=list&action=update_response&pure='.$config['pure'].'">';
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
if (!defined('METACONSOLE')) {
|
if (!defined('METACONSOLE')) {
|
||||||
echo '<div class="w100p right">';
|
echo '<div class="w100p right_align">';
|
||||||
} else {
|
} else {
|
||||||
echo '<div class="w100p right">';
|
echo '<div class="w100p right">';
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,7 @@ foreach ($event_responses as $response) {
|
||||||
html_print_table($table);
|
html_print_table($table);
|
||||||
|
|
||||||
|
|
||||||
echo '<div class="w100p right">';
|
echo '<div class="w100p right_align">';
|
||||||
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events§ion=responses&mode=editor&pure='.$config['pure'].'">';
|
echo '<form method="post" action="index.php?sec=geventos&sec2=godmode/events/events§ion=responses&mode=editor&pure='.$config['pure'].'">';
|
||||||
html_print_submit_button(
|
html_print_submit_button(
|
||||||
__('Create response'),
|
__('Create response'),
|
||||||
|
|
|
@ -515,9 +515,9 @@ if (!$maps && !is_metaconsole()) {
|
||||||
|
|
||||||
if ($maps) {
|
if ($maps) {
|
||||||
if (!is_metaconsole()) {
|
if (!is_metaconsole()) {
|
||||||
echo '<div class="action-buttons w100p right">';
|
echo '<div class="action-buttons w100p right_align">';
|
||||||
} else {
|
} else {
|
||||||
echo '<div class="w100p right_align">';
|
echo '<div class="w100p right right_align">';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -664,7 +664,7 @@ if (defined('METACONSOLE')) {
|
||||||
|
|
||||||
if (check_acl($config['id_user'], 0, 'RM')) {
|
if (check_acl($config['id_user'], 0, 'RM')) {
|
||||||
html_print_input_hidden('ids_items_to_delete', '');
|
html_print_input_hidden('ids_items_to_delete', '');
|
||||||
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete right"');
|
html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete right mrgn_btn_15px"');
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
|
@ -473,7 +473,7 @@ function treeview_printAlertsTable($id_module, $server_data=[], $no_head=false)
|
||||||
|
|
||||||
if ($user_access_node && check_acl($config['id_user'], $id_group, 'LW')) {
|
if ($user_access_node && check_acl($config['id_user'], $id_group, 'LW')) {
|
||||||
// Actions table
|
// Actions table
|
||||||
echo '<div class="w100p right mw300px">';
|
echo '<div class="w100p right mw300px right_align">';
|
||||||
echo '<a target=_blank href="'.$console_url.'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=alert&search=1&module_name='.$module_name.'&id_agente='.$agent_id.$url_hash.'" target="_blank">';
|
echo '<a target=_blank href="'.$console_url.'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=alert&search=1&module_name='.$module_name.'&id_agente='.$agent_id.$url_hash.'" target="_blank">';
|
||||||
html_print_submit_button(__('Go to alerts edition'), 'upd_button', false, 'class="sub search"');
|
html_print_submit_button(__('Go to alerts edition'), 'upd_button', false, 'class="sub search"');
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
|
|
|
@ -333,7 +333,7 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t
|
||||||
$output .= '</td>
|
$output .= '</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="black pdd_t_10px">'.$text_message.'</td>
|
<td class="black pdd_t_10px" style="color: #000">'.$text_message.'</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>';
|
</table>';
|
||||||
|
|
|
@ -69,6 +69,10 @@ var TreeController = {
|
||||||
messageLength = childGroupsLength + controller.tree.length;
|
messageLength = childGroupsLength + controller.tree.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
group_message = controller.foundMessage + ": " + messageLength;
|
||||||
|
if (controller.foundMessage == "") {
|
||||||
|
group_message = "";
|
||||||
|
}
|
||||||
$group
|
$group
|
||||||
.addClass("tree-root")
|
.addClass("tree-root")
|
||||||
.hide()
|
.hide()
|
||||||
|
@ -78,9 +82,7 @@ var TreeController = {
|
||||||
(controller.baseURL.length > 0 ? controller.baseURL : "") +
|
(controller.baseURL.length > 0 ? controller.baseURL : "") +
|
||||||
'images/pandora.png" />' +
|
'images/pandora.png" />' +
|
||||||
"<span class='margin-left-1'>" +
|
"<span class='margin-left-1'>" +
|
||||||
(controller.tree.length > 0
|
(controller.tree.length > 0 ? group_message : "") +
|
||||||
? controller.foundMessage + ": " + messageLength
|
|
||||||
: "") +
|
|
||||||
"</div>"
|
"</div>"
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
@ -1222,7 +1224,9 @@ var TreeController = {
|
||||||
if (typeof data.auth_hash !== "undefined") {
|
if (typeof data.auth_hash !== "undefined") {
|
||||||
this.auth_hash = data.auth_hash;
|
this.auth_hash = data.auth_hash;
|
||||||
}
|
}
|
||||||
|
if (data.tree[0]["rootType"] == "services") {
|
||||||
|
this.foundMessage = "";
|
||||||
|
}
|
||||||
this.load();
|
this.load();
|
||||||
},
|
},
|
||||||
remove: function() {
|
remove: function() {
|
||||||
|
|
|
@ -266,7 +266,7 @@ $table->data[] = $data;
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
|
|
||||||
$form_table = html_print_table($table, true);
|
$form_table = html_print_table($table, true);
|
||||||
$form_table .= '<div class="w100p right">';
|
$form_table .= '<div class="w100p right right_align">';
|
||||||
$form_table .= html_print_submit_button(
|
$form_table .= html_print_submit_button(
|
||||||
__('Reload'),
|
__('Reload'),
|
||||||
'submit',
|
'submit',
|
||||||
|
|
|
@ -265,7 +265,7 @@ if (is_ajax()) {
|
||||||
$return['correct'] = true;
|
$return['correct'] = true;
|
||||||
|
|
||||||
$return['content'] = '<div class="border_1px_black">
|
$return['content'] = '<div class="border_1px_black">
|
||||||
<div class="w100p right"><a class="no_decoration black" href="javascript: hide_tooltip();">X</a></div>
|
<div class="w100p right right_align"><a class="no_decoration black" href="javascript: hide_tooltip();">X</a></div>
|
||||||
<div class="mrgn_5px">
|
<div class="mrgn_5px">
|
||||||
';
|
';
|
||||||
|
|
||||||
|
|
|
@ -386,7 +386,7 @@ ui_print_message_dialog(
|
||||||
);
|
);
|
||||||
|
|
||||||
$form_table = html_print_table($table, true);
|
$form_table = html_print_table($table, true);
|
||||||
$form_table .= '<div class="w100p right mrgn_top_15px">';
|
$form_table .= '<div class="w100p right mrgn_top_15px right_align">';
|
||||||
$form_table .= html_print_submit_button(
|
$form_table .= html_print_submit_button(
|
||||||
__('Reload'),
|
__('Reload'),
|
||||||
'submit',
|
'submit',
|
||||||
|
|
|
@ -994,7 +994,7 @@ if ($group_rep == 2) {
|
||||||
|
|
||||||
if (check_acl($config['id_user'], 0, 'EW')) {
|
if (check_acl($config['id_user'], 0, 'EW')) {
|
||||||
if ($config['event_replication'] != 1) {
|
if ($config['event_replication'] != 1) {
|
||||||
echo '<div class="w100p right">';
|
echo '<div class="w100p right right_align">';
|
||||||
echo '<form method="post" id="form_event_response">';
|
echo '<form method="post" id="form_event_response">';
|
||||||
html_print_select($array_events_actions, 'response_id', '', '', '', 0, false, false, false);
|
html_print_select($array_events_actions, 'response_id', '', '', '', 0, false, false, false);
|
||||||
echo '  ';
|
echo '  ';
|
||||||
|
|
|
@ -238,7 +238,7 @@ if (reporting_get_description($id_report)) {
|
||||||
$table->data[0][1] = '<div class="float-left">'.reporting_get_name($id_report).'</div>';
|
$table->data[0][1] = '<div class="float-left">'.reporting_get_name($id_report).'</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$table->data[0][1] .= '<div class="right w100p mrgn_right_50px">'.__('Set initial date').html_print_checkbox('enable_init_date', 1, $enable_init_date, true);
|
$table->data[0][1] .= '<div class="right w100p mrgn_right_50px right_align">'.__('Set initial date').html_print_checkbox('enable_init_date', 1, $enable_init_date, true);
|
||||||
$html_enterprise = enterprise_hook(
|
$html_enterprise = enterprise_hook(
|
||||||
'reporting_print_button_PDF',
|
'reporting_print_button_PDF',
|
||||||
[$id_report]
|
[$id_report]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"python.pythonPath": "slack/venv/bin/python"
|
"python.pythonPath": "slack/venv/bin/python"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue