Rename class events_show_more_table to table_modal_alternate - #4102

This commit is contained in:
Tatiana Llorente 2019-05-27 16:18:10 +02:00
parent 016a5b3745
commit 1eb1120c6e
5 changed files with 14 additions and 14 deletions

View File

@ -84,7 +84,7 @@ if ($get_extended_info == 1) {
$table->head = [];
$table->cellspacing = 2;
$table->cellpadding = 2;
$table->class = 'events_show_more_table';
$table->class = 'table_modal_alternate';
$output = [];
$output[] = '<b>'.__('Timestamp').'</b>';

View File

@ -1989,7 +1989,7 @@ function events_page_responses($event, $childrens_ids=[])
$table_responses->head = [];
$table_responses->style[0] = 'height:30px';
$table_responses->style[2] = 'text-align:right;';
$table_responses->class = 'events_show_more_table';
$table_responses->class = 'table_modal_alternate';
if (tags_checks_event_acl($config['id_user'], $event['id_grupo'], 'EM', $event['clean_tags'], $childrens_ids)) {
// Owner.
@ -2523,7 +2523,7 @@ function events_page_custom_fields($event)
$table->width = '100%';
$table->data = [];
$table->head = [];
$table->class = 'events_show_more_table';
$table->class = 'table_modal_alternate';
$all_customs_fields = (bool) check_acl(
$config['id_user'],
@ -2673,7 +2673,7 @@ function events_page_details($event, $server='')
$table_details->head = [];
$table_details->cellspacing = 0;
$table_details->cellpadding = 0;
$table_details->class = 'events_show_more_table';
$table_details->class = 'table_modal_alternate';
/*
* Useless switch.
@ -2984,7 +2984,7 @@ function events_page_custom_data($event)
$table->width = '100%';
$table->data = [];
$table->head = [];
$table->class = 'events_show_more_table';
$table->class = 'table_modal_alternate';
$json_custom_data = base64_decode($event['custom_data']);
$custom_data = json_decode($json_custom_data);
@ -3139,7 +3139,7 @@ function events_page_general($event)
$table_general->width = '100%';
$table_general->data = [];
$table_general->head = [];
$table_general->class = 'events_show_more_table';
$table_general->class = 'table_modal_alternate';
$data = [];
$data[0] = __('Event ID');
@ -3322,7 +3322,7 @@ function events_page_comments($event, $childrens_ids=[])
$table_comments->width = '100%';
$table_comments->data = [];
$table_comments->head = [];
$table_comments->class = 'events_show_more_table';
$table_comments->class = 'table_modal_alternate';
$event_comments = $event['user_comment'];
$event_comments = str_replace(["\n", '&#x0a;'], '<br>', $event_comments);

View File

@ -3630,27 +3630,27 @@ div.simple_value > a > span.text p {
cursor: pointer;
}
.events_show_more_table {
.table_modal_alternate {
border-spacing: 0px;
text-align: left;
}
/* Modal window - Show More */
table.events_show_more_table tr:nth-child(odd) td {
table.table_modal_alternate tr:nth-child(odd) td {
background-color: #ffffff;
}
table.events_show_more_table tr:nth-child(even) td {
table.table_modal_alternate tr:nth-child(even) td {
background-color: #f5f5f5;
border-top: 1px solid #cacaca;
border-bottom: 1px solid #cacaca;
}
table.events_show_more_table tr td {
table.table_modal_alternate tr td {
height: 22px;
padding: 4px;
}
table.events_show_more_table tr td:first-child {
table.table_modal_alternate tr td:first-child {
width: 35%;
font-weight: bold;
padding-left: 20px;

View File

@ -185,7 +185,7 @@ if ($date > $now) {
$table->style[0] = 'text-align:left;';
$table->style[1] = 'text-align:left;';
$table->styleTable = 'margin-bottom: 20px;';
$table->class = 'events_show_more_table';
$table->class = 'table_modal_alternate';
$data = [];
$data[0] = __('Refresh time');

View File

@ -238,7 +238,7 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent);
$table->style[0] = 'text-align:left;';
$table->style[1] = 'text-align:left;';
$table->styleTable = 'margin-bottom: 20px;';
$table->class = 'events_show_more_table';
$table->class = 'table_modal_alternate';
$data = [];
$data[0] = __('Refresh time');