From 38849e6ed203c341b86693e2eecc1093fcc1355b Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Tue, 25 Apr 2023 14:36:30 +0200 Subject: [PATCH 1/3] 9555-Change media queries --- .../mobile/include/style/jquery.mobile-1.5.0-rc1.min.css | 6 +++--- pandora_console/mobile/include/style/main.css | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pandora_console/mobile/include/style/jquery.mobile-1.5.0-rc1.min.css b/pandora_console/mobile/include/style/jquery.mobile-1.5.0-rc1.min.css index 2775545860..30db635f98 100644 --- a/pandora_console/mobile/include/style/jquery.mobile-1.5.0-rc1.min.css +++ b/pandora_console/mobile/include/style/jquery.mobile-1.5.0-rc1.min.css @@ -2696,7 +2696,7 @@ li.ui-block-e { width: 100%; float: none; } -@media (max-width: 35em) { +@media (max-width: 480px) { .ui-responsive > .ui-block-a, .ui-responsive > .ui-block-b, .ui-responsive > .ui-block-c, @@ -4387,7 +4387,7 @@ html .ui-popup .ui-field-contain > label + .ui-flipswitch { font-weight: 400; } } -@media screen and (min-width: 35em), print { +@media screen and (min-width: 480px), print { .ui-table-reflow.ui-responsive td, .ui-table-reflow.ui-responsive th, .ui-table-reflow.ui-responsive tbody th, @@ -4401,7 +4401,7 @@ html .ui-popup .ui-field-contain > label + .ui-flipswitch { display: none; } } -@media screen and (max-width: 35em) { +@media screen and (max-width: 480px) { .ui-table-reflow.ui-responsive td, .ui-table-reflow.ui-responsive th { width: 100%; diff --git a/pandora_console/mobile/include/style/main.css b/pandora_console/mobile/include/style/main.css index d25a70eafa..70f782944b 100755 --- a/pandora_console/mobile/include/style/main.css +++ b/pandora_console/mobile/include/style/main.css @@ -3272,4 +3272,8 @@ table#list_servers tbody td span.data a { input[name="login_btn"] { line-height: 38px; } + + fieldset.databox.tactical_set table#table1 td img[src$="modules@svg.svg"] { + margin-left: 10px !important; + } } From d998610d661cb808fa414443b82be381942107a1 Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Tue, 25 Apr 2023 16:04:17 +0200 Subject: [PATCH 2/3] 9555-Services href --- pandora_console/mobile/operation/services.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/mobile/operation/services.php b/pandora_console/mobile/operation/services.php index fd1fba0dce..924f87a541 100644 --- a/pandora_console/mobile/operation/services.php +++ b/pandora_console/mobile/operation/services.php @@ -231,7 +231,7 @@ class Services $name .= ''.__('Nonexistent. This element should be deleted').''; } else { $url = ui_get_full_url('mobile/index.php?page=agent&id='.$item->agent()->id_agente()); - $name = ''; + $name = ''; if (((bool) $item->agent()->disabled()) === true) { $disabled_element = true; if (is_metaconsole() === true) { @@ -296,7 +296,7 @@ class Services ); } - $name = ''; + $name = ''; if (((bool) $item->service()->disabled()) === true) { $disabled_element = true; if (is_metaconsole() === true) { @@ -338,7 +338,7 @@ class Services $name .= ''.__('Nonexistent. This element should be deleted').''; } else { $url = ui_get_full_url('mobile/index.php?page=agent&id='.$item->agent()->id_agente()); - $name = ''; + $name = ''; if (((bool) $item->module()->disabled()) === true) { $disabled_element = true; From abf5e027c50fa280618305cde13382a5f1fada47 Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Tue, 25 Apr 2023 16:40:06 +0200 Subject: [PATCH 3/3] 9555-Subservice remove href --- pandora_console/mobile/operation/services.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/mobile/operation/services.php b/pandora_console/mobile/operation/services.php index 924f87a541..3819f6084d 100644 --- a/pandora_console/mobile/operation/services.php +++ b/pandora_console/mobile/operation/services.php @@ -296,7 +296,8 @@ class Services ); } - $name = ''; + // $name = ''; + $name = ''; if (((bool) $item->service()->disabled()) === true) { $disabled_element = true; if (is_metaconsole() === true) { @@ -313,8 +314,7 @@ class Services } $name .= $item->service()->name(); - $name .= ''; - + // $name .= ''; if (((bool) $item->service()->disabled()) === true) { $name .= ui_print_help_tip( __('This element does not affect service weigth because is disabled.'),