diff --git a/pandora_console/godmode/reporting/cluster_builder.main.php b/pandora_console/godmode/reporting/cluster_builder.main.php index c96c852353..a5e2aec8ce 100644 --- a/pandora_console/godmode/reporting/cluster_builder.main.php +++ b/pandora_console/godmode/reporting/cluster_builder.main.php @@ -32,10 +32,10 @@ else echo '
  • '; if ($step > 1 && !$update) { - echo ''; + echo __('Step') . ' 1 » '; echo '' . __('Cluster settings') . ''; - echo ''; + } elseif ($update) { echo ''; @@ -481,7 +481,17 @@ elseif ($step == 4) { echo "".$value.""; echo "   % are down"; echo "   % are down"; - echo ""; + echo ""; + + if(!$update){ + echo ""; + } + else{ + echo ""; + } + + + echo ""; echo ""; } @@ -653,7 +663,14 @@ elseif ($step == 6) { echo ""; } - echo ""; + if(!$update){ + echo ""; + } + else{ + echo ""; + } + + echo ""; } diff --git a/pandora_console/godmode/reporting/cluster_builder.php b/pandora_console/godmode/reporting/cluster_builder.php index 4d632377f5..bd369ebd2c 100644 --- a/pandora_console/godmode/reporting/cluster_builder.php +++ b/pandora_console/godmode/reporting/cluster_builder.php @@ -540,7 +540,14 @@ elseif ($step == 3) { $delete_item = db_process_sql('delete from tcluster_item where id = '.$delete_module_aa); - header ("Location: index.php?sec=reporting&sec2=godmode/reporting/cluster_builder&step=4&id_cluster=".$id_cluster); + if(!$update){ + header ("Location: index.php?sec=reporting&sec2=godmode/reporting/cluster_builder&step=4&id_cluster=".$id_cluster); + } + else{ + header ("Location: index.php?sec=reporting&sec2=godmode/reporting/cluster_builder&step=4&id_cluster=".$id_cluster."&update=1"); + } + + } elseif($delete_module_ap){ @@ -550,7 +557,13 @@ elseif ($step == 3) { $delete_item = db_process_sql('delete from tcluster_item where id = '.$delete_module_ap); - header ("Location: index.php?sec=reporting&sec2=godmode/reporting/cluster_builder&step=6&id_cluster=".$id_cluster); + if(!$update){ + header ("Location: index.php?sec=reporting&sec2=godmode/reporting/cluster_builder&step=6&id_cluster=".$id_cluster); + } + else{ + header ("Location: index.php?sec=reporting&sec2=godmode/reporting/cluster_builder&step=6&id_cluster=".$id_cluster."&update=1"); + } + } $active_tab = get_parameter('tab', 'main'); diff --git a/pandora_console/godmode/reporting/cluster_list.php b/pandora_console/godmode/reporting/cluster_list.php index 11512597ff..90bf826f9e 100644 --- a/pandora_console/godmode/reporting/cluster_list.php +++ b/pandora_console/godmode/reporting/cluster_list.php @@ -51,16 +51,16 @@ ui_pagination (count($clusters)); $table->head[4] = __('Nodes') . ' ' . - '' . html_print_image("images/sort_up.png", true, array("style" => $selectNameUp, "alt" => "up")) . '' . - '' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown, "alt" => "down")) . ''; + '' . html_print_image("images/sort_up.png", true, array("style" => $selectNameUp, "alt" => "up")) . '' . + '' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown, "alt" => "down")) . ''; $table->head[5] = __('Status') . ' ' . - '' . html_print_image("images/sort_up.png", true, array("style" => $selectNameUp, "alt" => "up")) . '' . - '' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown, "alt" => "down")) . ''; + '' . html_print_image("images/sort_up.png", true, array("style" => $selectNameUp, "alt" => "up")) . '' . + '' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown, "alt" => "down")) . ''; $table->head[6] = __('Actions') . ' ' . '' . html_print_image("images/sort_up.png", true, array("style" => $selectNameUp, "alt" => "up")) . '' . - '' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown, "alt" => "down")) . ''; + '' . html_print_image("images/sort_down.png", true, array("style" => $selectNameDown, "alt" => "down")) . ''; $table->size[0] = '25%'; $table->size[1] = '25%'; diff --git a/pandora_console/godmode/reporting/cluster_view.php b/pandora_console/godmode/reporting/cluster_view.php index 8db5783fb3..bb7aa81931 100644 --- a/pandora_console/godmode/reporting/cluster_view.php +++ b/pandora_console/godmode/reporting/cluster_view.php @@ -402,9 +402,18 @@ function pagination_list_modules() { $("#module_list").empty(); $("#module_list").html(data); + + //hide filters + $('.forced_title[alt=Force]').css('display','none'); + $('.header a').css('display','none'); + + //hide filters + } }); + + } $("a.tag_details").cluetip ({