Fixed visual in welcome view. Gitlab: #359

This commit is contained in:
m-lopez-f 2017-02-23 12:26:48 +01:00
parent 8050f063cb
commit 45316cdd0f
2 changed files with 17 additions and 13 deletions

View File

@ -213,16 +213,17 @@ if (!empty($all_data)) {
$table->width = '100%'; //Don't specify px
$table->data = array ();
$table->size = array ();
$table->size[2] = '150px';
$table->size[3] = '130px';
$table->size[5] = '200px';
$table->size[0] = '5%';
$table->size[1] = '15%';
$table->size[2] = '15%';
$table->size[3] = '10%';
$table->size[4] = '25%';
$table->head = array ();
$table->head[0] = __('User');
$table->head[1] = '';
$table->head[2] = __('Action');
$table->head[3] = __('Date');
$table->head[4] = __('Source IP');
$table->head[5] = __('Comments');
$table->head[1] = __('Action');
$table->head[2] = __('Date');
$table->head[3] = __('Source IP');
$table->head[4] = __('Comments');
$table->title = '<span>' . __('This is your last activity in Pandora FMS console') . '</span>';
switch ($config["dbtype"]) {
@ -268,11 +269,11 @@ if (!empty($all_data)) {
$data[0] = '<strong>' . $session_id_usuario . '</strong>';
$data[1] = ui_print_session_action_icon ($session['accion'], true);
$data[2] = $session['accion'];
$data[3] = ui_print_help_tip($session['fecha'], true) . human_time_comparation($session['utimestamp'], 'tiny');
$data[4] = $session_ip_origen;
$data[5] = io_safe_output(io_safe_output($session['descripcion']));
$data[1] = ui_print_session_action_icon ($session['accion'], true) . ' ' . $session['accion'];
$data[2] = ui_print_help_tip($session['fecha'], true) . human_time_comparation($session['utimestamp'], 'tiny');
$data[3] = $session_ip_origen;
$description = str_replace(array(',', ', '), ', ', $session['descripcion']);
$data[4] = '<div >' . io_safe_output($description) . '</div>';
array_push ($table->data, $data);
}

View File

@ -207,6 +207,9 @@ div#activity{
padding-top: 0px;
padding-bottom: 18px;
}
div#activity table td > img {
vertical-align: middle;
}
div#noa {
float: right;
padding-right: 50px;