From 2ed6dbc1a4305113e35f835b7f2d5da5c1e47f3d Mon Sep 17 00:00:00 2001 From: ruthbri <52461960+ruthbri@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:20:45 -0300 Subject: [PATCH 01/11] WIP #53 --- views/templates/content_report.php | 2 +- views/templates/layout_report.php | 5 +++++ views/templates/summary_suite.php | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/views/templates/content_report.php b/views/templates/content_report.php index bffd9d5..67f66a9 100644 --- a/views/templates/content_report.php +++ b/views/templates/content_report.php @@ -85,7 +85,7 @@
-
+
diff --git a/views/templates/layout_report.php b/views/templates/layout_report.php index ea2e66a..6a246a6 100644 --- a/views/templates/layout_report.php +++ b/views/templates/layout_report.php @@ -175,6 +175,11 @@ function AllSuite(id_li , class_card) $('#cardSummaryTables').hide(); } } + + $(".card_fail_dashboard").on("click", function (e) + { + $(this).toggleClass('border-danger active_card_fail'); + }); \ No newline at end of file diff --git a/views/templates/summary_suite.php b/views/templates/summary_suite.php index a7a4005..72e8189 100644 --- a/views/templates/summary_suite.php +++ b/views/templates/summary_suite.php @@ -40,7 +40,7 @@
-
+
From dc13328b658f51ad688ffa2e1f53c2eecf5c55c0 Mon Sep 17 00:00:00 2001 From: ruthbri <52461960+ruthbri@users.noreply.github.com> Date: Wed, 24 Jul 2024 22:00:34 -0300 Subject: [PATCH 02/11] WIP #53 --- views/templates/layout_report.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/views/templates/layout_report.php b/views/templates/layout_report.php index 6a246a6..c2807a2 100644 --- a/views/templates/layout_report.php +++ b/views/templates/layout_report.php @@ -180,6 +180,16 @@ function AllSuite(id_li , class_card) { $(this).toggleClass('border-danger active_card_fail'); }); + + $('.nav-item a[style*="color:red"]').each(function(){ + let txt_test_fail = $(this).text(); + let txt_title = $('.card .card-header h6').text(); + + if (txt_test_fail = txt_title) + { + $('.card-header').addClass("fail_card"); + } + }); \ No newline at end of file From 1164bff14f8a31c7ffa0f8e068d4a342d2f700a4 Mon Sep 17 00:00:00 2001 From: ruthbri <52461960+ruthbri@users.noreply.github.com> Date: Thu, 25 Jul 2024 20:12:05 -0300 Subject: [PATCH 03/11] WIP #53 --- views/templates/body_report.php | 2 +- views/templates/layout_report.php | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/views/templates/body_report.php b/views/templates/body_report.php index dea4432..76033fc 100644 --- a/views/templates/body_report.php +++ b/views/templates/body_report.php @@ -1,5 +1,5 @@