From 90d4cfa0db8f5c3453e81cd8fb43843c974243e4 Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Wed, 8 Jun 2022 13:24:27 +0200 Subject: [PATCH] #8252 Move up and down fields --- .../godmode/events/custom_events.php | 45 ++++++++++++++++--- pandora_console/include/styles/pandora.css | 5 +++ 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/pandora_console/godmode/events/custom_events.php b/pandora_console/godmode/events/custom_events.php index fb5dce8830..00e1cc9fb7 100644 --- a/pandora_console/godmode/events/custom_events.php +++ b/pandora_console/godmode/events/custom_events.php @@ -45,7 +45,7 @@ if ($default != 0) { 'token' => 'event_fields', 'value' => $event_fields, ]; - // update 'event_fields' in tconfig table to keep the value at update. + // Update 'event_fields' in tconfig table to keep the value at update. $result = db_process_sql_update( 'tconfig', $values, @@ -147,7 +147,7 @@ $table->data[1][1] .= '



'.html_print_image( $table->data[0][1] = ''; $table->data[0][2] = ''.__('Fields selected').''; -$table->data[1][2] = html_print_select( +$table->data[1][2] = '
'.html_print_select( $result_selected, 'fields_selected[]', true, @@ -162,6 +162,25 @@ $table->data[1][2] = html_print_select( 'width: 300px' ); +$table->data[1][2] .= '
'; + echo '
'; html_print_table($table); @@ -174,7 +193,7 @@ echo ''; diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 83f2a89ac2..59ce3d1005 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -7483,6 +7483,11 @@ div.graph div.legend table { align-items: center; } +.flex_justify { + display: flex; + justify-content: center; +} + .span_priority { width: 20px; height: 10px;