From 77e9eaba00ef1436be961ee9ccbff48764e524ca Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Wed, 10 Aug 2022 14:03:48 +0200 Subject: [PATCH] Add highlighted rows to RenderAllUiBlocks --- .../Backoffice/RenderAllUiBlocks.php | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/test/VisualTest/Backoffice/RenderAllUiBlocks.php b/test/VisualTest/Backoffice/RenderAllUiBlocks.php index 2e1f74495..b841a153b 100644 --- a/test/VisualTest/Backoffice/RenderAllUiBlocks.php +++ b/test/VisualTest/Backoffice/RenderAllUiBlocks.php @@ -402,11 +402,29 @@ $oPage->AddUiBlock(DataTableUIBlockFactory::MakeForStaticData('Static datatable' array( array( 'a' => 'A1', 'b' => 'B1', 'c' => 'C1', 'd' => 'D1' -),array( + ), array( 'a' => 'A2', 'b' => 'B2', 'c' => 'C2', 'd' => 'D2' -), - array( - 'a' => 'A3', 'b' => 'B3', 'c' => 'C3', 'd' => 'D3' - )))); + ), array( + 'a' => 'A3', 'b' => 'B3', 'c' => 'C3', 'd' => 'D3' + ), array( + 'a' => 'A4', 'b' => 'B4', 'c' => 'C4', 'd' => 'D4' + ),array( + '@class' => 'ibo-is-red','a' => 'A5', 'b' => 'B5', 'c' => 'C5', 'd' => 'D5' + ),array( + '@class' => 'ibo-is-danger','a' => 'A6', 'b' => 'B6', 'c' => 'C6', 'd' => 'D6' + ),array( + '@class' => 'ibo-is-orange','a' => 'A7', 'b' => 'B7', 'c' => 'C7', 'd' => 'D7' + ),array( + '@class' => 'ibo-is-warning','a' => 'A8', 'b' => 'B8', 'c' => 'C8', 'd' => 'D8' + ),array( + '@class' => 'ibo-is-blue','a' => 'A9', 'b' => 'B9', 'c' => 'C9', 'd' => 'D9' + ),array( + '@class' => 'ibo-is-info','a' => 'A10', 'b' => 'B10', 'c' => 'C10', 'd' => 'D10' + ),array( + '@class' => 'ibo-is-green','a' => 'A11', 'b' => 'B11', 'c' => 'C11', 'd' => 'D11' + ),array( + '@class' => 'ibo-is-success','a' => 'A12', 'b' => 'B12', 'c' => 'C12', 'd' => 'D12' + ), +))); $oPage->output();