started to cleanup the html

This commit is contained in:
Peter Hedenskog 2012-08-08 06:43:23 +02:00
parent efdcd177fc
commit 210c886c83
5 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
</div> </div> <!-- /well -->
<hr/> <hr/>
<footer> <footer>
@ -11,6 +11,8 @@
</p> </p>
</footer> </footer>
</div> <!-- /span12 -->
</div> <!-- /row -->
</div> <!-- /container --> </div> <!-- /container -->
<script src="js/jquery-1.7.2.min.js"></script> <script src="js/jquery-1.7.2.min.js"></script>

View File

@ -2,7 +2,6 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$document.getRootElement().getAttribute("host").getValue()</title> <title>$document.getRootElement().getAttribute("host").getValue()</title>
<meta name="description" content="$pageDescription"> <meta name="description" content="$pageDescription">
<link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/bootstrap.min.css">
@ -23,11 +22,10 @@
text-align: center; text-align: center;
} }
@media (max-width: 979px) { .large {
body { font-size: 32px;
padding-top: 0px; line-height: 38px;
} }
}
</style> </style>
@ -55,4 +53,6 @@
</div> </div>
<div class="container"> <div class="container">
<div class="row">
<div class="span12">
<div class="well"> <div class="well">

View File

@ -2,7 +2,7 @@
#parse("report/velocity/header.vm") #parse("report/velocity/header.vm")
<h2>Page <a href="$document.getRootElement().getChild("u").getValue()" target="_blank">$document.getRootElement().getChild("u").getValue()</a> </h2> <h2>Page <a href="$document.getRootElement().getChild("u").getValue()" target="_blank">$document.getRootElement().getChild("u").getValue()</a> </h2>
<div>
<h3>Yslow scores below 100</h3> <h3>Yslow scores below 100</h3>
<table class="table table-condensed table-striped table-bordered" > <table class="table table-condensed table-striped table-bordered" >
@ -106,7 +106,7 @@
</tbody> </tbody>
</table> </table>
</div>
#parse("report/velocity/footer.vm") #parse("report/velocity/footer.vm")

View File

@ -2,7 +2,7 @@
#parse("report/velocity/header.vm") #parse("report/velocity/header.vm")
<h2>Pages ($document.getRootElement().getChildren().size()) - $document.getRootElement().getAttribute("url").getValue()</h2> <h2>Pages ($document.getRootElement().getChildren().size()) - $document.getRootElement().getAttribute("url").getValue()</h2>
<div>
<table class="table table-condensed table-striped table-bordered" id="pagesTable" > <table class="table table-condensed table-striped table-bordered" id="pagesTable" >
<thead> <thead>
<tr> <tr>
@ -138,7 +138,6 @@
#end #end
</tbody> </tbody>
</table> </table>
</div>
#parse("report/velocity/footer.vm") #parse("report/velocity/footer.vm")

View File

@ -1,9 +1,9 @@
#parse("report/velocity/header.vm") #parse("report/velocity/header.vm")
<div>
<h2>Executive summary for $document.getRootElement().getAttribute("url").getValue() </h2> <h2>Executive summary for $document.getRootElement().getAttribute("url").getValue() </h2>
<p>
#set($nrOfPages = $document.getRootElement().getChildren().size()) #set($nrOfPages = $document.getRootElement().getChildren().size())
$nrOfPages pages has been analyzed $nrOfPages pages has been analyzed
@ -57,24 +57,23 @@
#end #end
#end #end
</p>
#if ($totalScore>90) #if ($totalScore>90)
#set ($scoreType = "success") #set ($scoreType = "success")
#set ($scoreMessage = "Executive summary: Your site has good WPO") #set ($scoreMessage = "Executive summary: Your site has good WPO <p class='large'>$totalScore</p>")
#elseif ($totalScore>80) #elseif ($totalScore>80)
#set ($scoreType = "warning") #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 <p class='large'>$totalScore</p>")
#else #else
#set ($scoreType = "error") #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 <p class='large'>$totalScore</p>")
#end #end
<div class="alert alert-$scoreType"> <div class="alert alert-$scoreType">
$scoreMessage $scoreMessage
</div> </div>
<table class="table table-condensed table-striped table-bordered" id="pagesTable" > <table class="table table-condensed table-striped table-bordered" id="pagesTable" >
<thead> <thead>
<tr> <tr>
@ -134,7 +133,7 @@
</tbody> </tbody>
</table> </table>
</div>
#parse("report/velocity/footer.vm") #parse("report/velocity/footer.vm")