From 210c886c83c187813087c8047df18e88ca57efea Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Wed, 8 Aug 2012 06:43:23 +0200 Subject: [PATCH] started to cleanup the html --- report/velocity/footer.vm | 4 +++- report/velocity/header.vm | 10 +++++----- report/velocity/page.vm | 4 ++-- report/velocity/pages.vm | 3 +-- report/velocity/summary.vm | 15 +++++++-------- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/report/velocity/footer.vm b/report/velocity/footer.vm index 1cb263c80..61c656b86 100644 --- a/report/velocity/footer.vm +++ b/report/velocity/footer.vm @@ -1,4 +1,4 @@ - +
+ + diff --git a/report/velocity/header.vm b/report/velocity/header.vm index 7178f661e..ed150d8be 100644 --- a/report/velocity/header.vm +++ b/report/velocity/header.vm @@ -2,7 +2,6 @@ - $document.getRootElement().getAttribute("host").getValue() @@ -23,11 +22,10 @@ text-align: center; } -@media (max-width: 979px) { - body { - padding-top: 0px; + .large { + font-size: 32px; + line-height: 38px; } -} @@ -55,4 +53,6 @@
+
+
diff --git a/report/velocity/page.vm b/report/velocity/page.vm index d82a1e71d..1c65df149 100644 --- a/report/velocity/page.vm +++ b/report/velocity/page.vm @@ -2,7 +2,7 @@ #parse("report/velocity/header.vm")

Page $document.getRootElement().getChild("u").getValue()

-
+

Yslow scores below 100

@@ -106,7 +106,7 @@
-
+ #parse("report/velocity/footer.vm") diff --git a/report/velocity/pages.vm b/report/velocity/pages.vm index ee4c6c14b..5c1fba6fb 100644 --- a/report/velocity/pages.vm +++ b/report/velocity/pages.vm @@ -2,7 +2,7 @@ #parse("report/velocity/header.vm")

Pages ($document.getRootElement().getChildren().size()) - $document.getRootElement().getAttribute("url").getValue()

-
+ @@ -138,7 +138,6 @@ #end
-
#parse("report/velocity/footer.vm") diff --git a/report/velocity/summary.vm b/report/velocity/summary.vm index 3e6dc408a..a99dfd683 100644 --- a/report/velocity/summary.vm +++ b/report/velocity/summary.vm @@ -1,9 +1,9 @@ #parse("report/velocity/header.vm") -
+

Executive summary for $document.getRootElement().getAttribute("url").getValue()

-

+ #set($nrOfPages = $document.getRootElement().getChildren().size()) $nrOfPages pages has been analyzed @@ -57,24 +57,23 @@ #end #end -

+ #if ($totalScore>90) #set ($scoreType = "success") - #set ($scoreMessage = "Executive summary: Your site has good WPO") + #set ($scoreMessage = "Executive summary: Your site has good WPO

$totalScore

") #elseif ($totalScore>80) #set ($scoreType = "warning") - #set ($scoreMessage = "Executive summary: You need to lock into your site performance") + #set ($scoreMessage = "Executive summary: You need to lock into your site performance

$totalScore

") #else #set ($scoreType = "error") - #set ($scoreMessage = "Executive summary: You need to improve perfomance for your site") + #set ($scoreMessage = "Executive summary: You need to improve perfomance for your site

$totalScore

") #end
$scoreMessage
- @@ -134,7 +133,7 @@
-
+ #parse("report/velocity/footer.vm")