added configurable path to assets
This commit is contained in:
parent
67c4547c90
commit
81395fcaad
|
|
@ -1,3 +1,4 @@
|
|||
pageDescription=All data for one page.
|
||||
pageMenu=page
|
||||
pageTitle=Page data
|
||||
pageTitle=Page data
|
||||
pathToIncludes=../
|
||||
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
</div> <!-- /container -->
|
||||
|
||||
<script src="js/jquery-1.7.2.min.js"></script>
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/jquery.tablesorter.min.js"></script>
|
||||
<script src="$!{pathToIncludes}js/jquery-1.7.2.min.js"></script>
|
||||
<script src="$!{pathToIncludes}js/bootstrap.min.js"></script>
|
||||
<script src="$!{pathToIncludes}js/jquery.tablesorter.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function()
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
$pageTitle
|
||||
</title>
|
||||
<meta name="description" content="$pageDescription">
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="$!{pathToIncludes}css/bootstrap.min.css">
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
|
|
@ -49,8 +49,8 @@
|
|||
<a class="brand" href="http://sitespeed.io" title="How speedy is your site?">sitespeed.io</a>
|
||||
<div class="nav-collapse">
|
||||
<ul class="nav">
|
||||
<li #if( $pageMenu == "summary" ) class="active" #end><a href="index.html">Summary</a></li>
|
||||
<li #if( $pageMenu == "pages" ) class="active" #end><a href="pages.html">All pages</a></li>
|
||||
<li #if( $pageMenu == "summary" ) class="active" #end><a href="$!{pathToIncludes}index.html">Summary</a></li>
|
||||
<li #if( $pageMenu == "pages" ) class="active" #end><a href="$!{pathToIncludes}pages.html">All pages</a></li>
|
||||
#if( $pageMenu == "page" )
|
||||
<li class="active"><a href="#">Page</a></li>
|
||||
#end
|
||||
|
|
|
|||
|
|
@ -85,8 +85,8 @@
|
|||
#set($file = $results.getAttribute("filename").getValue())
|
||||
#set($file = $file.concat(".html"))
|
||||
|
||||
<a href="$file" title="See all page data ">$results.getChild("u").getValue()</a>
|
||||
<a rel="tooltip" data-placement="right" data-html="true" href="$file" data-original-title="Response headers: <br/>
|
||||
<a href="pages/$file" title="See all page data ">$results.getChild("u").getValue()</a>
|
||||
<a rel="tooltip" data-placement="right" data-html="true" href="pages/$file" data-original-title="Response headers: <br/>
|
||||
#foreach ($response in $results.getChild("comps").getChild("item").getChild("headers").getChild("response").getChildren())
|
||||
$esc.html($response.getName()) : $esc.html($response.getValue()) <br/>
|
||||
#end
|
||||
|
|
|
|||
Loading…
Reference in New Issue