Mercurial > hg > webaudioevaluationtool
diff index.html @ 444:9c9fd68693b1
Merge. Pull of revision info from dev_main.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Wed, 23 Dec 2015 14:36:00 +0000 |
parents | cb2132a83247 |
children | 9d73d9f6b03e |
line wrap: on
line diff
--- a/index.html Mon Dec 21 23:18:43 2015 +0000 +++ b/index.html Wed Dec 23 14:36:00 2015 +0000 @@ -18,25 +18,53 @@ <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>--> <script src="jquery-2.1.4.js"></script> <script src='core.js'></script> + <script src='loudness.js'></script> <script type="text/javascript"> - window.onbeforeunload = function() { - return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; - }; + // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly + if (window.location.search.length != 0) + { + var search = window.location.search.split('?')[1]; + // Now split the requests into pairs + var searchQueries = search.split('&'); + for (var i in searchQueries) + { + // Split each request into + searchQueries[i] = searchQueries[i].split('='); + if (searchQueries[i][0] == "url") + { + url = searchQueries[i][1]; + } + } + loadProjectSpec(url); + window.onbeforeunload = function() { + return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; + }; + } </script> - <!-- Uncomment the following script for automatic loading of projects --> - <script> - //url = '/pseudo.xml'; //Project XML document location - url = 'example_eval/project.xml'; - loadProjectSpec(url); - </script> - </head> <body> <!-- Load up the default page interface allowing for project setting loads, even if hard-coded--> <!-- Actual test interface design should be contained in the .js for ease of dynamic content--> <div id='topLevelBody'> - <p>HTML5 APE Tool</p> + <h1>Web Audio Evaluation Tool</h1> + <h2>Start menu </h2> + <ul> + <li><a href="index.html?url=example_eval/project.xml" target="_blank">APE interface test example</a></li> + <li><a href="index.html?url=example_eval/mushra_example.xml" target="_blank">MUSHRA interface test example</a></li> + <li><a href="test_create/test_create.html" target="_blank">Test creator</a></li> + <li><a href="analyse.html" target="_blank">Analysis and diagnostics of results</a></li> + </ul> + + <br> + + <ul> + <li><a href="LICENSE.txt" target="_blank">License</a></li> + <li><a href="CITING.txt" target="_blank">Citing</a></li> + <li><a href="docs/Instructions/Instructions.pdf" target="_blank">Instructions</a></li> + </ul> + + </div> </body> </html>