';
- $output .= html_print_input(
+ $output .= html_print_image(
+ 'images/plus.svg',
+ true,
[
- 'type' => 'image',
- 'src' => 'images/darrowright.png',
- 'return' => true,
- 'options' => [
- 'title' => $texts['title-add'],
- 'onclick' => $add,
- 'class' => 'invert_filter',
- ],
+ 'id' => 'right_autorefreshlist',
+ 'style' => 'width: 24px; margin: 10px 10px 0;',
+ 'alt' => __('Push selected pages into autorefresh list'),
+ 'title' => __('Push selected pages into autorefresh list'),
+ 'onclick' => $add,
]
);
- $output .= html_print_input(
+ $output .= html_print_image(
+ 'images/minus.svg',
+ true,
[
- 'type' => 'image',
- 'src' => 'images/darrowleft.png',
- 'return' => true,
- 'options' => [
- 'title' => $texts['title-del'],
- 'onclick' => $del,
- 'class' => 'invert_filter',
- ],
+ 'id' => 'left_autorefreshlist',
+ 'style' => 'width: 24px; margin: 10px 10px 0;',
+ 'alt' => __('Pop selected pages out of autorefresh list'),
+ 'title' => __('Pop selected pages out of autorefresh list'),
+ 'onclick' => $del,
]
);
diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css
index eec5727f49..ba7425f137 100644
--- a/pandora_console/include/styles/pandora.css
+++ b/pandora_console/include/styles/pandora.css
@@ -11505,6 +11505,15 @@ div[role="dialog"] {
/* font-weight: bold; */
}
+.font-title-font {
+ font-size: 13px;
+ line-height: 16px;
+ color: #161628;
+ text-align: left;
+ margin-bottom: 10px;
+ font-weight: bold;
+}
+
.preimage_container span {
font-size: 11pt;
line-height: 28px;
diff --git a/pandora_console/operation/reporting/reporting_viewer.php b/pandora_console/operation/reporting/reporting_viewer.php
index 5c3ce7a73b..26e16c7f37 100755
--- a/pandora_console/operation/reporting/reporting_viewer.php
+++ b/pandora_console/operation/reporting/reporting_viewer.php
@@ -226,77 +226,52 @@ ui_print_standard_header(
// ------------------- END HEADER ---------------------------------------
// ------------------------ INIT FORM -----------------------------------
-$table = new stdClass();
-$table->id = 'controls_table';
-$table->width = '100%';
-$table->class = 'filter-table-adv';
+$table2 = new stdClass();
+$table2->id = 'controls_table';
+$table2->size[2] = '50%';
+$table2->size[3] = '50%';
+$table2->style[0] = 'text-align:center';
+$table2->style[1] = 'text-align:center';
+$table2->styleTable = 'border:none';
+
if (defined('METACONSOLE')) {
- $table->width = '100%';
- $table->class = 'databox filters';
+ $table2->width = '100%';
+ $table2->class = 'databox filters';
- $table->head[0] = __('View Report');
- $table->head_colspan[0] = 5;
- $table->headstyle[0] = 'text-align: center';
+ $table2->head[0] = __('View Report');
+ $table2->head_colspan[0] = 5;
+ $table2->headstyle[0] = 'text-align: center';
}
-$table->style = [];
-$table->style[0] = 'vertical-align: middle';
-$table->rowspan[0][0] = 2;
-
// Set initial conditions for these controls, later will be modified by javascript
if (!$enable_init_date) {
- $table->style[1] = 'display: none';
- $table->style[2] = 'display: flex;align-items: baseline;';
$display_to = 'none';
$display_item = '';
} else {
- $table->style[1] = 'display: "block"';
- $table->style[2] = 'display: flex;align-items: baseline;';
$display_to = '';
$display_item = 'none';
}
-$table->size = [];
-$table->colspan[0][1] = 2;
-$table->data = [];
-$table->data[0][0] = html_print_image(
- 'images/reporting32.png',
- true,
- [
- 'width' => '32',
- 'height' => '32',
- ]
-);
-
-if (reporting_get_description($id_report)) {
- $table->data[0][1] = '
'.reporting_get_description($id_report).'
';
-} else {
- $table->data[0][1] = '
'.reporting_get_name($id_report).'
';
-}
-
-$table->data[0][1] .= '
'.__('Set initial date').html_print_checkbox('enable_init_date', 1, $enable_init_date, true).'';
-
$html_menu_export = enterprise_hook('reporting_print_button_export');
if ($html_menu_export === ENTERPRISE_NOT_HOOK) {
$html_menu_export = '';
}
-$table->data[0][1] .= '
';
-$table->data[0][1] .= $html_menu_export;
+$table2->data[0][2] = '
'.__('Set initial date').'
'.html_print_checkbox_switch('enable_init_date', 1, $enable_init_date, true).'
';
+$table2->data[0][2] .= '
'.__('From').':
';
+$table2->data[0][2] .= html_print_input_text('date_init', $date_init, '', 12, 10, true).' ';
+$table2->data[0][2] .= html_print_input_text('time_init', $time_init, '', 10, 7, true).' ';
+$table2->data[0][2] .= '
'.__('Items period before').':
';
+$table2->data[0][2] .= '
'.__('to').':
';
+$table2->data[0][2] .= html_print_input_text('date', $date, '', 12, 10, true).' ';
+$table2->data[0][2] .= html_print_input_text('time', $time, '', 10, 7, true).' ';
+$table2->data[0][3] = $html_menu_export;
-$table->data[1][1] = '
'.__('From').':
';
-$table->data[1][1] .= html_print_input_text('date_init', $date_init, '', 12, 10, true).' ';
-$table->data[1][1] .= html_print_input_text('time_init', $time_init, '', 10, 7, true).' ';
-$table->data[1][2] = '
'.__('Items period before').':
';
-$table->data[1][2] .= '
'.__('to').':
';
-$table->data[1][2] .= html_print_input_text('date', $date, '', 12, 10, true).' ';
-$table->data[1][2] .= html_print_input_text('time', $time, '', 10, 7, true).' ';
-
$searchForm = '