Changes styles

This commit is contained in:
fbsanchez 2019-05-29 17:49:09 +02:00
parent 121ae89b1d
commit f16f35ad10
6 changed files with 17 additions and 5 deletions

View File

@ -231,7 +231,12 @@ if ($tiny) {
}
if ($tiny) {
ui_toggle(html_print_table($table, true), __('Tactical server information'), false, $hidden_toggle);
ui_toggle(
html_print_table($table, true),
__('Tactical server information'),
false,
$hidden_toggle
);
} else {
html_print_table($table);
}

View File

@ -2965,8 +2965,10 @@ function ui_toggle(
// $output .= '<br />';
// Code into a div
$output .= "<div id='tgl_div_".$uniqid."' style='".$style.";margin-top: -1px;' class='".$toggle_class."'>\n";
$output .= '<div class="box-shadow white_table_graph_content no-padding-imp">';
$output .= $code;
$output .= '</div>';
$output .= '</div>';
// JQuery Toggle.
$output .= '<script type="text/javascript">'."\n";

View File

@ -833,7 +833,7 @@ echo $agent_incidents;
if (isset($table_interface)) {
ui_toggle(
'<div class="white_table_graph_content">'.html_print_table($table_interface, true).'</div>',
html_print_table($table_interface, true),
'<b>'.__('Interface information (SNMP)').'</b>'
);
}

View File

@ -163,7 +163,7 @@ print_form_filter_monitors(
$status_hierachy_mode
);
echo '<div class="box-shadow white_table_graph_content" style="padding: 0;" id="module_list"></div>';
echo '<div id="module_list"></div>';
$html_toggle = ob_get_clean();

View File

@ -22,7 +22,7 @@ if (!isset($id_agente)) {
require_once 'include/functions_events.php';
ui_require_css_file('events');
ui_toggle(
"<div class='white_table_graph_content' id='event_list'>".html_print_image('images/spinner.gif', true).'</div>',
"<div style='width: 100%;' id='event_list'>".html_print_image('images/spinner.gif', true).'</div>',
__('Latest events for this agent'),
__('Latest events for this agent'),
false

View File

@ -187,7 +187,12 @@ if (check_acl($config['id_user'], 0, 'ER')) {
}
$events = events_print_event_table($event_filter, 10, '100%', true, false, true);
ui_toggle($events, __('Latest events'), false, false);
ui_toggle(
$events,
__('Latest events'),
false,
false
);
}
// ---------------------------------------------------------------------