From 48be85fac4ea77b7c1086c85447a8c647faa578d Mon Sep 17 00:00:00 2001 From: esanchezm Date: Thu, 3 Jul 2008 11:47:53 +0000 Subject: [PATCH] 2008-07-02 Esteban Sanchez * godmode/reporting/reporting_builder.php: Removed extra "#" in javascript. * godmode/reporting/map_builder.php: Changes to try working in Internet Explorer (not completed yet, it's really hard). * include/functions_db.php: Changed sever_status() It won't longer return all the modules in pandora, since it's not need in this function, also replaced a strange SQL which was using MAX() with a more logical DISTINCT(). Style correction. * include/styles/pandora.css: Removed #main width, so it's as wider as the parent. Fixed menu_tab_fram and menu_tab_frame_view divs to the new template, aligned to the right. Tab and blankspaces correction. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 15 + .../godmode/reporting/map_builder.php | 6 +- .../godmode/reporting/reporting_builder.php | 4 +- pandora_console/include/functions_db.php | 69 ++- pandora_console/include/styles/pandora.css | 29 +- .../operation/agentes/tactical.php | 471 +++++++++--------- .../operation/servers/view_server.php | 246 ++++----- 7 files changed, 399 insertions(+), 441 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c8160f7583..cb202d194c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,4 +1,19 @@ +2008-07-02 Esteban Sanchez + * godmode/reporting/reporting_builder.php: Removed extra "#" in + javascript. + + * godmode/reporting/map_builder.php: Changes to try working in + Internet Explorer (not completed yet, it's really hard). + + * include/functions_db.php: Changed sever_status() It won't longer + return all the modules in pandora, since it's not need in this + function, also replaced a strange SQL which was using MAX() with a more + logical DISTINCT(). Style correction. + + * include/styles/pandora.css: Removed #main width, so it's as wider as + the parent. Fixed menu_tab_fram and menu_tab_frame_view divs to the + new template, aligned to the right. Tab and blankspaces correction. 2008-07-01 Sancho Lerena diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 9bd906b239..b3109f7637 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -444,7 +444,7 @@ function agent_changed (event, id_agent, selected) { id_agent = this.value; $('#form_layout_data_editor #module').attr ('disabled', 1); $('#form_layout_data_editor #module').empty (); - $('#form_layout_data_editor #module').append ($('').attr ('value', 0).text ("...")); + $('#form_layout_data_editor #module').append (new Option ("...", 0)); jQuery.post ('ajax.php', {page: "operation/agentes/ver_agente", get_agent_modules_json: 1, @@ -452,14 +452,14 @@ function agent_changed (event, id_agent, selected) { }, function (data) { $('#form_layout_data_editor #module').empty (); - $('#form_layout_data_editor #module').append ($('').attr ('value', 0).text ("--")); + $('#form_layout_data_editor #module').append (new Option ("--", 0)); jQuery.each (data, function (i, val) { if (val['descripcion'] == "") { s = html_entity_decode (val['nombre']); } else { s = html_entity_decode (val['descripcion']); } - $('#form_layout_data_editor #module').append ($('').attr ('value', val['id_agente_modulo']).text (s)); + $('#form_layout_data_editor #module').append (new Option (s, val['id_agente_modulo'])); $('#form_layout_data_editor #module').fadeIn ('normal'); }); if (selected != undefined) diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index 3a4222d3ff..1366d7084a 100644 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -525,8 +525,8 @@ if ($edit_sla_report_content) {