diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 270fc41271..0ee8cc2bbb 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2014-05-20 Alejandro Gallardo + + * pandora_console/include/styles/pandora.css: Changed + the name of the class "transparent" for "alpha50". + + * pandora_console/godmode/agentes/module_manager_editor_common.php: + Changed the class "transparent" of the elements for the + class "alpha50". + 2014-05-20 Vanessa Gil * godmode/agentes/configurar_agente.php: Change double diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 54f46048bb..c78f4033c5 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -569,7 +569,7 @@ $table_relations->head[3] = __('Delete'); // Create an invisible row to use their html to add new rows $table_relations->data[-1][0] = ""; $table_relations->data[-1][1] = ""; -$table_relations->data[-1][2] = '' . html_print_image('images/lock.png', true) . ''; +$table_relations->data[-1][2] = '' . html_print_image('images/lock.png', true) . ''; $table_relations->data[-1][3] = '' . html_print_image('images/cross.png', true) . ''; $module_relations = modules_get_relations(array('id_module' => $id_agent_module)); @@ -600,7 +600,7 @@ foreach ($module_relations as $key => $module_relation) { $disabled_update_class = ""; } else { - $disabled_update_class = "transparent"; + $disabled_update_class = "alpha50"; } // Agent name @@ -827,7 +827,7 @@ function add_new_relation () { '' + agent_b_name + '' + '' + module_b_name + '' + '' + - '' + + '' + '' + '' + '' + @@ -857,11 +857,11 @@ function change_lock_relation (num_row, id_relation) { var row = $("#module_relations-" + num_row); var button = row.find("#disable_updates_button"); var oldSrc = button.find("img").prop("src"); - var isEnabled = button.hasClass('transparent'); + var isEnabled = button.hasClass('alpha50'); if (row.length > 0 && !button.hasClass('working')) { button.addClass('working'); - button.removeClass('transparent'); + button.removeClass('alpha50'); button.find("img").prop("src", 'images/spinner.gif'); $.ajax({ @@ -875,14 +875,14 @@ function change_lock_relation (num_row, id_relation) { }, success: function (data) { if (data === false) { - button.addClass('transparent'); + button.addClass('alpha50'); } button.removeClass('working'); button.find("img").prop("src", oldSrc); }, error: function (data) { if (isEnabled) { - button.addClass('transparent'); + button.addClass('alpha50'); } button.removeClass('working'); button.find("img").prop("src", oldSrc); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index a8b436919c..ba46a2e2b6 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -1241,7 +1241,7 @@ div.title_line { width: 762px; } -.transparent { +.alpha50 { filter:alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5;