removed colors for rows and added badges for yslow scores

This commit is contained in:
Peter Hedenskog 2012-08-22 09:20:20 +02:00
parent c3c7e33d45
commit a22c2f8eff
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@
#foreach ($results in $document.getRootElement().getChildren())
#set($yslow = $results.getChild("o").getValue())
<tr class="#scoreType($math.toInteger($yslow))">
<tr>
<td>
#set($file = $results.getAttribute("filename").getValue())
#set($file = $file.concat(".html"))
@ -140,7 +140,7 @@
<td>$results.getChild("lt").getValue()</td>
<td>$results.getChild("o").getValue()</td>
<td><span class="badge badge-#scoreTypeBadge($math.toInteger($yslow))">$yslow</span></td>
<td>
<a href="http://www.webpagetest.org/?url=$results.getChild("u").getValue()" target="_blank" title="Check this page on webpagetest.org"> <i class="icon-time"></i>
</a>