From d6a1155dbb414d2a63349dc2e63f5b0e200fac1a Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 31 Mar 2023 08:45:54 +0200 Subject: [PATCH 1/6] fixed styles --- pandora_console/general/news_dialog.php | 31 +++++++++++++++---------- pandora_console/godmode/setup/news.php | 16 ++++++++++--- 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/pandora_console/general/news_dialog.php b/pandora_console/general/news_dialog.php index 82986e2c89..f44eb97faa 100644 --- a/pandora_console/general/news_dialog.php +++ b/pandora_console/general/news_dialog.php @@ -39,7 +39,6 @@ if (!empty($news)) { // Prints news dialog template echo ''; -ui_require_javascript_file('encode_decode_base64'); -?> + ui_require_javascript_file('encode_decode_base64'); + ?> + + + Dark / 20 / Menu Alerts@svg + Created with Sketch. + + + + \ No newline at end of file diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index af33fc2a9a..ac4458fe6a 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -11804,9 +11804,9 @@ span.help_icon_15px > img { /* ==== Spinner ==== */ .spinner-fixed { - position: fixed; - left: 50%; - bottom: 50%; + position: absolute; + left: 40%; + top: 40%; z-index: 1; width: 100px; height: 100px; From e8e7dcc5ecf14b471664e914be50b4b51f8885c3 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 31 Mar 2023 13:37:43 +0200 Subject: [PATCH 6/6] Actions select bulk operations view --- pandora_console/godmode/massive/massive_edit_agents.php | 4 ++-- pandora_console/godmode/massive/massive_edit_users.php | 1 + .../godmode/massive/massive_enable_disable_alerts.php | 2 ++ pandora_console/godmode/massive/massive_operations.php | 4 +++- .../godmode/massive/massive_standby_alerts.php | 2 ++ pandora_console/include/styles/pandora.css | 8 ++++++++ 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/massive/massive_edit_agents.php b/pandora_console/godmode/massive/massive_edit_agents.php index a6bb7a9322..41c8a9d816 100755 --- a/pandora_console/godmode/massive/massive_edit_agents.php +++ b/pandora_console/godmode/massive/massive_edit_agents.php @@ -1257,11 +1257,11 @@ echo ''; html_print_input_hidden('id_agente', $id_agente); +echo ''; attachActionButton('update_agents', 'update', $table->width, false, $SelectAction); +echo ''; // Shown and hide div. -echo ''; - ui_require_jquery_file('form'); ui_require_jquery_file('pandora.controls'); ui_require_jquery_file('ajaxqueue'); diff --git a/pandora_console/godmode/massive/massive_edit_users.php b/pandora_console/godmode/massive/massive_edit_users.php index 928b761694..46022c2833 100644 --- a/pandora_console/godmode/massive/massive_edit_users.php +++ b/pandora_console/godmode/massive/massive_edit_users.php @@ -555,6 +555,7 @@ echo sprintf( $status ); echo ''; +echo ''; attachActionButton('edit_users', 'update', '100%', false, $SelectAction); diff --git a/pandora_console/godmode/massive/massive_enable_disable_alerts.php b/pandora_console/godmode/massive/massive_enable_disable_alerts.php index 78d84d6b57..120fae61b2 100644 --- a/pandora_console/godmode/massive/massive_enable_disable_alerts.php +++ b/pandora_console/godmode/massive/massive_enable_disable_alerts.php @@ -249,6 +249,8 @@ $table->data[5][1] .= ''; html_print_table($table); +html_print_action_buttons('', ['right_content' => $SelectAction, 'class' => 'pdd_b_10px_important pdd_t_10px_important']); + echo ''; ui_require_jquery_file('form'); diff --git a/pandora_console/godmode/massive/massive_operations.php b/pandora_console/godmode/massive/massive_operations.php index fb2331a5dd..b4d4474c20 100755 --- a/pandora_console/godmode/massive/massive_operations.php +++ b/pandora_console/godmode/massive/massive_operations.php @@ -448,7 +448,9 @@ if ($option === 'edit_agents' || $option === 'edit_modules') { $tip = ui_print_help_tip(__('The blank fields will not be updated'), true); } -$SelectAction = '
'; +global $SelectAction; + +$SelectAction = ''; $SelectAction .= ''._('Action').''; $SelectAction .= html_print_select( $options, diff --git a/pandora_console/godmode/massive/massive_standby_alerts.php b/pandora_console/godmode/massive/massive_standby_alerts.php index 704f17bfc8..9de731f40e 100644 --- a/pandora_console/godmode/massive/massive_standby_alerts.php +++ b/pandora_console/godmode/massive/massive_standby_alerts.php @@ -277,6 +277,8 @@ $table->data[5][1] .= '
'; html_print_table($table); +html_print_action_buttons('', ['right_content' => $SelectAction, 'class' => 'pdd_b_10px_important pdd_t_10px_important']); + echo ''; ui_require_jquery_file('form'); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 508daaca8a..4bad6cf027 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -7546,6 +7546,10 @@ div.graph div.legend table { padding-bottom: 10px; } +.pdd_b_10px_important { + padding-bottom: 10px !important; +} + .pdd_b_20px { padding-bottom: 20px; } @@ -7616,6 +7620,10 @@ div.graph div.legend table { padding-top: 10px; } +.pdd_t_10px_important { + padding-top: 10px !important; +} + .pdd_t_15px { padding-top: 15px; }