diff --git a/pandora_console/include/styles/events.css b/pandora_console/include/styles/events.css index dc1f7415b7..12502a5cc7 100644 --- a/pandora_console/include/styles/events.css +++ b/pandora_console/include/styles/events.css @@ -1,11 +1,11 @@ div.criticity { - width: 150px; - height: 2em; + width: 100px; + height: 15px; color: #fff; text-align: center; border-radius: 5px; - font-size: 0.8em; - padding: 5px; + font-size: 0.7em; + padding: 2px; margin: 0; display: table-cell; vertical-align: middle; @@ -82,6 +82,19 @@ table.dataTable tbody td { padding: 8px 10px; } +th:last-child { + padding-top: 0px !important; + padding-bottom: 0px !important; +} + +td { + padding: 0px !important; +} + +td > input[id^="checkbox-multi"] { + margin: 0px !important; +} + .info_table.events tr > th { padding-left: 1em; font-size: 8pt; diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 47039d93cf..877b20ccf7 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -633,8 +633,8 @@ if (is_ajax() === true) { $tmp->mini_severity .= $output; $tmp->mini_severity .= ''; - $criticity = '
'.$text.'
'; + $criticity = '
'.$text.'
'; $tmp->criticity = $criticity; // Add event severity to end of text. @@ -702,8 +702,8 @@ if (is_ajax() === true) { break; } - $event_type = '
'.$text.'
'; + $event_type = '
 
'; $tmp->event_type = $event_type; // Module status. @@ -742,8 +742,8 @@ if (is_ajax() === true) { break; } - $module_status = '
'.$text.'
'; + $module_status = '
 
'; $tmp->module_status = $module_status; // Status. @@ -779,7 +779,7 @@ if (is_ajax() === true) { true, [ 'title' => __('Event in process'), - 'class' => 'forced-title invert_filter', + 'class' => 'forced-title invert_filter height_20px', ] ); break; @@ -797,7 +797,7 @@ if (is_ajax() === true) { break; } - $draw_state = '
'; + $draw_state = '
'; $draw_state .= ''; @@ -1819,7 +1819,7 @@ $in .= '
'; $inputs[] = $in; // Trick view in table. -$inputs[] = '
'; +$inputs[] = '
'; $buttons = []; @@ -2218,7 +2218,8 @@ $filter .= ui_toggle( true, true, 'white_box white_box_opened', - 'no-border flex-row' + 'no-border flex-row', + 'box-flat white_table_graph w100p' ); try { @@ -2401,7 +2402,7 @@ try { [ 'id' => $table_id, 'class' => 'info_table events', - 'style' => 'width: 100%;', + 'style' => 'width: 99%;', 'ajax_url' => 'operation/events/events', 'ajax_data' => [ 'get_events' => 1,