From 468149b404d662b01f29c89acd42c00b52a9afe4 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 30 Jun 2020 01:37:21 +0530 Subject: [PATCH] 4.5.0 - template changes --- .../views/pagespeed/findpagespeedinfo.ctp.php | 48 ++++--------- .../views/pagespeed/pagespeedreport.ctp.php | 70 +++++-------------- themes/simple/views/report/archive.ctp.php | 5 +- 3 files changed, 34 insertions(+), 89 deletions(-) diff --git a/themes/simple/views/pagespeed/findpagespeedinfo.ctp.php b/themes/simple/views/pagespeed/findpagespeedinfo.ctp.php index e48ea83a..4aecc642 100644 --- a/themes/simple/views/pagespeed/findpagespeedinfo.ctp.php +++ b/themes/simple/views/pagespeed/findpagespeedinfo.ctp.php @@ -1,51 +1,31 @@ - +
- + - - + 0){ - $catCount = count($list); - $i = 0; - foreach($list as $url){ - - $class = ($i % 2) ? "blue_row" : "white_row"; - if($catCount == ($i + 1)){ - $leftBotClass = "tab_left_bot"; - $rightBotClass = "tab_right_bot"; - }else{ - $leftBotClass = "td_left_border td_br_right"; - $rightBotClass = "td_br_right"; - } - $tdWidth = "25%"; + foreach($list as $url) { $debugVar = !empty($_POST['debug']) ? "&debug=1" : ""; - $debugVar .= !empty($_POST['debug_format']) ? "&debug_format=" . $_POST['debug_format'] : "" ; + $debugVar .= !empty($_POST['debug_format']) ? "&debug_format=" . $_POST['debug_format'] : "" ; ?> - - - - - - + + + + - - - -
/ 100 / 100 / 100 - >> - +
/ 100 / 100 + + >> +
\ No newline at end of file diff --git a/themes/simple/views/pagespeed/pagespeedreport.ctp.php b/themes/simple/views/pagespeed/pagespeedreport.ctp.php index 01687c38..4e9b3968 100644 --- a/themes/simple/views/pagespeed/pagespeedreport.ctp.php +++ b/themes/simple/views/pagespeed/pagespeedreport.ctp.php @@ -1,4 +1,7 @@ - +
@@ -6,7 +9,10 @@