annotate index.html @ 1169:018539fa16c5

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