started to cleanup the html
This commit is contained in:
parent
efdcd177fc
commit
210c886c83
|
|
@ -1,4 +1,4 @@
|
|||
</div>
|
||||
</div> <!-- /well -->
|
||||
<hr/>
|
||||
|
||||
<footer>
|
||||
|
|
@ -11,6 +11,8 @@
|
|||
</p>
|
||||
</footer>
|
||||
|
||||
</div> <!-- /span12 -->
|
||||
</div> <!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
|
||||
<script src="js/jquery-1.7.2.min.js"></script>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>$document.getRootElement().getAttribute("host").getValue()</title>
|
||||
<meta name="description" content="$pageDescription">
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
|
|
@ -23,11 +22,10 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 979px) {
|
||||
body {
|
||||
padding-top: 0px;
|
||||
.large {
|
||||
font-size: 32px;
|
||||
line-height: 38px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
|
@ -55,4 +53,6 @@
|
|||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span12">
|
||||
<div class="well">
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#parse("report/velocity/header.vm")
|
||||
|
||||
<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>
|
||||
<table class="table table-condensed table-striped table-bordered" >
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
#parse("report/velocity/footer.vm")
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#parse("report/velocity/header.vm")
|
||||
|
||||
<h2>Pages ($document.getRootElement().getChildren().size()) - $document.getRootElement().getAttribute("url").getValue()</h2>
|
||||
<div>
|
||||
|
||||
<table class="table table-condensed table-striped table-bordered" id="pagesTable" >
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -138,7 +138,6 @@
|
|||
#end
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
#parse("report/velocity/footer.vm")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
|
||||
#parse("report/velocity/header.vm")
|
||||
<div>
|
||||
|
||||
<h2>Executive summary for $document.getRootElement().getAttribute("url").getValue() </h2>
|
||||
|
||||
<p>
|
||||
|
||||
#set($nrOfPages = $document.getRootElement().getChildren().size())
|
||||
$nrOfPages pages has been analyzed
|
||||
|
||||
|
|
@ -57,24 +57,23 @@
|
|||
#end
|
||||
|
||||
#end
|
||||
</p>
|
||||
|
||||
|
||||
#if ($totalScore>90)
|
||||
#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)
|
||||
#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
|
||||
#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
|
||||
|
||||
<div class="alert alert-$scoreType">
|
||||
$scoreMessage
|
||||
</div>
|
||||
|
||||
|
||||
<table class="table table-condensed table-striped table-bordered" id="pagesTable" >
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -134,7 +133,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
#parse("report/velocity/footer.vm")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue