diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php
index be33311352..d4926939cc 100644
--- a/pandora_console/include/functions_html.php
+++ b/pandora_console/include/functions_html.php
@@ -1740,8 +1740,8 @@ function html_print_select_multiple_modules_filtered(array $data):string
[
'label' => __('Agents'),
'label_class' => 'font-title-font',
- 'type' => 'select',
- 'fields' => $agents,
+ 'type' => 'select_from_sql',
+ 'sql' => 'SELECT `id_agente`,`nombre` FROM tagente',
'name' => 'filtered-module-agents-'.$uniqId,
'selected' => explode(',', $data['mAgents']),
'return' => true,
@@ -1921,8 +1921,7 @@ function html_print_extended_select_for_unit(
$select_style=false,
$unique_name=true,
$disabled=false,
- $no_change=0,
- $class='w100p'
+ $no_change=0
) {
global $config;
@@ -1954,7 +1953,7 @@ function html_print_extended_select_for_unit(
ob_start();
- echo '
';
+ echo '
';
html_print_select(
$fields,
$uniq_name.'_select',
@@ -3925,14 +3924,6 @@ function html_print_table(&$table, $return=false)
}
}
- if (isset($table->tdid)) {
- foreach ($table->tdid as $keyrow => $tid) {
- foreach ($tid as $key => $id) {
- $tdid[$keyrow][$key] = $id;
- }
- }
- }
-
if (isset($table->cellstyle)) {
foreach ($table->cellstyle as $keyrow => $cstyle) {
foreach ($cstyle as $key => $cst) {
@@ -4116,10 +4107,6 @@ function html_print_table(&$table, $return=false)
$colspan[$keyrow][$key] = '';
}
- if (!isset($tdid[$keyrow][$key])) {
- $tdid[$keyrow][$key] = '';
- }
-
if (!isset($rowspan[$keyrow][$key])) {
$rowspan[$keyrow][$key] = '';
}
@@ -4140,16 +4127,10 @@ function html_print_table(&$table, $return=false)
$style[$key] = '';
}
- if ($tdid[$keyrow][$key] !== '') {
- $tid = $tdid[$keyrow][$key];
- } else {
- $tid = $tableid.'-'.$keyrow.'-'.$key;
- }
-
if ($class === 'datos5' && $key === 1) {
- $output .= '
'.$item.' | '."\n";
+ $output .= ''.$item.' | '."\n";
} else {
- $output .= ''.$item.' | '."\n";
+ $output .= ''.$item.' | '."\n";
}
}
diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css
index 9832fa25bc..400e9a5d1f 100644
--- a/pandora_console/include/styles/pandora.css
+++ b/pandora_console/include/styles/pandora.css
@@ -9424,7 +9424,8 @@ div.stat-win-spinner img {
.select2-selection--multiple
.select2-selection__rendered {
padding: 5px 10px 10px !important;
- max-height: 120px;
+ min-height: 100px;
+ max-height: 250px;
overflow: auto !important;
}
@@ -10804,10 +10805,6 @@ button.ui-button.ui-widget.submit-cancel:active {
border-color: #96a2bf;
}
-.cursor-default {
- cursor: default;
-}
-
.hasColorPicker {
z-index: 10;
}
@@ -11666,8 +11663,8 @@ p.trademark-copyright {
}
.show-hide-pass {
- position: relative;
- right: 40px;
+ position: absolute;
+ right: 12px;
top: 4px;
border: 0;
outline: none;
@@ -12303,14 +12300,6 @@ div.parent_graph > p.legend_background > table > tbody > tr {
margin: 0px !important;
}
-form.max_floating_element_size > ul#ul_tree_azure {
- background-color: #fff;
- border-spacing: 0px;
- border-radius: 6px;
- margin-bottom: 20px;
- border: 1px solid #e2e2e2;
-}
-
#grid_img {
position: absolute;
margin-top: -2px;
@@ -12345,3 +12334,7 @@ tr[id^="network_component-plugin-wmi-fields-dynamicMacroRow-"] input,
tr[id^="network_component-plugin-snmp-fields-dynamicMacroRow-"] input {
width: 100% !important;
}
+
+.label_agent_service > label {
+ margin-top: 15px;
+}