From 4414a09eb232131064bd3de6f67d6f0e9b32d438 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 20 Feb 2013 13:48:46 +0000 Subject: [PATCH] 2013-02-20 Sergio Martin * include/functions_html.php include/styles/pandora_minimal.css include/styles/menu.css include/styles/pandora.css operation/agentes/stat_win.php operation/events/events.build_table.php operation/events/events_list.php general/main_menu.php godmode/events/event_edit_filter.php: Remodelate the events form view. Pushing the graph in a hidden lateral tab and reordering all the form git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 14 + pandora_console/general/main_menu.php | 35 ++ .../godmode/events/event_edit_filter.php | 4 +- pandora_console/include/functions_html.php | 43 +- pandora_console/include/styles/menu.css | 13 + pandora_console/include/styles/pandora.css | 48 +++ .../include/styles/pandora_minimal.css | 37 -- .../operation/agentes/stat_win.php | 30 +- .../operation/events/events.build_table.php | 2 +- .../operation/events/events_list.php | 371 ++++++++---------- 10 files changed, 315 insertions(+), 282 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2478d72cff..4b54418dd5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,17 @@ +2013-02-20 Sergio Martin + + * include/functions_html.php + include/styles/pandora_minimal.css + include/styles/menu.css + include/styles/pandora.css + operation/agentes/stat_win.php + operation/events/events.build_table.php + operation/events/events_list.php + general/main_menu.php + godmode/events/event_edit_filter.php: Remodelate the + events form view. Pushing the graph in a hidden lateral + tab and reordering all the form + 2013-02-20 Miguel de Dios * godmode/servers/recon_script.php, godmode/servers/plugin.php, diff --git a/pandora_console/general/main_menu.php b/pandora_console/general/main_menu.php index b8e48cde85..649f6e77ae 100644 --- a/pandora_console/general/main_menu.php +++ b/pandora_console/general/main_menu.php @@ -20,6 +20,9 @@ if (! isset ($config["id_user"])) { exit (); } +// Menu container prepared to autohide menu +echo ''; //menu_container + ui_require_jquery_file ('cookie'); ?> \ No newline at end of file diff --git a/pandora_console/godmode/events/event_edit_filter.php b/pandora_console/godmode/events/event_edit_filter.php index 8a87a3a46f..564c50e3e6 100644 --- a/pandora_console/godmode/events/event_edit_filter.php +++ b/pandora_console/godmode/events/event_edit_filter.php @@ -77,9 +77,9 @@ else { $event_view_hr = ''; $id_user_ack = ''; $group_rep = ''; - $tag_with_json = json_encode(array()); + $tag_with_json = $tag_with_json_clean = json_encode(array()); $tag_with_base64 = base64_encode($tag_with_json); - $tag_without_json = json_encode(array()); + $tag_without_json = $tag_without_json_clean = json_encode(array()); $tag_without_base64 = base64_encode($tag_without_json); $filter_only_alert = ''; } diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index b00f949642..f277b8d773 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -125,6 +125,10 @@ function html_print_side_layer ($params) { 'height' => '97%', 'top_text' => '', 'bottom_text' => '', + 'top' => '0', + 'autotop' => '', + 'icon_width' => 50, + 'icon_height' => 50, 'icon_open' => $params['icon_closed'] ); @@ -138,18 +142,18 @@ function html_print_side_layer ($params) { switch($params['position']) { case 'left': - $round_class = 'menu_radius_right'; + $round_class = 'menu_sidebar_radius_right'; $body_float = 'left'; $button_float = 'right'; break; case 'right': - $round_class = 'menu_radius_left'; + $round_class = 'menu_sidebar_radius_left'; $body_float = 'right'; $button_float = 'left'; break; } - $out_html = '