annotate index.html @ 1386:345974f8794a

Bug #1510 Fixed.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 21 Dec 2015 11:53:05 +0000
parents
children 56ee920d5d85 24532dd76263
rev   line source
nickjillings@1386 1 <!DOCTYPE html>
nickjillings@1386 2 <html lang="en">
nickjillings@1386 3 <head>
nickjillings@1386 4 <meta charset="utf-8" />
nickjillings@1386 5
nickjillings@1386 6
nickjillings@1386 7 <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
nickjillings@1386 8 Remove this if you use the .htaccess -->
nickjillings@1386 9 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
nickjillings@1386 10
nickjillings@1386 11 <title>Web Audio Evaluation Tool</title>
nickjillings@1386 12 <meta name="description" content="" />
nickjillings@1386 13 <meta name="author" content="" />
nickjillings@1386 14
nickjillings@1386 15 <!-- Load up the default core JS and CSS files-->
nickjillings@1386 16 <link rel='stylesheet' type='text/css' href='core.css'>
nickjillings@1386 17 <!-- Use jQuery hosted from Google CDN -->
nickjillings@1386 18 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>-->
nickjillings@1386 19 <script src="jquery-2.1.4.js"></script>
nickjillings@1386 20 <script src='core.js'></script>
nickjillings@1386 21 <script src='loudness.js'></script>
nickjillings@1386 22 <script type="text/javascript">
nickjillings@1386 23 // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly
nickjillings@1386 24 if (window.location.search.length != 0)
nickjillings@1386 25 {
nickjillings@1386 26 var search = window.location.search.split('?')[1];
nickjillings@1386 27 // Now split the requests into pairs
nickjillings@1386 28 var searchQueries = search.split('&');
nickjillings@1386 29 for (var i in searchQueries)
nickjillings@1386 30 {
nickjillings@1386 31 // Split each request into
nickjillings@1386 32 searchQueries[i] = searchQueries[i].split('=');
nickjillings@1386 33 if (searchQueries[i][0] == "url")
nickjillings@1386 34 {
nickjillings@1386 35 url = searchQueries[i][1];
nickjillings@1386 36 }
nickjillings@1386 37 }
nickjillings@1386 38 loadProjectSpec(url);
nickjillings@1386 39 window.onbeforeunload = function() {
nickjillings@1386 40 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";
nickjillings@1386 41 };
nickjillings@1386 42 }
nickjillings@1386 43 </script>
nickjillings@1386 44 </head>
nickjillings@1386 45
nickjillings@1386 46 <body>
nickjillings@1386 47 <!-- Load up the default page interface allowing for project setting loads, even if hard-coded-->
nickjillings@1386 48 <!-- Actual test interface design should be contained in the .js for ease of dynamic content-->
nickjillings@1386 49 <div id='topLevelBody'>
nickjillings@1386 50 <h1>Web Audio Evaluation Tool</h1>
nickjillings@1386 51 <h2>Start menu </h2>
nickjillings@1386 52 <ul>
nickjillings@1386 53 <li><a href="index.html?url=example_eval/project.xml" target="_blank">APE interface test example</a></li>
nickjillings@1386 54 <li><a href="index.html?url=example_eval/mushra_example.xml" target="_blank">MUSHRA interface test example</a></li>
nickjillings@1386 55 <li><a href="test_create/test_create.html" target="_blank">Test creator</a></li>
nickjillings@1386 56 <li><a href="analyse.html" target="_blank">Analysis and diagnostics of results</a></li>
nickjillings@1386 57 </ul>
nickjillings@1386 58
nickjillings@1386 59 <br>
nickjillings@1386 60
nickjillings@1386 61 <ul>
nickjillings@1386 62 <li><a href="LICENSE.txt" target="_blank">License</a></li>
nickjillings@1386 63 <li><a href="CITING.txt" target="_blank">Citing</a></li>
nickjillings@1386 64 <li><a href="docs/Instructions/Instructions.pdf" target="_blank">Instructions</a></li>
nickjillings@1386 65 </ul>
nickjillings@1386 66
nickjillings@1386 67
nickjillings@1386 68 </div>
nickjillings@1386 69 </body>
nickjillings@1386 70 </html>